Skip to content

Instantly share code, notes, and snippets.

@benesch
Created October 18, 2017 20:31
Show Gist options
  • Select an option

  • Save benesch/923ef851a8be44c4f7d8beeb6a9060b4 to your computer and use it in GitHub Desktop.

Select an option

Save benesch/923ef851a8be44c4f7d8beeb6a9060b4 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
agent@azure-agent-40102:~/work/.go/src/github.com/cockroachdb/cockroach$ cat artifacts/acceptance/acceptance.log
I171018 19:54:22.978996 1 rand.go:74 Random seed: 1424464214911443898
=== RUN TestUpreplicate_1To3Small
--- SKIP: TestUpreplicate_1To3Small (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestUpreplicate_1To3Small054698685
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestRebalance_3To5Small_WithSchemaChanges
--- SKIP: TestRebalance_3To5Small_WithSchemaChanges (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestRebalance_3To5Small_WithSchemaChanges999847160
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestRebalance_3To5Small
--- SKIP: TestRebalance_3To5Small (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestRebalance_3To5Small219508215
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestUpreplicate_1To3Medium
--- SKIP: TestUpreplicate_1To3Medium (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestUpreplicate_1To3Medium597139690
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestUpreplicate_1To6Medium
--- SKIP: TestUpreplicate_1To6Medium (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestUpreplicate_1To6Medium113893185
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestSteady_6Medium
--- SKIP: TestSteady_6Medium (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestSteady_6Medium506188204
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestSteady_3Small
--- SKIP: TestSteady_3Small (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestSteady_3Small228376347
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestBuildInfo
=== RUN TestBuildInfo/runMode=local
CockroachDB node starting at 2017-10-18 19:54:24.323621893 +0000 UTC (took 1.3s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://127.0.0.1:38615
sql: postgresql://root@127.0.0.1:34590?application_name=cockroach&sslmode=disable
logs: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/1/logs
store[0]: path=/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/1
status: initialized new cluster
clusterID: e535589b-3846-49d0-9e90-11cbf4ea9ad1
nodeID: 1
CockroachDB node starting at 2017-10-18 19:54:25.107998383 +0000 UTC (took 0.5s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://127.0.0.1:33018
sql: postgresql://root@127.0.0.1:46667?application_name=cockroach&sslmode=disable
logs: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/2/logs
store[0]: path=/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/2
status: initialized new node, joined pre-existing cluster
clusterID: e535589b-3846-49d0-9e90-11cbf4ea9ad1
nodeID: 2
CockroachDB node starting at 2017-10-18 19:54:25.385775236 +0000 UTC (took 0.3s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://127.0.0.1:40516
sql: postgresql://root@127.0.0.1:34009?application_name=cockroach&sslmode=disable
logs: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/3/logs
store[0]: path=/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/3
status: initialized new node, joined pre-existing cluster
clusterID: e535589b-3846-49d0-9e90-11cbf4ea9ad1
nodeID: 3
CockroachDB node starting at 2017-10-18 19:54:25.669606209 +0000 UTC (took 0.3s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://127.0.0.1:47833
sql: postgresql://root@127.0.0.1:44222?application_name=cockroach&sslmode=disable
logs: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/4/logs
store[0]: path=/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/acceptance/.localcluster055040517/4
status: initialized new node, joined pre-existing cluster
clusterID: e535589b-3846-49d0-9e90-11cbf4ea9ad1
nodeID: 4
--- PASS: TestBuildInfo (8.62s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestBuildInfo230495166
test_log_scope.go:61: use -show-logs to present logs inline
--- PASS: TestBuildInfo/runMode=local (8.61s)
=== RUN TestDockerC
=== RUN TestDockerC/Success
=== RUN TestDockerC/Success/runMode=docker
Cluster successfully initialized
20171018-1158: Pulling from cockroachdb/postgres-test
5040bd298390: Already exists
fce5728aad85: Already exists
76610ec20bf5: Already exists
60170fec2151: Already exists
e98f73de8f0d: Already exists
11f7af24ed9c: Already exists
49e2d6393f32: Already exists
bb9cdec9c7f3: Already exists
d6981808c5b3: Pulling fs layer
ded58e0715fb: Pulling fs layer
dfc958674a80: Pulling fs layer
e2c803afdad9: Pulling fs layer
04ca6dd32bab: Pulling fs layer
63ee46bcccf3: Pulling fs layer
a6d2cae7b805: Pulling fs layer
96ce789361e1: Pulling fs layer
4203de76884f: Pulling fs layer
6f8aa6778aaf: Pulling fs layer
ca85509bef28: Pulling fs layer
515bfcec4701: Pulling fs layer
d236a5649189: Pulling fs layer
1b825886a5e8: Pulling fs layer
f7afa46172ba: Pulling fs layer
421cf107b2a4: Pulling fs layer
b3920672c8ca: Pulling fs layer
04ca6dd32bab: Waiting
63ee46bcccf3: Waiting
a6d2cae7b805: Waiting
96ce789361e1: Waiting
4203de76884f: Waiting
02c4a04685d4: Pulling fs layer
6f8aa6778aaf: Waiting
f31850d4d784: Pulling fs layer
ca85509bef28: Waiting
ff7b5feff5a8: Pulling fs layer
a2e6b65a80c3: Pulling fs layer
b3920672c8ca: Waiting
d236a5649189: Waiting
1b825886a5e8: Waiting
f7afa46172ba: Waiting
421cf107b2a4: Waiting
ff7b5feff5a8: Waiting
02c4a04685d4: Waiting
a2e6b65a80c3: Waiting
f31850d4d784: Waiting
515bfcec4701: Waiting
e2c803afdad9: Waiting
dfc958674a80: Verifying Checksum
dfc958674a80: Download complete
ded58e0715fb: Verifying Checksum
ded58e0715fb: Download complete
04ca6dd32bab: Verifying Checksum
04ca6dd32bab: Download complete
63ee46bcccf3: Verifying Checksum
63ee46bcccf3: Download complete
e2c803afdad9: Verifying Checksum
e2c803afdad9: Download complete
a6d2cae7b805: Verifying Checksum
a6d2cae7b805: Download complete
4203de76884f: Verifying Checksum
4203de76884f: Download complete
d6981808c5b3: Verifying Checksum
d6981808c5b3: Download complete
ca85509bef28: Verifying Checksum
ca85509bef28: Download complete
515bfcec4701: Verifying Checksum
515bfcec4701: Download complete
96ce789361e1: Verifying Checksum
96ce789361e1: Download complete
1b825886a5e8: Verifying Checksum
1b825886a5e8: Download complete
f7afa46172ba: Verifying Checksum
f7afa46172ba: Download complete
421cf107b2a4: Verifying Checksum
421cf107b2a4: Download complete
b3920672c8ca: Verifying Checksum
b3920672c8ca: Download complete
d236a5649189: Verifying Checksum
d236a5649189: Download complete
02c4a04685d4: Verifying Checksum
02c4a04685d4: Download complete
f31850d4d784: Verifying Checksum
f31850d4d784: Download complete
a2e6b65a80c3: Verifying Checksum
a2e6b65a80c3: Download complete
d6981808c5b3: Pull complete
ded58e0715fb: Pull complete
dfc958674a80: Pull complete
ff7b5feff5a8: Verifying Checksum
ff7b5feff5a8: Download complete
e2c803afdad9: Pull complete
04ca6dd32bab: Pull complete
63ee46bcccf3: Pull complete
6f8aa6778aaf: Verifying Checksum
6f8aa6778aaf: Download complete
a6d2cae7b805: Pull complete
96ce789361e1: Pull complete
4203de76884f: Pull complete
6f8aa6778aaf: Pull complete
ca85509bef28: Pull complete
515bfcec4701: Pull complete
d236a5649189: Pull complete
1b825886a5e8: Pull complete
f7afa46172ba: Pull complete
421cf107b2a4: Pull complete
b3920672c8ca: Pull complete
02c4a04685d4: Pull complete
f31850d4d784: Pull complete
ff7b5feff5a8: Pull complete
a2e6b65a80c3: Pull complete
Digest: sha256:6efbfb32a57758d7a9d756a0577a154c380fd69dfdc270befa64a73f3ed115c9
Status: Downloaded newer image for cockroachdb/postgres-test:20171018-1158
=== RUN TestDockerC/Fail
=== RUN TestDockerC/Fail/runMode=docker
Cluster successfully initialized
ERROR resultFormat=0 PQgetf(bool): Trying to get type 16 'pg_catalog.bool' but server returned 20 (position 1)
non-zero exit code: 1
--- PASS: TestDockerC (108.04s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestDockerC757106592
test_log_scope.go:61: use -show-logs to present logs inline
--- PASS: TestDockerC/Success (94.51s)
--- PASS: TestDockerC/Success/runMode=docker (94.51s)
--- PASS: TestDockerC/Fail (13.52s)
--- PASS: TestDockerC/Fail/runMode=docker (13.52s)
=== RUN TestDockerPGWireVersion
=== RUN TestDockerPGWireVersion/Success
=== RUN TestDockerPGWireVersion/Success/runMode=docker
Cluster successfully initialized
W171018 19:56:27.735792 35 vendor/google.golang.org/grpc/clientconn.go:1034 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: operation was canceled"; Reconnecting to {roach-0dfbaf51-0:26257 <nil>}
=== RUN TestDockerPGWireVersion/Fail
=== RUN TestDockerPGWireVersion/Fail/runMode=docker
Cluster successfully initialized
W171018 19:56:36.871270 36 vendor/google.golang.org/grpc/clientconn.go:1034 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: operation was canceled"; Reconnecting to {roach-cc4959c4-0:26257 <nil>}
crdb_version mismatch: 'CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)' doesn't start with '--NotValid--'
non-zero exit code: 1
--- PASS: TestDockerPGWireVersion (20.97s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestDockerPGWireVersion739073289
test_log_scope.go:61: use -show-logs to present logs inline
--- PASS: TestDockerPGWireVersion/Success (14.54s)
--- PASS: TestDockerPGWireVersion/Success/runMode=docker (14.54s)
--- PASS: TestDockerPGWireVersion/Fail (6.41s)
--- PASS: TestDockerPGWireVersion/Fail/runMode=docker (6.41s)
=== RUN TestDockerCLI
=== RUN TestDockerCLI/runMode=docker
File: ‘/cockroach/cockroach’
Size: 48008840 Blocks: 93768 IO Block: 4096 regular file
Device: 801h/2049d Inode: 166499 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1001/ UNKNOWN) Gid: ( 1001/ UNKNOWN)
Access: 2017-10-18 19:54:22.978196778 +0000
Modify: 2017-10-18 19:54:12.066159353 +0000
Change: 2017-10-18 19:54:12.110159504 +0000
Birth: -
=== RUN TestDockerCLI/test_client_side_checking.tcl
=== RUN TestDockerCLI/test_client_side_checking.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_client_side_checking.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_client_side_checking.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_client_side_checking.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:56:45.759148659 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:56:47.894144996 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /cockroach/cockroach sql
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {91}
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 8e8db650-d7dd-48c3-83bf-082c382e959c
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 8e8db650-d7dd-48c3-83bf-082c382e959c\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 8e8db650-d7dd-48c3-83bf-082c382e959c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 8e8db650-d7dd-48c3-83bf-082c382e959c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 8e8db650-d7dd-48c3-83bf-082c382e959c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
root@:26257/>
.171018 19:56:47.983629703 EXPECT TEST: START TEST: Check that syntax errors are handled client-side when running interactive.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that syntax errors are handled client-side when running interactive.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "begin;\r\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "BEGIN"? no
expect: does ":26257/> begin;\r\n" (spawn_id exp5) match glob pattern "BEGIN"? no
begin;
Now adding input for a multi-line SQL transaction client-side.
Press Enter two times to send the SQL text collected so far to the server, or Ctrl+C to cancel.
You can also use \show to display the statements entered so far.
expect: does ":26257/> begin;\r\nNow adding input for a multi-line SQL transaction client-side.\r\nPress Enter two times to send the SQL text collected so far to the server, or Ctrl+C to cancel.\r\nYou can also use \show to display the statements entered so far.\r\n -> " (spawn_id exp5) match glob pattern "BEGIN"? no
->
expect: does ":26257/> begin;\r\nNow adding input for a multi-line SQL transaction client-side.\r\nPress Enter two times to send the SQL text collected so far to the server, or Ctrl+C to cancel.\r\nYou can also use \show to display the statements entered so far.\r\n -> \r\n" (spawn_id exp5) match glob pattern "BEGIN"? no
BEGIN
Time: 230.2µs
expect: does ":26257/> begin;\r\nNow adding input for a multi-line SQL transaction client-side.\r\nPress Enter two times to send the SQL text collected so far to the server, or Ctrl+C to cancel.\r\nYou can also use \show to display the statements entered so far.\r\n -> \r\nBEGIN\r\n\r\nTime: 230.2\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "BEGIN"? yes
expect: set expect_out(0,string) "BEGIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> begin;\r\nNow adding input for a multi-line SQL transaction client-side.\r\nPress Enter two times to send the SQL text collected so far to the server, or Ctrl+C to cancel.\r\nYou can also use \show to display the statements entered so far.\r\n -> \r\nBEGIN"
expect: does "\r\n\r\nTime: 230.2\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\nTime: 230.2\u00b5s\r\n\r\nroot@:26257/ OPEN> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime: 230.2\u00b5s\r\n\r\nroot@"
send: sending "select 3+;\r" to { exp5 }
expect: does ":26257/ OPEN> " (spawn_id exp5) match glob pattern "statement ignored"? no
root@:26257/ OPEN> select 3+;
expect: does ":26257/ OPEN> select 3+;\r\n" (spawn_id exp5) match glob pattern "statement ignored"? no
expect: does ":26257/ OPEN> select 3+;\r\ninvalid syntax: statement ignored: syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "statement ignored"? yes
expect: set expect_out(0,string) "statement ignored"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/ OPEN> select 3+;\r\ninvalid syntax: statement ignored"
expect: does ": syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "root@"? no
invalid syntax: statement ignored: syntax error at or near ";"
DETAIL: source SQL:
select 3+;
^
HINT: try \h SELECT
expect: does ": syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\nroot@:26257/ OPEN> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ": syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\nroot@"
send: sending "select 1;\r" to { exp5 }
expect: does ":26257/ OPEN> " (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/ OPEN> s" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/ OPEN> select 1" (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/ OPEN> select 1;
expect: does ":26257/ OPEN> select 1;\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 |
+---+
expect: does ":26257/ OPEN> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 " (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/ OPEN> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 411.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
| 1 |
+---+
(1 row)
Time: 411.901µs
expect: set expect_out(buffer) ":26257/ OPEN> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 411.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 411.901\u00b5s\r\n\r\nroot@:26257/ OPEN> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 411.901\u00b5s\r\n\r\nroot@"
send: sending "commit;\r" to { exp5 }
expect: does ":26257/ OPEN> " (spawn_id exp5) match glob pattern "COMMIT"? no
root@:26257/ OPEN> commit;
expect: does ":26257/ OPEN> commit;\r\n" (spawn_id exp5) match glob pattern "COMMIT"? no
expect: does ":26257/ OPEN> commit;\r\nCOMMIT\r\n\r\nTime: 132.701\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "COMMIT"? yes
expect: set expect_out(0,string) "COMMIT"
COMMIT
Time: 132.701µs
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/ OPEN> commit;\r\nCOMMIT"
expect: does "\r\n\r\nTime: 132.701\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\nTime: 132.701\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime: 132.701\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:56:48.099985503 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:48.154537991 EXPECT TEST: START TEST: Check that the user can force server-side handling.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the user can force server-side handling.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\unset check_syntax\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "root@"? no
\unset check_syntax
expect: does ":26257/> \unset check_syntax\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \unset check_syntax\r\nroot@"
send: sending "begin;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "BEGIN"? no
root@:26257/> begin;
expect: does ":26257/> begin;\r\n" (spawn_id exp5) match glob pattern "BEGIN"? no
BEGIN
expect: does ":26257/> begin;\r\nBEGIN\r\n" (spawn_id exp5) match glob pattern "BEGIN"? yes
expect: set expect_out(0,string) "BEGIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> begin;\r\nBEGIN"
send: sending "select 3+;\r" to { exp5 }
expect: does "\r\n" (spawn_id exp5) match glob pattern "pq: syntax error"? no
Time: 241.1µs
select 3+;
expect: does "\r\n\r\nTime: 241.1\u00b5s\r\n\r\nselect 3+;\r\n" (spawn_id exp5) match glob pattern "pq: syntax error"? no
expect: does "\r\n\r\nTime: 241.1\u00b5s\r\n\r\nselect 3+;\r\nroot@:26257/ OPEN> selec" (spawn_id exp5) match glob pattern "pq: syntax error"? no
root@:26257/ OPEN> select 3+;
expect: does "\r\n\r\nTime: 241.1\u00b5s\r\n\r\nselect 3+;\r\nroot@:26257/ OPEN> select 3+;\r\n" (spawn_id exp5) match glob pattern "pq: syntax error"? no
pq: syntax error at or near ";"
DETAIL: source SQL:
select 3+;
^
HINT: try \h SELECT
expect: does "\r\n\r\nTime: 241.1\u00b5s\r\n\r\nselect 3+;\r\nroot@:26257/ OPEN> select 3+;\r\npq: syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "pq: syntax error"? yes
expect: set expect_out(0,string) "pq: syntax error"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime: 241.1\u00b5s\r\n\r\nselect 3+;\r\nroot@:26257/ OPEN> select 3+;\r\npq: syntax error"
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\nroot@:26257 ERROR> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at or near ";"\r\nDETAIL: source SQL:\r\nselect 3+;\r\n ^\r\nHINT: try \h SELECT\r\nroot@"
send: sending "select 1;\r" to { exp5 }
expect: does ":26257 ERROR> " (spawn_id exp5) match glob pattern "current transaction is aborted"? no
root@:26257 ERROR> select 1;
expect: does ":26257 ERROR> select 1;\r\n" (spawn_id exp5) match glob pattern "current transaction is aborted"? no
pq: current transaction is aborted, commands ignored until end of transaction block
expect: does ":26257 ERROR> select 1;\r\npq: current transaction is aborted, commands ignored until end of transaction block\r\n" (spawn_id exp5) match glob pattern "current transaction is aborted"? yes
expect: set expect_out(0,string) "current transaction is aborted"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257 ERROR> select 1;\r\npq: current transaction is aborted"
expect: does ", commands ignored until end of transaction block\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ", commands ignored until end of transaction block\r\nroot@:26257 ERROR> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ", commands ignored until end of transaction block\r\nroot@"
send: sending "commit;\r" to { exp5 }
expect: does ":26257 ERROR> " (spawn_id exp5) match glob pattern "ROLLBACK"? no
root@:26257 ERROR> commit;
expect: does ":26257 ERROR> commit;\r\n" (spawn_id exp5) match glob pattern "ROLLBACK"? no
ROLLBACK
Time: 132.2µs
expect: does ":26257 ERROR> commit;\r\nROLLBACK\r\n\r\nTime: 132.2\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "ROLLBACK"? yes
expect: set expect_out(0,string) "ROLLBACK"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257 ERROR> commit;\r\nROLLBACK"
expect: does "\r\n\r\nTime: 132.2\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime: 132.2\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:56:48.288316350 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
Error: interrupted
Failed running "sql"
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \r\nError: interrupted\r\nFailed running "sql"\r\n"
.171018 19:56:48.736014189 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:48.792258282 EXPECT TEST: START TEST: Check that syntax errors are handled server-side by default when running non-interactive.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that syntax errors are handled server-side by default when running non-interactive.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
PS1=':''/# '
spawn: returns {319}
send: sending "PS1=':''/# '\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\n" (spawn_id exp6) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@400342da9b4a:/# " (spawn_id exp6) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@400342da9b4a:/# "
send: sending "(echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') | /cockroach/cockroach sql\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "P" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1" (spawn_id exp6) match glob pattern "syntax error"? no
root@400342da9b4a:/# PS1=':''/# '
expect: does "PS1=" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1='" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/#" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\u" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\un" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\uns" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unse" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset er" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset err" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset erre" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errex" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexi" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit';" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'b" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'be" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'beg" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begi" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;';" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 's" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'se" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'sel" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'sele" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'selec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;';" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 's" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'se" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'sel" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'sele" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'selec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;')" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r|" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /c" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /co" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /coc" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cock" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockr" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockro" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroa" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroac" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/c" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/co" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/coc" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cock" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockr" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockro" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroa" (spawn_id exp6) match glob pattern "syntax error"? no
| /cockroach/cockroach sql; echo 'begin;'; echo 'select 1+;'; echo 'select 1;')
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroac" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach s" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sq" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql\r\n" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql\r\nBEGIN" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql\r\nBEGIN\r\n" (spawn_id exp6) match glob pattern "syntax error"? no
BEGIN
expect: does "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql\r\nBEGIN\r\npq: syntax error at or near ";"" (spawn_id exp6) match glob pattern "syntax error"? yes
expect: set expect_out(0,string) "syntax error"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# (echo '\unset errexit'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;') \r| /cockroach/cockroach sql\r\nBEGIN\r\npq: syntax error"
expect: does " at or near ";"" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
pq: syntax error at or near ";"
expect: does " at or near ";"\r\n" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
DETAIL: source SQL:
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\n" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
select 1+;
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
^
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\n" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
HINT: try \h SELECT
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp6) match glob pattern "current transaction is aborted"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\npq: current transaction is aborted, commands ignored until end of transaction block" (spawn_id exp6) match glob pattern "current transaction is aborted"? yes
expect: set expect_out(0,string) "current transaction is aborted"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\npq: current transaction is aborted"
expect: does ", commands ignored until end of transaction block" (spawn_id exp6) match glob pattern ":/# "? no
pq: current transaction is aborted, commands ignored until end of transaction block
expect: does ", commands ignored until end of transaction block\r\n" (spawn_id exp6) match glob pattern ":/# "? no
expect: does ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block" (spawn_id exp6) match glob pattern ":/# "? no
Error: pq: current transaction is aborted, commands ignored until end of transaction block
expect: does ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block\r\n" (spawn_id exp6) match glob pattern ":/# "? no
expect: does ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block\r\nFailed running "sql"" (spawn_id exp6) match glob pattern ":/# "? no
expect: does ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block\r\nFailed running "sql"\r\n" (spawn_id exp6) match glob pattern ":/# "? no
Failed running "sql"
expect: does ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block\r\nFailed running "sql"\r\n:/# " (spawn_id exp6) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ", commands ignored until end of transaction block\r\nError: pq: current transaction is aborted, commands ignored until end of transaction block\r\nFailed running "sql"\r\n:/# "
send: sending "echo $?\r" to { exp6 }
:/# echo $?
1
expect: does "" (spawn_id exp6) match glob pattern "1\r\n:/# "? no
expect: does "echo $?\r\n1\r\n:/# " (spawn_id exp6) match glob pattern "1\r\n:/# "? yes
expect: set expect_out(0,string) "1\r\n:/# "
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "echo $?\r\n1\r\n:/# "
send: sending "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'select 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begi" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 's" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'se" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'sel" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \r" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;';" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo '" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 's" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'se" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'sel" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'sele" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'selec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;';" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; e" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; ec" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; ech" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'c" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'com" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commi" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;'" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;')" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') |" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /c" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /co" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /coc" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cock" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockr" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockro" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroa" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroac" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/c" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/co" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/coc" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cock" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockr" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockro" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroa" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroac" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach " (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach s" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sq" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql" (spawn_id exp6) match glob pattern "syntax error"? no
t 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql echo 'selec
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql\r\n" (spawn_id exp6) match glob pattern "syntax error"? no
BEGIN
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql\r\nBEGIN\r\n" (spawn_id exp6) match glob pattern "syntax error"? no
expect: does "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql\r\nBEGIN\r\ninvalid syntax: statement ignored: syntax error at or near ";"\r\n" (spawn_id exp6) match glob pattern "syntax error"? yes
expect: set expect_out(0,string) "syntax error"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "(echo '\unset errexit'; echo '\set check_syntax'; echo 'begin;'; echo 'selec \rt 1+;'; echo 'select 1;'; echo 'commit;') | /cockroach/cockroach sql\r\nBEGIN\r\ninvalid syntax: statement ignored: syntax error"
invalid syntax: statement ignored: syntax error at or near ";"
expect: does " at or near ";"\r\n" (spawn_id exp6) match glob pattern "1 row"? no
DETAIL: source SQL:
select 1+;
^
HINT: try \h SELECT
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp6) match glob pattern "1 row"? no
1
1
# 1 row
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " at or near ";"\r\nDETAIL: source SQL:\r\nselect 1+;\r\n ^\r\nHINT: try \h SELECT\r\n1\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp6) match glob pattern "COMMIT"? no
COMMIT
expect: does "\r\nCOMMIT\r\n" (spawn_id exp6) match glob pattern "COMMIT"? yes
expect: set expect_out(0,string) "COMMIT"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nCOMMIT"
expect: does "\r\n" (spawn_id exp6) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp6) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\n:/# "
send: sending "echo $?\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern "0\r\n:/# "? no
expect: does "echo" (spawn_id exp6) match glob pattern "0\r\n:/# "? no
expect: does "echo " (spawn_id exp6) match glob pattern "0\r\n:/# "? no
:/# echo $?
expect: does "echo $?\r\n" (spawn_id exp6) match glob pattern "0\r\n:/# "? no
0
expect: does "echo $?\r\n0\r\n" (spawn_id exp6) match glob pattern "0\r\n:/# "? no
expect: does "echo $?\r\n0\r\n:/# " (spawn_id exp6) match glob pattern "0\r\n:/# "? yes
expect: set expect_out(0,string) "0\r\n:/# "
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "echo $?\r\n0\r\n:/# "
:/#
.171018 19:56:48.928210449 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit 0\r" to { exp6 }
exit 0
exit
expect: read eof
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "exit 0\r\nexit\r\n"
.171018 19:56:48.962239766 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
W171018 19:56:49.050322 20 vendor/google.golang.org/grpc/clientconn.go:1034 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:26257: operation was canceled"; Reconnecting to {localhost:26257 <nil>}
W171018 19:56:49.050371 20 vendor/google.golang.org/grpc/clientconn.go:1156 grpc: addrConn.transportMonitor exits due to: grpc: the connection is closing
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:56:50.059337136 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_contextual_help.tcl
=== RUN TestDockerCLI/test_contextual_help.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_contextual_help.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_contextual_help.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_contextual_help.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:56:52.808853385 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:56:54.953326955 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
spawn /cockroach/cockroach sql
system(find logs -exec chmod a+rw '{}' \; || true) = 2
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {91}
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: cfc5e732-e212-4026-abed-b8158527fba4
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: cfc5e732-e212-4026-abed-b8158527fba4\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: cfc5e732-e212-4026-abed-b8158527fba4\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: cfc5e732-e212-4026-abed-b8158527fba4\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: cfc5e732-e212-4026-abed-b8158527fba4\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
root@:26257/>
.171018 19:56:55.048967983 EXPECT TEST: START TEST: Check that a syntax error can make suggestions.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a syntax error can make suggestions.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select * from;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "syntax error"? no
select * from;
expect: does ":26257/> select * from;\r\n" (spawn_id exp5) match glob pattern "syntax error"? no
invalid syntax: statement ignored: syntax error at or near ";"
DETAIL: source SQL:
select * from;
^
HINT: try \h <SOURCE>
expect: does ":26257/> select * from;\r\ninvalid syntax: statement ignored: syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect * from;\r\n ^\r\nHINT: try \h <SOURCE>\r\n" (spawn_id exp5) match glob pattern "syntax error"? yes
expect: set expect_out(0,string) "syntax error"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select * from;\r\ninvalid syntax: statement ignored: syntax error"
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect * from;\r\n ^\r\nHINT: try \h <SOURCE>\r\n" (spawn_id exp5) match glob pattern "HINT: try \\h <SOURCE>"? yes
expect: set expect_out(0,string) "HINT: try \h <SOURCE>"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at or near ";"\r\nDETAIL: source SQL:\r\nselect * from;\r\n ^\r\nHINT: try \h <SOURCE>"
expect: does "\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:56:55.100818961 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.161711871 EXPECT TEST: START TEST: Check that a standalone ?? prints all help.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a standalone '??' prints all help.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "??\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "TRUNCATE"? no
??
expect: does ":26257/> ??\r\n" (spawn_id exp5) match glob pattern "TRUNCATE"? no
Configuration:
DISCARD reset the session to its initial state
RESET reset a session variable to its default value
RESET CLUSTER SETTING reset a cluster setting to its default value
SET CLUSTER SETTING change a cluster setting
SET SESSION change a session variable
SHOW CLUSTER SETTING display cluster settings
SHOW SESSION display session variables
SHOW TRANSACTION display current transaction properties
Data Manipulation:
expect: does ":26257/> ??\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n" (spawn_id exp5) match glob pattern "TRUNCATE"? no
<SELECTCLAUSE> access tabular data
<SOURCE> define a data source for SELECT
DELETE delete rows from a table
INSERT create new rows in a table
SELECT retrieve rows from a data source and compute a result
TABLE select an entire table
TRUNCATE empty one or more tables
UPDATE update rows of a table
UPSERT create or replace rows in a table
VALUES select a given set of values
Enterprise Features:
BACKUP back up data to external storage
IMPORT load data from file in a distributed manner
RESTORE restore data from external storage
SHOW BACKUP list backup contents
Miscellaneous:
CANCEL JOB cancel a background job
CANCEL QUERY cancel a running query
DEALLOCATE remove a prepared statement
EXECUTE execute a statement prepared previously
EXPLAIN show the logical plan of a query
PAUSE JOB pause a background job
PREPARE prepare a statement for later execution
RESUME JOB resume a background job
SHOW JOBS list background jobs
SHOW QUERIES list running queries
SHOW SESSIONS list open client sessions
SHOW TRACE display an execution trace
Privileges And Security:
CREATE USER define a new user
DROP USER remove a user
GRANT define access privileges
REVOKE remove access privileges
SHOW GRANTS list grants
SHOW USERS list defined users
Schema Manipulation:
ALTER DATABASE change the definition of a database
ALTER INDEX change the definition of an index
ALTER TABLE change the definition of a table
ALTER VIEW change the definition of a view
CREATE DATABASE create a new database
CREATE INDEX create a new index
CREATE TABLE create a new table
CREATE VIEW create a new view
DROP DATABASE remove a database
DROP INDEX remove an index
DROP TABLE remove a table
DROP VIEW remove a view
SHOW COLUMNS list columns in relation
SHOW CONSTRAINTS list constraints
SHOW CREATE TABLE display the CREATE TABLE statement for a table
SHOW CREATE VIEW display the CREATE VIEW statement for a view
SHOW DATABASES list databases
SHOW INDEXES list indexes
SHOW TABLES list tables
Transaction Control:
BEGIN start a transaction
COMMIT commit the current transaction
expect: does ":26257/> ??\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block" (spawn_id exp5) match glob pattern "TRUNCATE"? yes
expect: set expect_out(0,string) "TRUNCATE"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> ??\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE"
expect: does " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block" (spawn_id exp5) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW"
expect: does " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block" (spawn_id exp5) match glob pattern "ROLLBACK"? no
RELEASE complete a retryable block
ROLLBACK abort the current transaction
SAVEPOINT start a retryable block
SET TRANSACTION configure the transaction settings
expect: does " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "ROLLBACK"? yes
expect: set expect_out(0,string) "ROLLBACK"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK"
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@"
send: sending "??\t" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "TRUNCATE"? no
root@:26257/> ??
Suggestion:
Configuration:
DISCARD reset the session to its initial state
RESET reset a session variable to its default value
RESET CLUSTER SETTING reset a cluster setting to its default value
SET CLUSTER SETTING change a cluster setting
SET SESSION change a session variable
SHOW CLUSTER SETTING display cluster settings
SHOW SESSION display session variables
SHOW TRANSACTION display current transaction properties
Data Manipulation:
<SELECTCLAUSE> access tabular data
<SOURCE> define a data source for SELECT
DELETE delete rows from a table
INSERT create new rows in a table
SELECT retrieve rows from a data source and compute a result
TABLE select an entire table
TRUNCATE empty one or more tables
UPDATE update rows of a table
UPSERT create or replace rows in a table
VALUES select a given set of values
Enterprise Features:
BACKUP back up data to external storage
IMPORT load data from file in a distributed manner
RESTORE restore data from external storage
SHOW BACKUP list backup contents
Miscellaneous:
CANCEL JOB cancel a background job
CANCEL QUERY cancel a running query
DEALLOCATE remove a prepared statement
EXECUTE execute a statement prepared previously
EXPLAIN show the logical plan of a query
PAUSE JOB pause a background job
PREPARE prepare a statement for later execution
RESUME JOB resume a background job
SHOW JOBS list background jobs
SHOW QUERIES list running queries
SHOW SESSIONS list open client sessions
SHOW TRACE display an execution trace
Privileges And Security:
CREATE USER define a new user
DROP USER remove a user
GRANT define access privileges
REVOKE remove access privileges
SHOW GRANTS list grants
SHOW USERS list defined users
Schema Manipulation:
ALTER DATABASE change the definition of a database
ALTER INDEX change the definition of an index
ALTER TABLE change the definition of a table
ALTER VIEW change the definition of a view
CREATE DATABASE create a new database
CREATE INDEX create a new index
CREATE TABLE create a new table
CREATE VIEW create a new view
DROP DATABASE remove a database
DROP INDEX remove an index
DROP TABLE remove a table
DROP VIEW remove a view
SHOW COLUMNS list columns in relation
SHOW CONSTRAINTS list constraints
SHOW CREATE TABLE display the CREATE TABLE statement for a table
SHOW CREATE VIEW display the CREATE VIEW statement for a view
SHOW DATABASES list databases
SHOW INDEXES list indexes
SHOW TABLES list tables
Transaction Control:
BEGIN start a transaction
COMMIT commit the current transaction
RELEASE complete a retryable block
ROLLBACK abort the current transaction
SAVEPOINT start a retryable block
SET TRANSACTION configure the transaction settings
expect: does ":26257/> ??\r\nSuggestion:\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??" (spawn_id exp5) match glob pattern "TRUNCATE"? yes
expect: set expect_out(0,string) "TRUNCATE"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> ??\r\nSuggestion:\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE"
expect: does " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??" (spawn_id exp5) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW"
expect: does " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??" (spawn_id exp5) match glob pattern "ROLLBACK"? yes
expect: set expect_out(0,string) "ROLLBACK"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK"
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??" (spawn_id exp5) match glob pattern "??"? yes
expect: set expect_out(0,string) " "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " "
send: sending "\u0008\u0008" to { exp5 }
send: sending "select 1;\r" to { exp5 }
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??" (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/> select 1;
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??\u0008\u001b[K\u0008\u001b[Kselect 1;\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 |
+---+
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??\u0008\u001b[K\u0008\u001b[Kselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| " (spawn_id exp5) match glob pattern "1 row"? no
| 1 |
+---+
(1 row)
Time: 377.901µs
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??\u0008\u001b[K\u0008\u001b[Kselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 377.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\n\r\nroot@:26257/> ??\u0008\u001b[K\u0008\u001b[Kselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 377.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 377.901\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 377.901\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:56:55.241202144 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.297227036 EXPECT TEST: START TEST: Check that a ?? after a simple statement prints help.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a ?? after a simple statement prints help.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select ??\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Command: "? no
select ??
expect: does ":26257/> select ??\r\n" (spawn_id exp5) match glob pattern "Command: "? no
Command: SELECT
Description: retrieve rows from a data source and compute a result
Category: data manipulation
Syntax:
SELECT [DISTINCT]
{ <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]
[ FROM <source> ]
[ WHERE <expr> ]
[ GROUP BY <expr> [ , ... ] ]
[ HAVING <expr> ]
[ WINDOW <name> AS ( <definition> ) ]
[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
[ ORDER BY <expr> [ ASC | DESC ] [, ...] ]
[ LIMIT { <expr> | ALL } ]
[ OFFSET <expr> [ ROW | ROWS ] ]
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
expect: does ":26257/> select ??\r\nCommand: SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "Command: "? yes
expect: set expect_out(0,string) "Command: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select ??\r\nCommand: "
expect: does " SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "SELECT"? yes
expect: set expect_out(0,string) "SELECT"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " SELECT"
expect: does "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "data manipulation"? yes
expect: set expect_out(0,string) "data manipulation"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation"
expect: does "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "FROM"? yes
expect: set expect_out(0,string) "FROM"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM"
expect: does " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "ORDER BY"? yes
expect: set expect_out(0,string) "ORDER BY"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY"
expect: does " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>" (spawn_id exp5) match glob pattern "See also"? no
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
https://www.cockroachlabs.com/docs/v1.2/select.html
expect: does " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@"
send: sending "select * from ??\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Command: "? no
expect: does ":26257/> select * " (spawn_id exp5) match glob pattern "Command: "? no
root@:26257/> select * from ??
expect: does ":26257/> select * from ??\r\n" (spawn_id exp5) match glob pattern "Command: "? no
Command: <SOURCE>
Description: define a data source for SELECT
Category: data manipulation
Syntax:
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
expect: does ":26257/> select * from ??\r\nCommand: <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]" (spawn_id exp5) match glob pattern "Command: "? yes
expect: set expect_out(0,string) "Command: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select * from ??\r\nCommand: "
expect: does " <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]" (spawn_id exp5) match glob pattern "data source"? yes
expect: set expect_out(0,string) "data source"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <SOURCE>\r\nDescription: define a data source"
expect: does " for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]" (spawn_id exp5) match glob pattern "JOIN"? no
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
expect: does " for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "JOIN"? yes
expect: set expect_out(0,string) "JOIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN"
expect: does " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "EXPLAIN"? yes
expect: set expect_out(0,string) "EXPLAIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN"
expect: does " ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " ... ']'\r\n '[' SHOW"
expect: does " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@"
root@:26257/>
.171018 19:56:55.366472374 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.411922731 EXPECT TEST: START TEST: Check that the last statement with help text made it to history.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the last statement with help text made it to history.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u001b[A" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "select"? no
expect: does ":26257/> select * from ??" (spawn_id exp5) match glob pattern "select"? yes
expect: set expect_out(0,string) "select"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select"
expect: does " * from ??" (spawn_id exp5) match glob pattern "from ??"? yes
expect: set expect_out(0,string) "from ??"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " * from ??"
send: sending "\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "See also"? no
select * from ??
Command: <SOURCE>
Description: define a data source for SELECT
Category: data manipulation
Syntax:
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
expect: does "\r\nCommand: <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nCommand: <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@"
root@:26257/>
.171018 19:56:55.477117555 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.532232044 EXPECT TEST: START TEST: Check that ??-tab works.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that ??-tab works.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select ??\t" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Command: "? no
expect: does ":26257/> select ??" (spawn_id exp5) match glob pattern "Command: "? no
select ??
Suggestion:
Command: SELECT
Description: retrieve rows from a data source and compute a result
Category: data manipulation
Syntax:
SELECT [DISTINCT]
{ <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]
[ FROM <source> ]
[ WHERE <expr> ]
[ GROUP BY <expr> [ , ... ] ]
[ HAVING <expr> ]
[ WINDOW <name> AS ( <definition> ) ]
[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
[ ORDER BY <expr> [ ASC | DESC ] [, ...] ]
[ LIMIT { <expr> | ALL } ]
[ OFFSET <expr> [ ROW | ROWS ] ]
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
https://www.cockroachlabs.com/docs/v1.2/select.html
expect: does ":26257/> select ??\r\nSuggestion:\r\nCommand: SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "Command: "? yes
expect: set expect_out(0,string) "Command: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select ??\r\nSuggestion:\r\nCommand: "
expect: does " SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "SELECT"? yes
expect: set expect_out(0,string) "SELECT"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " SELECT"
expect: does "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "data manipulation"? yes
expect: set expect_out(0,string) "data manipulation"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation"
expect: does "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "FROM"? yes
expect: set expect_out(0,string) "FROM"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM"
expect: does " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "ORDER BY"? yes
expect: set expect_out(0,string) "ORDER BY"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY"
expect: does " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??" (spawn_id exp5) match glob pattern "select ??"? yes
expect: set expect_out(0,string) "select ??"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> select ??"
send: sending "\u0008\u0008" to { exp5 }
send: sending "1;\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/> select 1;
expect: does "\u0008\u001b[K\u0008\u001b[K1;\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 |
+---+
| 1 |
+---+
(1 row)
Time: 460.501µs
expect: does "\u0008\u001b[K\u0008\u001b[K1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 460.501\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\u0008\u001b[K\u0008\u001b[K1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 460.501\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 460.501\u00b5s\r\n\r\nroot@"
send: sending "select * from ??\t" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Command: "? no
root@:26257/> select * from ??
Suggestion:
Command: <SOURCE>
Description: define a data source for SELECT
Category: data manipulation
Syntax:
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
expect: does ":26257/> select * from ??\r\nSuggestion:\r\nCommand: <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "Command: "? yes
expect: set expect_out(0,string) "Command: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select * from ??\r\nSuggestion:\r\nCommand: "
expect: does " <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "data source"? yes
expect: set expect_out(0,string) "data source"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <SOURCE>\r\nDescription: define a data source"
expect: does " for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "JOIN"? yes
expect: set expect_out(0,string) "JOIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN"
expect: does " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "EXPLAIN"? yes
expect: set expect_out(0,string) "EXPLAIN"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN"
expect: does " ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " ... ']'\r\n '[' SHOW"
expect: does " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??" (spawn_id exp5) match glob pattern "select * from ??"? yes
expect: set expect_out(0,string) "select * from ??"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> select * from ??"
send: sending "\u0008\u0008" to { exp5 }
send: sending "(values (1));\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/> select * from (values (1));
expect: does "\u0008\u001b[K\u0008\u001b[K(values (1));\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---------+
| column1 |
expect: does "\u0008\u001b[K\u0008\u001b[K(values (1));\r\n+---------+\r\n| column1 |\r\n+---------+\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---------+
| 1 |
+---------+
(1 row)
Time: 464.501µs
expect: does "\u0008\u001b[K\u0008\u001b[K(values (1));\r\n+---------+\r\n| column1 |\r\n+---------+\r\n| 1 |\r\n+---------+\r\n(1 row)\r\n\r\nTime: 464.501\u00b5s" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\u0008\u001b[K\u0008\u001b[K(values (1));\r\n+---------+\r\n| column1 |\r\n+---------+\r\n| 1 |\r\n+---------+\r\n(1 row"
expect: does ")\r\n\r\nTime: 464.501\u00b5s" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 464.501\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 464.501\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 464.501\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:56:55.610945615 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.655419167 EXPECT TEST: START TEST: Check that a ?? in a function call context prints help about that function.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a ?? in a function call context prints help about that function.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select count(??\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Function: "? no
select count(??
expect: does ":26257/> select" (spawn_id exp5) match glob pattern "Function: "? no
expect: does ":26257/> select count(??\r\n" (spawn_id exp5) match glob pattern "Function: "? no
Function: count
Category: built-in functions
Calculates the number of selected elements.
Signature Category
count(arg1: anyelement) -> int [ANYELEMENT]
expect: does ":26257/> select count(??\r\nFunction: count\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n" (spawn_id exp5) match glob pattern "Function: "? yes
expect: set expect_out(0,string) "Function: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select count(??\r\nFunction: "
expect: does " count\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n" (spawn_id exp5) match glob pattern "count"? yes
expect: set expect_out(0,string) "count"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " count"
expect: does "\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n" (spawn_id exp5) match glob pattern "built-in functions"? yes
expect: set expect_out(0,string) "built-in functions"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nCategory: built-in functions"
expect: does "\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n" (spawn_id exp5) match glob pattern "Signature"? yes
expect: set expect_out(0,string) "Signature"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nCalculates the number of selected elements.\r\n\r\nSignature"
expect: does " Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n" (spawn_id exp5) match glob pattern "See also"? no
See also:
https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html
expect: does " Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\n" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also"
expect: does ":\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ":\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@"
send: sending "select count(??\t" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Function: "? no
root@:26257/> select count(??
Suggestion:
Function: count
Category: built-in functions
Calculates the number of selected elements.
Signature Category
count(arg1: anyelement) -> int [ANYELEMENT]
See also:
https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html
expect: does ":26257/> select count(??\r\nSuggestion:\r\nFunction: count\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "Function: "? yes
expect: set expect_out(0,string) "Function: "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select count(??\r\nSuggestion:\r\nFunction: "
expect: does " count\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "count"? yes
expect: set expect_out(0,string) "count"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " count"
expect: does "\r\nCategory: built-in functions\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "built-in functions"? yes
expect: set expect_out(0,string) "built-in functions"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nCategory: built-in functions"
expect: does "\r\nCalculates the number of selected elements.\r\n\r\nSignature Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "Signature"? yes
expect: set expect_out(0,string) "Signature"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nCalculates the number of selected elements.\r\n\r\nSignature"
expect: does " Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also:\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " Category\r\ncount(arg1: anyelement) -> int [ANYELEMENT]\r\n\r\nSee also"
expect: does ":\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??" (spawn_id exp5) match glob pattern "select count(??"? yes
expect: set expect_out(0,string) "select count(??"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":\r\n https://www.cockroachlabs.com/docs/v1.2/functions-and-operators.html\r\n\r\nroot@:26257/> select count(??"
send: sending "\u0008\u0008" to { exp5 }
send: sending "1);\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/> select count(1);
expect: does "\u0008\u001b[K\u0008\u001b[K1);\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+----------+
| count(1) |
+----------+
expect: does "\u0008\u001b[K\u0008\u001b[K1);\r\n+----------+\r\n| count(1) |\r\n+----------+\r\n| " (spawn_id exp5) match glob pattern "1 row"? no
| 1 |
expect: does "\u0008\u001b[K\u0008\u001b[K1);\r\n+----------+\r\n| count(1) |\r\n+----------+\r\n| 1 |\r\n+" (spawn_id exp5) match glob pattern "1 row"? no
+----------+
(1 row)
expect: does "\u0008\u001b[K\u0008\u001b[K1);\r\n+----------+\r\n| count(1) |\r\n+----------+\r\n| 1 |\r\n+----------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\u0008\u001b[K\u0008\u001b[K1);\r\n+----------+\r\n| count(1) |\r\n+----------+\r\n| 1 |\r\n+----------+\r\n(1 row"
expect: does ")\r\n" (spawn_id exp5) match glob pattern "root@"? no
Time: 479.602µs
expect: does ")\r\n\r\nTime: 479.602\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 479.602\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 479.602\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:56:55.739521757 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:56:55.795185448 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
expect: read eof
Error: interrupted
Failed running "sql"
.171018 19:56:56.256105132 EXPECT TEST: BEGIN STOP SERVER
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \r\nError: interrupted\r\nFailed running "sql"\r\n"
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:56:57.412660107 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_error_handling.tcl
=== RUN TestDockerCLI/test_error_handling.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_error_handling.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_error_handling.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_error_handling.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:57:00.586949716 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:57:02.646760896 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {92}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@97e52ac6cf02:/# PS1=" (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@97e52ac6cf02:/# "
root@97e52ac6cf02:/# PS1=
.171018 19:57:02.707125103 EXPECT TEST: START TEST: Check that by default, an error prevents subsequent statements from running.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that by default, an error prevents subsequent statements from running.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "(echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql\r" to { exp5 }
expect: does "PS1=" (spawn_id exp5) match glob pattern "pq: column name "foo" not found\r\nError: pq: column name"? no
expect: does "PS1=':''/# '\r\n:/# " (spawn_id exp5) match glob pattern "pq: column name "foo" not found\r\nError: pq: column name"? no
':''/# '
:/# (echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql
expect: does "PS1=':''/# '\r\n:/# (echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "pq: column name "foo" not found\r\nError: pq: column name"? no
pq: column name "foo" not found
Error: pq: column name "foo" not found
Failed running "sql"
expect: does "PS1=':''/# '\r\n:/# (echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql\r\npq: column name "foo" not found\r\nError: pq: column name "foo" not found\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern "pq: column name "foo" not found\r\nError: pq: column name"? yes
expect: set expect_out(0,string) "pq: column name "foo" not found\r\nError: pq: column name"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# (echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql\r\npq: column name "foo" not found\r\nError: pq: column name"
expect: does " "foo" not found\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does " "foo" not found\r\nFailed running "sql"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " "foo" not found\r\nFailed running "sql"\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1\r\n:/# "? no
expect: does "echo $" (spawn_id exp5) match glob pattern "1\r\n:/# "? no
:/# echo $?
1
expect: does "echo $?\r\n1\r\n:/# " (spawn_id exp5) match glob pattern "1\r\n:/# "? yes
expect: set expect_out(0,string) "1\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n1\r\n:/# "
:/#
.171018 19:57:02.805790042 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:02.870009163 EXPECT TEST: START TEST: Check that a user can request to continue upon failures.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a user can request to continue upon failures.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo '" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'sel" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select fo" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;';" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; e" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; ech" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo " (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 's" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'sel" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'selec" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select " (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;')" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') |" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /co" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cock" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockro" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroac" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \roc" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockro" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockroach" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockroach sq" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
ockroach sqlt errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockroach sql\r\n" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? no
pq: column name "foo" not found
expect: does "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockroach sql\r\npq: column name "foo" not found\r\n" (spawn_id exp5) match glob pattern "pq: column name "foo" not found"? yes
expect: set expect_out(0,string) "pq: column name "foo" not found"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "(echo '\unset errexit'; echo 'select foo;'; echo 'select 1;') | /cockroach/c \rockroach sql\r\npq: column name "foo" not found"
expect: does "\r\n" (spawn_id exp5) match glob pattern "1 row"? no
1
1
# 1 row
expect: does "\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n1\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "echo $?\r\n0\r\n:/# " (spawn_id exp5) match glob pattern "0\r\n:/# "? yes
expect: set expect_out(0,string) "0\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n0\r\n:/# "
send: sending "/cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "root@"? no
:/# echo $?
0
:/# /cockroach/cockroach sql
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 02c30241-9375-402a-86ba-6e8e54ba9061
#
# Enter \? for a brief introduction.
#
root@:26257/>
.171018 19:57:03.005092827 EXPECT TEST: END TEST
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 02c30241-9375-402a-86ba-6e8e54ba9061\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 02c30241-9375-402a-86ba-6e8e54ba9061\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 02c30241-9375-402a-86ba-6e8e54ba9061\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 02c30241-9375-402a-86ba-6e8e54ba9061\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:03.055054099 EXPECT TEST: START TEST: Check that by default, an error does not cause an interactive failure.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that by default, an error does not cause an interactive failure.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select foo;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "pq: column name"? no
select foo;
expect: does ":26257/> select foo;\r\n" (spawn_id exp5) match glob pattern "pq: column name"? no
pq: column name "foo" not found
expect: does ":26257/> select foo;\r\npq: column name "foo" not found\r\n" (spawn_id exp5) match glob pattern "pq: column name"? yes
expect: set expect_out(0,string) "pq: column name"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select foo;\r\npq: column name"
expect: does " "foo" not found\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does " "foo" not found\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " "foo" not found\r\nroot@"
root@:26257/>
.171018 19:57:03.122363030 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:03.178246122 EXPECT TEST: START TEST: Check that the user can ask for errors to terminate the interactive client.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the user can ask for errors to terminate the interactive client.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\set errexit\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "root@"? no
expect: does ":26257/> \set errexit\r\n" (spawn_id exp5) match glob pattern "root@"? no
\set errexit
expect: does ":26257/> \set errexit\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \set errexit\r\nroot@"
send: sending "select foo;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "Error: pq: column name"? no
root@:26257/> select foo;
expect: does ":26257/> select foo;\r\n" (spawn_id exp5) match glob pattern "Error: pq: column name"? no
pq: column name "foo" not found
Error: pq: column name "foo" not found
Failed running "sql"
expect: does ":26257/> select foo;\r\npq: column name "foo" not found\r\nError: pq: column name "foo" not found\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern "Error: pq: column name"? yes
expect: set expect_out(0,string) "Error: pq: column name"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select foo;\r\npq: column name "foo" not found\r\nError: pq: column name"
expect: does " "foo" not found\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does " "foo" not found\r\nFailed running "sql"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " "foo" not found\r\nFailed running "sql"\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1\r\n:/# "? no
:/# echo $?
1
expect: does "echo $?\r\n1\r\n:/# " (spawn_id exp5) match glob pattern "1\r\n:/# "? yes
expect: set expect_out(0,string) "1\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n1\r\n:/# "
:/#
.171018 19:57:03.241559940 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit 0\r" to { exp5 }
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "exit 0\r\nexit\r\n"
exit 0
exit
.171018 19:57:03.300277242 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:04.440635461 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_example_data.tcl
=== RUN TestDockerCLI/test_example_data.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_example_data.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_example_data.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_example_data.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:57:06.923094194 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:57:09.057049728 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {90}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@347c912de3bf:/# PS1='" (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@347c912de3bf:/# "
PS1=':''/# '
root@347c912de3bf:/# PS1='
.171018 19:57:09.121138049 EXPECT TEST: START TEST: Check that the startrek example can be loaded in the db.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the startrek example can be loaded in the db.' | tee -a logs/expect-cmd.log) = 2
:''/# '
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r" to { exp5 }
expect: does "PS1='" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
:/# /cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
CREATE DATABASE
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
SET
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
DROP TABLE
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
DROP TABLE
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
CREATE TABLE
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
INSERT 79
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\nCREATE TABLE" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\nCREATE TABLE\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
CREATE TABLE
INSERT 200
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\nCREATE TABLE\r\nINSERT 200\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\nCREATE TABLE\r\nINSERT 200\r\n:/# echo $" (spawn_id exp5) match glob pattern "0\r\n:/# "? yes
expect: set expect_out(0,string) "0\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach gen example-data startrek | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 79\r\nCREATE TABLE\r\nINSERT 200\r\n:/# "
:/# echo $
.171018 19:57:10.511792129 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:10.545099643 EXPECT TEST: START TEST: Check that the startrek example is loaded.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the startrek example is loaded.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach sql -e 'SELECT COUNT(*) FROM startrek.quotes'\r" to { exp5 }
expect: does "echo $" (spawn_id exp5) match glob pattern "COUNT"? no
?
0
expect: does "echo $?\r\n0\r\n:/# " (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /coc" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroa" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELEC" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELECT " (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELECT CO" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELECT COUN" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELECT COUNT" (spawn_id exp5) match glob pattern "COUNT"? yes
expect: set expect_out(0,string) "COUNT"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n0\r\n:/# /cockroach/cockroach sql -e 'SELECT COUNT"
expect: does "" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FR" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FRO" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM " (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM st" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM sta" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM start" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.q" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.qu" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quo" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quote" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quotes" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quotes'" (spawn_id exp5) match glob pattern "200"? no
:/# /cockroach/cockroach sql -e 'SELECT COUNT(*) FROM startrek.quotes'
expect: does "(*) FROM startrek.quotes'\r\n" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quotes'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n" (spawn_id exp5) match glob pattern "200"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612
+----------+
| count(*) |
+----------+
| 200 |
+----------+
(1 row)
expect: does "(*) FROM startrek.quotes'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+" (spawn_id exp5) match glob pattern "200"? no
expect: does "(*) FROM startrek.quotes'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+\r\n| 200 |\r\n+----------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern "200"? yes
expect: set expect_out(0,string) "200"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "(*) FROM startrek.quotes'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+\r\n| 200"
expect: does " |\r\n+----------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " |\r\n+----------+\r\n(1 row"
expect: does ")\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ")\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n:/# "
:/#
.171018 19:57:10.617718593 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:10.649100301 EXPECT TEST: START TEST: Check that the intro example can be loaded in the db.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the intro example can be loaded in the db.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroac" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroa" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach " (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen " (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen ex" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen examp" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-da" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data in" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro " (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /co" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockr" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/coc" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroa" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach " (spawn_id exp5) match glob pattern ":/# "? no
/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern ":/# "? no
CREATE DATABASE
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\n" (spawn_id exp5) match glob pattern ":/# "? no
SET
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE" (spawn_id exp5) match glob pattern ":/# "? no
DROP TABLE
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\n" (spawn_id exp5) match glob pattern ":/# "? no
CREATE TABLE
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach gen example-data intro | /cockroach/cockroach sql\r\nCREATE DATABASE\r\nSET\r\nDROP TABLE\r\nCREATE TABLE\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\nINSERT 1\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "echo " (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "echo $?" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
:/# echo $?
expect: does "echo $?\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
0
expect: does "echo $?\r\n0\r\n" (spawn_id exp5) match glob pattern "0\r\n:/# "? no
expect: does "echo $?\r\n0\r\n:/# " (spawn_id exp5) match glob pattern "0\r\n:/# "? yes
expect: set expect_out(0,string) "0\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n0\r\n:/# "
:/#
.171018 19:57:11.802845067 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:11.835737380 EXPECT TEST: START TEST: Check that the startrek example is loaded.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the startrek example is loaded.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach sql -e 'SELECT COUNT(*) FROM intro.mytable'\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "/cockroach/cockroach sql -e 'S" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "/cockroach/cockroach sql -e 'SELE" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "/cockroach/cockroach sql -e 'SELECT " (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "/cockroach/cockroach sql -e 'SELECT COU" (spawn_id exp5) match glob pattern "COUNT"? no
expect: does "/cockroach/cockroach sql -e 'SELECT COUNT" (spawn_id exp5) match glob pattern "COUNT"? yes
expect: set expect_out(0,string) "COUNT"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach sql -e 'SELECT COUNT"
expect: does "" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FR" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM i" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM in" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM int" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro." (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.m" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.myt" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.myta" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.mytab" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.mytabl" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.mytable" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.mytable'" (spawn_id exp5) match glob pattern "42"? no
/cockroach/cockroach sql -e 'SELECT COUNT(*) FROM intro.mytable'
expect: does "(*) FROM intro.mytable'\r\n" (spawn_id exp5) match glob pattern "42"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612
expect: does "(*) FROM intro.mytable'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n" (spawn_id exp5) match glob pattern "42"? no
expect: does "(*) FROM intro.mytable'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+\r\n|" (spawn_id exp5) match glob pattern "42"? no
+----------+
| count(*) |
+----------+
| 42 |
+----------+
(1 row)
expect: does "(*) FROM intro.mytable'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+\r\n| 42 |\r\n+----------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern "42"? yes
expect: set expect_out(0,string) "42"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "(*) FROM intro.mytable'\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 4c21dc2c-4a6e-4b48-b4a1-87caeec27612\r\n+----------+\r\n| count(*) |\r\n+----------+\r\n| 42"
expect: does " |\r\n+----------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " |\r\n+----------+\r\n(1 row"
expect: does ")\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ")\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n:/# "
:/#
.171018 19:57:11.907282726 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit 0\r" to { exp5 }
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "exit 0\r\nexit\r\n"
exit 0
exit
.171018 19:57:11.946924162 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:13.149013894 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_flags.tcl
=== RUN TestDockerCLI/test_flags.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_flags.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_flags.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_flags.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
parent: waiting for sync byte
spawn /bin/bash
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {10}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@ecf653ac4c4e:/# P" (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@ecf653ac4c4e:/# "
root@ecf653ac4c4e:/# P
.171018 19:57:16.094105118 EXPECT TEST: START TEST: Check that --max-disk-temp-storage works.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that --max-disk-temp-storage works.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-storage=10GiB\r" to { exp5 }
expect: does "P" (spawn_id exp5) match glob pattern "node starting"? no
S1=':''/# '
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockr" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start " (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecu" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=p" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=m" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystor" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --m" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-d" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-dis" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-t" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \r" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10G" (spawn_id exp5) match glob pattern "node starting"? no
torage=10GiBch/cockroach start --insecure --store=path=mystore --max-disk-temp-s
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10GiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
*
* WARNING: RUNNING IN INSECURE MODE!
*
* - Your cluster is open for any client that can access <all your IP addresses>.
* - Any user, even root, can log in without providing a password.
* - Any user, connecting as root, can read or write any data in your cluster.
* - There is no network encryption nor authentication, and thus no confidentiality.
*
* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
*
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10GiB\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\n" (spawn_id exp5) match glob pattern "node starting"? no
CockroachDB node starting at 2017-10-18 19:57:18.310243936 +0000 UTC (took 2.2s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://ecf653ac4c4e:8080
sql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable
logs: /mystore/logs
store[0]: path=/mystore
status: initialized new cluster
clusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea
nodeID: 1
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10GiB\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting at 2017-10-18 19:57:18.310243936 +0000 UTC (took 2.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: initialized new cluster\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern "node starting"? yes
expect: set expect_out(0,string) "node starting"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10GiB\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting"
.171018 19:57:18.312218943 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
expect: does " at 2017-10-18 19:57:18.310243936 +0000 UTC (took 2.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: initialized new cluster\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
^CNote: a second interrupt will skip graceful shutdown and terminate forcefully
initiating graceful shutdown of server
server drained and shutdown completed
*
* INFO: interrupted
*
Failed running "start"
expect: does " at 2017-10-18 19:57:18.310243936 +0000 UTC (took 2.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: initialized new cluster\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at 2017-10-18 19:57:18.310243936 +0000 UTC (took 2.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: initialized new cluster\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# "
:/#
.171018 19:57:18.722365853 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:18.729773878 EXPECT TEST: START TEST: Check that --max-disk-temp-storage can be expressed as a percentage.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that --max-disk-temp-storage can be expressed as a percentage.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-storage=10%\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=m" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-tem" (spawn_id exp5) match glob pattern "node starting"? no
torage=10%/cockroach start --insecure --store=path=mystore --max-disk-temp-s
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10%\r\n" (spawn_id exp5) match glob pattern "node starting"? no
*
* WARNING: RUNNING IN INSECURE MODE!
*
* - Your cluster is open for any client that can access <all your IP addresses>.
* - Any user, even root, can log in without providing a password.
* - Any user, connecting as root, can read or write any data in your cluster.
* - There is no network encryption nor authentication, and thus no confidentiality.
*
* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10%\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10%\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\n" (spawn_id exp5) match glob pattern "node starting"? no
*
CockroachDB node starting at 2017-10-18 19:57:19.583229712 +0000 UTC (took 0.8s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://ecf653ac4c4e:8080
sql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable
logs: /mystore/logs
store[0]: path=/mystore
status: restarted pre-existing node
clusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea
nodeID: 1
expect: does "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10%\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting at 2017-10-18 19:57:19.583229712 +0000 UTC (took 0.8s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: restarted pre-existing node\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern "node starting"? yes
expect: set expect_out(0,string) "node starting"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach start --insecure --store=path=mystore --max-disk-temp-s \rtorage=10%\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting"
.171018 19:57:19.585633720 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
expect: does " at 2017-10-18 19:57:19.583229712 +0000 UTC (took 0.8s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: restarted pre-existing node\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
^CNote: a second interrupt will skip graceful shutdown and terminate forcefully
initiating graceful shutdown of server
server drained and shutdown completed
*
* INFO: interrupted
*
Failed running "start"
expect: does " at 2017-10-18 19:57:19.583229712 +0000 UTC (took 0.8s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: restarted pre-existing node\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at 2017-10-18 19:57:19.583229712 +0000 UTC (took 0.8s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: /mystore/logs\r\nstore[0]: path=/mystore\r\nstatus: restarted pre-existing node\r\nclusterID: 5cc07d21-a4db-483e-a60c-d4631cb8eaea\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# "
:/#
.171018 19:57:20.004607961 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:20.011936686 EXPECT TEST: START TEST: Check that --max-disk-temp-storage percentage works when the store is in-memory.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that --max-disk-temp-storage percentage works when the store is in-memory.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-temp-storage=10%\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\n" (spawn_id exp5) match glob pattern "node starting"? no
emp-storage=10%roach start --insecure --store=type=mem,size=1GB --max-disk-t
I171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\n" (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!
- Your cluster is open for any client that can access <all your IP addresses>.
- Any user, even root, can log in without providing a password.
- Any user, connecting as root, can read or write any data in your cluster.
- There is no network encryption nor authentication, and thus no confidentiality.
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n" (spawn_id exp5) match glob pattern "node starting"? no
Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB)." (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance." (spawn_id exp5) match glob pattern "node starting"? no
A significantly larger value is usually needed for good performance.
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB)." (spawn_id exp5) match glob pattern "node starting"? no
If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.156984 1 server/config.go:411 server configuration:
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\n" (spawn_id exp5) match glob pattern "node starting"? no
max offset 500000000
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\n" (spawn_id exp5) match glob pattern "node starting"? no
cache size 128 MiB
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB" (spawn_id exp5) match glob pattern "node starting"? no
SQL memory pool size 128 MiB
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s" (spawn_id exp5) match glob pattern "node starting"? no
scan interval 10m0s
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms" (spawn_id exp5) match glob pattern "node starting"? no
scan max idle time 200ms
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s" (spawn_id exp5) match glob pattern "node starting"? no
metrics sample interval 10s
event log enabled true
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\n" (spawn_id exp5) match glob pattern "node starting"? no
linearizable false
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized
I171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB
I171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created
I171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available
I171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}
I171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 >
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"
I171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []
I171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}
expect: does "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach start --insecure --store=type=mem,size=1GB --max-disk-t \remp-storage=10%\r\nI171018 19:57:20.053544 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.053830 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:20.054299 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:20.054445 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:20.054842 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1\u00009)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\n"
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257
I171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257
W171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL…-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL…-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8
expect: does ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ".9)\r\nI171018 19:57:20.156673 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:20.156829 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:20.156984 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:20.158036 36 cli/start.go:508 starting cockroach node\r\nI171018 19:57:20.158193 36 cli/start.go:510 using local environment variables: COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history, COCKROACH_INSECURE=true\r\nI171018 19:57:20.164024 36 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:20.164057 36 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:20.164070 36 server/config.go:514 [n?] store 0: in-memory, size 954 MiB\r\nI171018 19:57:20.167424 36 server/node.go:347 [n?] **** cluster ff30f7c1-5223-46cc-bab3-df25db25362b has been created\r\nI171018 19:57:20.167467 36 server/server.go:882 [n?] **** add additional nodes by specifying --join=ecf653ac4c4e:26\u000057\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\n"
I171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL…-Max}] initiating a split of this range at key /System/tsd [r5]
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System…-Max}] initiating a split of this range at key /Table/11 [r8]
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]
expect: does "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: set expect_out(spawn_id) "exp5"
I171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]
expect: set expect_out(buffer) "257\r\nI171018 19:57:20.168089 36 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:20.168146 36 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:20.168175 36 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:20.168296 36 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"ecf653ac4c4e:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:20.168577 36 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:20.168733 36 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:20.168772 36 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "ff30f7c1-5223-46cc-bab3-df25db25362b"\r\nI171018 19:57:20.168823 36 server/node.go:414 [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []\r\nI171018 19:57:20.168933 36 sql/executor.go:408 [n1] creating di\u0000tSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\n"
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3" (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections" (spawn_id exp5) match glob pattern "node starting"? no
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "stSQLPlanner with address {tcp ecf653ac4c4e:26257}\r\nI171018 19:57:20.170671 21 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:20.173267 36 server/server.go:987 [n1] starting http server at ecf653ac4c4e:8080\r\nI171018 19:57:20.173302 36 server/server.go:988 [n1] starting grpc/postgres server at ecf653ac4c4e:26257\r\nI171018 19:57:20.173320 36 server/server.go:989 [n1] advertising CockroachDB node at ecf653ac4c4e:26257\r\nW171018 19:57:20.173345 36 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:20.188157 21 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:20.192652 21 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\nW171018 19:57:20.193025 369 storage/intent_resolver.go:349 [n1,s1,r3/1:/{System/NodeL\u2026-Max}]: failed to push during intent resolution: failed to push "sql txn implicit" id=85b70575 key=/Table/SystemConfigSpan/Start rw=true pri=0.01017032 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.179634062,0 orig=1508356640.179634062,0 max=1508356640.179634062,0 wto=false rop=false \u0000eq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections"
I171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections
expect: does "seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections\r\nI171018 19:57:20.242145 36 cli/start.go:587 node startup completed:" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:20.242145 36 cli/start.go:587 node startup completed:
expect: does "seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections\r\nI171018 19:57:20.242145 36 cli/start.go:587 node startup completed:\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections\r\nI171018 19:57:20.242145 36 cli/start.go:587 node startup completed:\r\nCockroachDB node starting at 2017-10-18 19:57:20.242081277 +0000 UTC (took 0.2s)" (spawn_id exp5) match glob pattern "node starting"? yes
expect: set expect_out(0,string) "node starting"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "seq=8\r\nI171018 19:57:20.194444 36 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:20.198137 21 storage/replica_command.go:2810 [split,n1,s1,r4/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/tsd [r5]\r\nI171018 19:57:20.199964 36 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:20.199734731 +0000 UTC\r\nI171018 19:57:20.203224 21 storage/replica_command.go:2810 [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]\r\nI171018 19:57:20.210893 21 storage/replica_command.go:2810 [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]\r\nI171018 19:57:20.217504 21 storage/replica_command.go:2810 [split,n1,s1,r7/1:/{Table/System\u2026-Max}] initiating a split of this range at key /Table/11 [r8]\r\nI171018 19:57:20.222519 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}\r\nI171018 19:57:20.224502 21 storage/replica_command.go:2810 [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]\r\nI171018 19:57:20.229263 21 storage/replica_command.go:2810 [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]\r\nI171018 19:57:20.233766 21 storage/replica_command.go:2810 [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]\r\nI171018 19:57:20.236536 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:1.1-3 User:node}\r\nW171018 19:57:20.237207 670 storage/intent_resolver.go:349 [n1,s1,r1/1:/{Min-System/}]: failed to push during intent resolution: failed to push "split" id=07bcecb7 key=/Local/Range/Table/13/RangeDescriptor rw=true pri=0.02329452 iso=SERIALIZABLE stat=PENDING epo=0 ts=1508356640.233789149,0 orig=1508356640.233789149,0 max=1508356640.233789149,0 wto=false rop=false seq=3\r\nI171018 19:57:20.239179 21 storage/replica_command.go:2810 [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]\r\nI171018 19:57:20.240782 36 sql/event_log.go:103 [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:trace.debug.enable Value:false User:node}\r\nI171018 19:57:20.241648 36 server/server.go:1131 [n1] done ensuring all necessary migrations have run\r\nI171018 19:57:20.241864 36 server/server.go:1133 [n1] serving sql connections\r\nI171018 19:57:20.242145 36 cli/start.go:587 node startup completed:\r\nCockroachDB node starting"
CockroachDB node starting at 2017-10-18 19:57:20.242081277 +0000 UTC (took 0.2s)
.171018 19:57:20.244195584 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
expect: does " at 2017-10-18 19:57:20.242081277 +0000 UTC (took 0.2s)" (spawn_id exp5) match glob pattern ":/# "? no
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://ecf653ac4c4e:8080
sql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable
logs:
store[0]: type=mem,size=954 MiB
status: initialized new cluster
clusterID: ff30f7c1-5223-46cc-bab3-df25db25362b
nodeID: 1
I171018 19:57:20.244688 21 storage/replica_command.go:2810 [split,n1,s1,r12/1:/{Table/15-Max}] initiating a split of this range at key /Table/16 [r13]
I171018 19:57:20.245641 721 sql/event_log.go:103 [n1] Event: "node_join", target: 1, info: {Descriptor:{NodeID:1 Address:{NetworkField:tcp AddressField:ecf653ac4c4e:26257} Attrs: Locality: ServerVersion:1.1-3} ClusterID:ff30f7c1-5223-46cc-bab3-df25db25362b StartedAt:1508356640168783825 LastUp:1508356640168783825}
I171018 19:57:20.248887 21 storage/replica_command.go:2810 [split,n1,s1,r13/1:/{Table/16-Max}] initiating a split of this range at key /Table/17 [r14]
^CI171018 19:57:20.251698 1 cli/start.go:623 received signal 'interrupt'
Note: a second interrupt will skip graceful shutdown and terminate forcefully
I171018 19:57:20.251734 1 cli/start.go:655 initiating graceful shutdown of server
initiating graceful shutdown of server
E171018 19:57:20.252520 22 storage/queue.go:656 [replicate,n1,s1,r13/1:/Table/1{6-7}] range requires a replication change, but lacks a quorum of live replicas (0/1)
I171018 19:57:20.252715 21 storage/replica_command.go:2810 [split,n1,s1,r14/1:/{Table/17-Max}] initiating a split of this range at key /Table/18 [r15]
I171018 19:57:20.252770 686 util/stop/stopper.go:476 quiescing; tasks left:
2 node.Node: batch
1 storage.split: processing replica
1 storage.replicate: purgatory processing replica
1 storage.intentResolver: processing intents
1 storage.intentResolve: resolving intents
1 kv.DistSender: sending partial batch
E171018 19:57:20.252771 221 storage/queue.go:656 [replicate,n1,s1,r5/1:/System/ts{d-e}] range requires a replication change, but lacks a quorum of live replicas (0/1)
W171018 19:57:20.252810 850 storage/replica.go:2708 [n1,s1,r1/1:/{Min-System/}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Meta2/Table/17,/Min), ResolveIntent [/Meta2/Max,/Min)
I171018 19:57:20.252831 686 util/stop/stopper.go:476 quiescing; tasks left:
2 node.Node: batch
1 storage.split: processing replica
1 storage.intentResolver: processing intents
1 storage.intentResolve: resolving intents
1 kv.DistSender: sending partial batch
E171018 19:57:20.252819 21 storage/queue.go:656 [split,n1,s1,r14/1:/{Table/17-Max}] unable to split [n1,s1,r14/1:/{Table/17-Max}] at key "/Table/18": node unavailable; try another peer
W171018 19:57:20.252848 833 storage/replica.go:2708 [n1,s1,r10/1:/Table/1{3-4}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/0,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/2/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/3/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/4/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/5/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/6/1,/Min)
W171018 19:57:20.252947 830 storage/intent_resolver.go:363 [n1,s1,r13/1:/Table/1{6-7}]: failed to resolve intents: result is ambiguous (server shutdown)
I171018 19:57:20.254319 1 cli/start.go:692 server drained and shutdown completed
server drained and shutdown completed
I171018 19:57:20.254358 1 cli/error.go:74 interrupted
Error: interrupted
Failed running "start"
expect: does " at 2017-10-18 19:57:20.242081277 +0000 UTC (took 0.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: \r\nstore[0]: type=mem,size=954 MiB\r\nstatus: initialized new cluster\r\nclusterID: ff30f7c1-5223-46cc-bab3-df25db25362b\r\nnodeID: 1\r\nI171018 19:57:20.244688 21 storage/replica_command.go:2810 [split,n1,s1,r12/1:/{Table/15-Max}] initiating a split of this range at key /Table/16 [r13]\r\nI171018 19:57:20.245641 721 sql/event_log.go:103 [n1] Event: "node_join", target: 1, info: {Descriptor:{NodeID:1 Address:{NetworkField:tcp AddressField:ecf653ac4c4e:26257} Attrs: Locality: ServerVersion:1.1-3} ClusterID:ff30f7c1-5223-46cc-bab3-df25db25362b StartedAt:1508356640168783825 LastUp:1508356640168783825}\r\nI171018 19:57:20.248887 21 storage/replica_command.go:2810 [split,n1,s1,r13/1:/{Table/16-Max}] initiating a split of this range at key /Table/17 [r14]\r\n^CI171018 19:57:20.251698 1 cli/start.go:623 received signal 'interrupt'\r\nNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\nI171018 19:57:20.251734 1 cli/start.go:655 initiating graceful shutdown of server\r\ninitiating graceful shutdown of server\r\nE171018 19:57:20.252520 22 storage/queue.go:656 [replicate,n1,s1,r13/1:/Table/1{6-7}] range requires a replication change, but lacks a quorum of live replicas (0/1)\r\nI171018 19:57:20.252715 21 storage/replica_command.go:2810 [split,n1,s1,r14/1:/{Table/17-Max}] initiating a split of this range at key /Table/18 [r15]\r\nI171018 19:57:20.252770 686 util/stop/stopper.go:476 quiescing; tasks left:\r\n2 node.Node: batch\r\n1 storage.split: processing replica\r\n1 storage.replicate: purgatory processing replica\r\n1 storage.intentResolver: processing intents\r\n1 storage.intentResolve: resolving intents\r\n1 kv.DistSender: sending partial batch\r\nE171018 19:57:20.252771 221 storage/queue.go:656 [replicate,n1,s1,r5/1:/System/ts{d-e}] range requires a replication change, but lacks a quorum of live replicas (0/1)\r\nW171018 19:57:20.252810 850 storage/replica.go:2708 [n1,s1,r1/1:/{Min-System/}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Meta2/Table/17,/Min), ResolveIntent [/Meta2/Max,/Min)\r\nI171018 19:57:20.252831 686 util/stop/stopper.go:476 quiescing; tasks left:\r\n2 node.Node: batch\r\n1 storage.split: processing replica\r\n1 storage.intentResolver: processing intents\r\n1 storage.intentResolve: resolving intents\r\n1 kv.DistSender: sending partial batch\r\nE171018 19:57:20.252819 21 storage/queue.go:656 [split,n1,s1,r14/1:/{Table/17-Max}] unable to split [n1,s1,r14/1:/{Table/17-Max}] at key "/Table/18": node unavailable; try another peer\r\nW171018 19:57:20.252848 833 storage/replica.go:2708 [n1,s1,r10/1:/Table/1{3-4}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/0,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/2/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/3/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/4/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/5/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/6/1,/Min)\r\nW171018 19:57:20.252947 830 storage/intent_resolver.go:363 [n1,s1,r13/1:/Table/1{6-7}]: failed to resolve intents: result is ambiguous (server shutdown)\r\nI171018 19:57:20.254319 1 cli/start.go:692 server drained and shutdown completed\r\nserver drained and shutdown completed\r\nI171018 19:57:20.254358 1 cli/error.go:74 interrupted\r\nError: interrupted\r\nFailed running "start"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at 2017-10-18 19:57:20.242081277 +0000 UTC (took 0.2s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://ecf653ac4c4e:8080\r\nsql: postgresql://root@ecf653ac4c4e:26257?application_name=cockroach&sslmode=disable\r\nlogs: \r\nstore[0]: type=mem,size=954 MiB\r\nstatus: initialized new cluster\r\nclusterID: ff30f7c1-5223-46cc-bab3-df25db25362b\r\nnodeID: 1\r\nI171018 19:57:20.244688 21 storage/replica_command.go:2810 [split,n1,s1,r12/1:/{Table/15-Max}] initiating a split of this range at key /Table/16 [r13]\r\nI171018 19:57:20.245641 721 sql/event_log.go:103 [n1] Event: "node_join", target: 1, info: {Descriptor:{NodeID:1 Address:{NetworkField:tcp AddressField:ecf653ac4c4e:26257} Attrs: Locality: ServerVersion:1.1-3} ClusterID:ff30f7c1-5223-46cc-bab3-df25db25362b StartedAt:1508356640168783825 LastUp:1508356640168783825}\r\nI171018 19:57:20.248887 21 storage/replica_command.go:2810 [split,n1,s1,r13/1:/{Table/16-Max}] initiating a split of this range at key /Table/17 [r14]\r\n^CI171018 19:57:20.251698 1 cli/start.go:623 received signal 'interrupt'\r\nNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\nI171018 19:57:20.251734 1 cli/start.go:655 initiating graceful shutdown of server\r\ninitiating graceful shutdown of server\r\nE171018 19:57:20.252520 22 storage/queue.go:656 [replicate,n1,s1,r13/1:/Table/1{6-7}] range requires a replication change, but lacks a quorum of live replicas (0/1)\r\nI171018 19:57:20.252715 21 storage/replica_command.go:2810 [split,n1,s1,r14/1:/{Table/17-Max}] initiating a split of this range at key /Table/18 [r15]\r\nI171018 19:57:20.252770 686 util/stop/stopper.go:476 quiescing; tasks left:\r\n2 node.Node: batch\r\n1 storage.split: processing replica\r\n1 storage.replicate: purgatory processing replica\r\n1 storage.intentResolver: processing intents\r\n1 storage.intentResolve: resolving intents\r\n1 kv.DistSender: sending partial batch\r\nE171018 19:57:20.252771 221 storage/queue.go:656 [replicate,n1,s1,r5/1:/System/ts{d-e}] range requires a replication change, but lacks a quorum of live replicas (0/1)\r\nW171018 19:57:20.252810 850 storage/replica.go:2708 [n1,s1,r1/1:/{Min-System/}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Meta2/Table/17,/Min), ResolveIntent [/Meta2/Max,/Min)\r\nI171018 19:57:20.252831 686 util/stop/stopper.go:476 quiescing; tasks left:\r\n2 node.Node: batch\r\n1 storage.split: processing replica\r\n1 storage.intentResolver: processing intents\r\n1 storage.intentResolve: resolving intents\r\n1 kv.DistSender: sending partial batch\r\nE171018 19:57:20.252819 21 storage/queue.go:656 [split,n1,s1,r14/1:/{Table/17-Max}] unable to split [n1,s1,r14/1:/{Table/17-Max}] at key "/Table/18": node unavailable; try another peer\r\nW171018 19:57:20.252848 833 storage/replica.go:2708 [n1,s1,r10/1:/Table/1{3-4}] shutdown cancellation after 0.0s of attempting command ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/0,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/2/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/3/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/4/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/5/1,/Min), ResolveIntent [/Table/13/1/2017-10-18T19:57:20.248905Z/289296352053428225/6/1,/Min)\r\nW171018 19:57:20.252947 830 storage/intent_resolver.go:363 [n1,s1,r13/1:/Table/1{6-7}]: failed to resolve intents: result is ambiguous (server shutdown)\r\nI171018 19:57:20.254319 1 cli/start.go:692 server drained and shutdown completed\r\nserver drained and shutdown completed\r\nI171018 19:57:20.254358 1 cli/error.go:74 interrupted\r\nError: interrupted\r\nFailed running "start"\r\n:/# "
:/#
.171018 19:57:20.653872893 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit 0\r" to { exp5 }
exit 0
exit
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "exit 0\r\nexit\r\n"
=== RUN TestDockerCLI/test_high_verbosity.tcl
=== RUN TestDockerCLI/test_high_verbosity.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_high_verbosity.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_high_verbosity.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_high_verbosity.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
I171018 19:57:23.212793 1 base/config.go:468 temp disk storage: starting monitor, reserved 0 B, pool (none)
*
* WARNING: RUNNING IN INSECURE MODE!
*
* - Your cluster is open for any client that can access <all your IP addresses>.
* - Any user, even root, can log in without providing a password.
* - Any user, connecting as root, can read or write any data in your cluster.
* - There is no network encryption nor authentication, and thus no confidentiality.
*
* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
*
CockroachDB node starting at 2017-10-18 19:57:25.206935145 +0000 UTC (took 2.0s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://6b8188357516:8080
sql: postgresql://root@6b8188357516:26257?application_name=cockroach&sslmode=disable
logs: /logs/db/logs
store[0]: path=/logs/db
status: initialized new cluster
clusterID: 27650832-bfc5-41e4-b2d0-afb6431d0066
nodeID: 1
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --verbosity 3 --pid-file=pid_fifo -s=path=logs/db & cat pid_fifo > server_pid) = 2
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {36}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\nroot@6b8188357516:/# PS" (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@6b8188357516:/# "
root@6b8188357516:/# PS
.171018 19:57:25.216681979 EXPECT TEST: START TEST: Check that queries using tables can complete without error.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that queries using tables can complete without error.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "echo 'create database d; create table d.t(x int); insert into d.t values(1); select x from d.t;' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "PS" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# " (spawn_id exp5) match glob pattern "1 row"? no
1=':''/# '
expect: does "PS1=':''/# '\r\n:/# e" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# ec" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# ech" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo '" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'cr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'cre" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'crea" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'creat" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create d" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create da" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create dat" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create data" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create datab" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create databa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create databas" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d;" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; cr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; cre" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; crea" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; creat" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create t" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create ta" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create tab" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create tabl" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d." (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x i" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x in" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int)" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int);" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); i" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); in" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); ins" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); inse" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); inser" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert i" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert in" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert int" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d." (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t v" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t va" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t val" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t valu" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t value" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1)" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r s" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r se" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r sel" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r sele" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r selec" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x f" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x fr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x fro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d." (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;'" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' |" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /co" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /coc" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cock" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroac" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/co" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/coc" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cock" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroac" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach s" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach sq" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach sql" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "1 row"? no
select x from d.t;' | /cockroach/cockroach sql int); insert into d.t values(1);
x
1
# 1 row
expect: does "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach sql\r\nx\r\n1\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# echo 'create database d; create table d.t(x int); insert into d.t values(1); \r select x from d.t;' | /cockroach/cockroach sql\r\nx\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
send: sending "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (sel" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select a" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select arr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1," (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2," (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3])" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) a" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /co" (spawn_id exp5) match glob pattern "1 row"? no
h sqlcho 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cock" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroac" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/co" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cock" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \r" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \rh" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \rh sql" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \rh sql\r\n" (spawn_id exp5) match glob pattern "1 row"? no
x[1]
1
# 1 row
expect: does "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \rh sql\r\nx[1]\r\n1\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo 'select x[1] from (select array[1,2,3]) as t(x);' | /cockroach/cockroac \rh sql\r\nx[1]\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
:/#
.171018 19:57:25.744973195 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:25.801163888 EXPECT TEST: START TEST: Check that the node is alive.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that the node is alive.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach node status\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach nod" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node sta" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status" (spawn_id exp5) match glob pattern ":/# "? no
/cockroach/cockroach node status
expect: does "/cockroach/cockroach node status\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+" (spawn_id exp5) match glob pattern ":/# "? no
+----+--------------------+----------------------------------+---------------------+---------------------+
| id | address | build | updated_at | started_at |
+----+--------------------+----------------------------------+---------------------+---------------------+
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| " (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | " (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d" (spawn_id exp5) match glob pattern ":/# "? no
| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23 |
+----+--------------------+----------------------------------+---------------------+---------------------+
(1 row)
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23 |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23 |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n(1 row)\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23 |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n(1 row)\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach node status\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| id | address | build | updated_at | started_at |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n| 1 | 6b8188357516:26257 | v1.2-alpha.20170901-903-gca0836d | 2017-10-18 19:57:23 | 2017-10-18 19:57:23 |\r\n+----+--------------------+----------------------------------+---------------------+---------------------+\r\n(1 row)\r\n:/# "
send: sending "echo $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "\r\n0\r\n"? no
expect: does "echo $?\r\n0\r\n:/# " (spawn_id exp5) match glob pattern "\r\n0\r\n"? yes
expect: set expect_out(0,string) "\r\n0\r\n"
:/# echo $?
0
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo $?\r\n0\r\n"
expect: does ":/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":/# "
:/#
.171018 19:57:25.908007756 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:25.959218432 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
W171018 19:57:26.160093 34 vendor/google.golang.org/grpc/clientconn.go:1034 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:26257: operation was canceled"; Reconnecting to {localhost:26257 <nil>}
ok
W171018 19:57:26.160142 34 vendor/google.golang.org/grpc/clientconn.go:1156 grpc: addrConn.transportMonitor exits due to: grpc: the connection is closing
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:27.176391316 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_history.tcl
=== RUN TestDockerCLI/test_history.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_history.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_history.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_history.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:57:30.137531597 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:57:32.426761768 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /cockroach/cockroach sql
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {91}
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
send: sending "select 1;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "1 row"? no
root@:26257/> select 1;
expect: does ":26257/> select 1;\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\ns" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nse" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nsel" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nsele" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselec" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect " (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;" (spawn_id exp5) match glob pattern "1 row"? no
select 1;
expect: does ":26257/> select 1;\r\nselect 1;\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+" (spawn_id exp5) match glob pattern "1 row"? no
+---+
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n|" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |" (spawn_id exp5) match glob pattern "1 row"? no
| 1 |
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+" (spawn_id exp5) match glob pattern "1 row"? no
+---+
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n|" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| " (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 " (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n" (spawn_id exp5) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select 1;\r\nselect 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 2.074107ms" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 2.074107ms\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 2.074107ms\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 2.074107ms\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 2.074107ms\r\n\r\nroot@"
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that last line can be recalled with arrow-up' | tee -a logs/expect-cmd.log) = 2
| 1 |
+---+
(1 row)
Time: 2.074107ms
root@:26257/>
.171018 19:57:32.526746112 EXPECT TEST: START TEST: Test that last line can be recalled with arrow-up
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u001b[A" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "select 1;"? no
expect: does ":26257/> select 1;" (spawn_id exp5) match glob pattern "select 1;"? yes
expect: set expect_out(0,string) "select 1;"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select 1;"
select 1;
.171018 19:57:32.594815546 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:32.657706462 EXPECT TEST: START TEST: Test that recalled last line can be executed
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that recalled last line can be executed' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "\r\n" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 |
+---+
| 1 |
+---+
(1 row)
Time: 489.502µs
expect: does "\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 489.502\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 489.502\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 489.502\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:57:32.727506402 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:32.793349229 EXPECT TEST: START TEST: Test that we can recall a previous line with Ctrl+R
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that we can recall a previous line with Ctrl+R' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "foo;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "syntax error"? no
expect: does ":26257/> foo;\r\ninvalid syntax: " (spawn_id exp5) match glob pattern "syntax error"? no
foo;
expect: does ":26257/> foo;\r\ninvalid syntax: statement ignored: syntax error at or near "foo"" (spawn_id exp5) match glob pattern "syntax error"? yes
expect: set expect_out(0,string) "syntax error"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> foo;\r\ninvalid syntax: statement ignored: syntax error"
expect: does " at or near "foo"" (spawn_id exp5) match glob pattern "root@"? no
invalid syntax: statement ignored: syntax error at or near "foo"
DETAIL: source SQL:
foo;
^
expect: does " at or near "foo"\r\nDETAIL: source SQL:\r\nfoo;\r\n^\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does " at or near "foo"\r\nDETAIL: source SQL:\r\nfoo;\r\n^\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at or near "foo"\r\nDETAIL: source SQL:\r\nfoo;\r\n^\r\nroot@"
send: sending "\u0012sel" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "select 1;"? no
expect: does ":26257/> \u001b[65C \rbck:\u001b[A\u001b[10C" (spawn_id exp5) match glob pattern "select 1;"? no
expect: does ":26257/> \u001b[65C \rbck:\u001b[A\u001b[10C\u001b[65C bck:s\u001b[A\u001b[9Cselect 1;\u001b[9D" (spawn_id exp5) match glob pattern "select 1;"? yes
expect: set expect_out(0,string) "select 1;"
expect: set expect_out(spawn_id) "exp5" select 1;
.171018 19:57:32.848573618 EXPECT TEST: END TEST65C \rbck:\u001b[A\u001b[10C\u bck:s5C bck:s\u001b[A\u001b[9Cselect 1;"
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:32.911743036 EXPECT TEST: START TEST: Test that recalled previous line can be executed
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that recalled previous line can be executed' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\r" to { exp5 }
expect: does "\u001b[9D" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 | bck:se
+---+
| 1 |
+---+
(1 row)
Time: 341.602µs
expect: does "\u001b[9D\u001b[65C bck:se\u001b[A\u001b[8C\u001b[65C b\u001b[5Cl\u001b[A\u001b[7C\u001b[65C b\r\u001b[K\u001b[A\u001b[14C\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 341.602\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\u001b[9D\u001b[65C bck:se\u001b[A\u001b[8C\u001b[65C b\u001b[5Cl\u001b[A\u001b[7C\u001b[65C b\r\u001b[K\u001b[A\u001b[14C\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 341.602\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 341.602\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 341.602\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:57:32.967861429 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:33.030111443 EXPECT TEST: START TEST: Test that last recalled line becomes top of history
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that last recalled line becomes top of history' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u001b[A" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "select 1;"? no
expect: does ":26257/> select 1;" (spawn_id exp5) match glob pattern "select 1;"? yes
expect: set expect_out(0,string) "select 1;"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select 1;"
select 1;
.171018 19:57:33.083401326 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:33.139499019 EXPECT TEST: START TEST: Test that client cannot terminate with Ctrl+D while cursor is on recalled line
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that client cannot terminate with Ctrl+D while cursor is on recalled line' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:33.199451425 EXPECT TEST: EOF TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'EOF TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0004" to { exp5 }
send: sending "\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
+---+
| 1 |
+---+
| 1 |
+---+
(1 row)
Time: 311.301µs
expect: does "\u0007\u0007\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 311.301\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\u0007\u0007\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 311.301\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 311.301\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:57:33.663368020 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:33.696897135 EXPECT TEST: START TEST: Test that Ctrl+D does terminate client on empty line
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that Ctrl+D does terminate client on empty line' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:33.729407447 EXPECT TEST: EOF TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'EOF TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0004" to { exp5 }
^D
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> ^D\r\n"
.171018 19:57:34.163856941 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:34.197465056 EXPECT TEST: START TEST: Test that history is preserved across runs
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that history is preserved across runs' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /cockroach/cockroach sql
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {703}
expect: does "" (spawn_id exp6) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp6) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n" (spawn_id exp6) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 88ffa97f-0205-4452-a5d5-a73c887c605b\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
send: sending "\u001b[A" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "select 1;"? no
expect: does ":26257/> select 1;" (spawn_id exp6) match glob pattern "select 1;"? yes
expect: set expect_out(0,string) "select 1;"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select 1;"
root@:26257/> select 1;
.171018 19:57:34.272525714 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:34.305932329 EXPECT TEST: START TEST: Test that the client cannot terminate with Ctrl+C while cursor is on recalled line
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that the client cannot terminate with Ctrl+C while cursor is on recalled line' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:34.338073940 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp6 }
send: sending "\rselect 1;\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern "1 row"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "1 row"? no
root@:26257/>
expect: does "\r\nroot@:26257/> \r\n" (spawn_id exp6) match glob pattern "1 row"? no
expect: does "\r\nroot@:26257/> \r\nroot@:26257/> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 259.301\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@:26257/> \r\nroot@:26257/> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 259.301\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ")\r\n\r\nTime: 259.301\u00b5s\r\n\r\nroot@"
root@:26257/> select 1;
+---+
| 1 |
+---+
| 1 |
+---+
(1 row)
Time: 259.301µs
root@:26257/>
.171018 19:57:34.772174632 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:34.804932345 EXPECT TEST: START TEST: Test that two statements on the same line can be recalled together.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Test that two statements on the same line can be recalled together.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select 2; select 3;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "1 row"? no
select 2; select 3;
expect: does ":26257/> select 2; select 3;\r\n" (spawn_id exp6) match glob pattern "1 row"? no
+---+
| 2 |
+---+
| 2 |
+---+
(1 row)
Time: 522.402µs
+---+
| 3 |
+---+
| 3 |
+---+
(1 row)
Time: 64.3µs
expect: does ":26257/> select 2; select 3;\r\n+---+\r\n| 2 |\r\n" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ":26257/> select 2; select 3;\r\n+---+\r\n| 2 |\r\n+---+\r\n| 2 |\r\n+" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ":26257/> select 2; select 3;\r\n+---+\r\n| 2 |\r\n+---+\r\n| 2 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 522.402\u00b5s\r\n\r\n+---+\r\n| 3 |" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select 2; select 3;\r\n+---+\r\n| 2 |\r\n+---+\r\n| 2 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 522.402\u00b5s\r\n\r\n+---+\r\n| 3 |" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ")\r\n\r\nTime: 522.402\u00b5s\r\n\r\n+---+\r\n| 3 |\r\n+---+\r\n| 3 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 64.3\u00b5s\r\n\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ")\r\n\r\nTime: 522.402\u00b5s\r\n\r\n+---+\r\n| 3 |\r\n+---+\r\n| 3 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\nTime: 64.3\u00b5s\r\n\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 64.3\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ")\r\n\r\nTime: 64.3\u00b5s\r\n\r\nroot@"
send: sending "\u001b[A" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "select 2; select 3;"? no
expect: does ":26257/> select 2; select 3;" (spawn_id exp6) match glob pattern "select 2; select 3;"? yes
expect: set expect_out(0,string) "select 2; select 3;"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select 2; select 3;"
send: sending "\r" to { exp6 }
expect: does "" (spawn_id exp6) match glob pattern "1 row"? no
root@:26257/> select 2; select 3;
expect: does "\r\n" (spawn_id exp6) match glob pattern "1 row"? no
+---+
| 2 |
+---+
| 2 |
+---+
(1 row)
Time: 290.801µs
+---+
| 3 |
+---+
| 3 |
+---+
(1 row)
Time: 63.4µs
expect: does "\r\n+---+\r\n| 2 |\r\n+" (spawn_id exp6) match glob pattern "1 row"? no
expect: does "\r\n+---+\r\n| 2 |\r\n+---+\r\n| 2 |\r\n+---+\r\n(1 row)" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\n+---+\r\n| 2 |\r\n+---+\r\n| 2 |\r\n+---+\r\n(1 row"
expect: does ")" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ")\r\n\r\nTime: 290.801\u00b5s\r\n\r\n+---+\r\n| 3 |\r\n+---+\r\n| 3 |\r\n+---+\r\n(1 row)\r\n\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ")\r\n\r\nTime: 290.801\u00b5s\r\n\r\n+---+\r\n| 3 |\r\n+---+\r\n| 3 |\r\n+---+\r\n(1 row"
expect: does ")\r\n\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 63.4\u00b5s\r\n\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 63.4\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ")\r\n\r\nTime: 63.4\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:57:34.859452932 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:34.891909744 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp6 }
Error: interrupted
Failed running "sql"
expect: read eof
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \r\nError: interrupted\r\nFailed running "sql"\r\n"
.171018 19:57:35.325491835 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:36.423853212 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_last_statement.tcl
=== RUN TestDockerCLI/test_last_statement.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_last_statement.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_last_statement.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_last_statement.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:57:39.178293283 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:57:41.282066117 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {93}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@0855757ab3c7:/# PS1" (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@0855757ab3c7:/# "
root@0855757ab3c7:/# PS1=':''/# '
send: sending "/cockroach/cockroach sql\r" to { exp5 }
expect: does "PS1" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /c" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockro" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cock" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroa" (spawn_id exp5) match glob pattern "root@"? no
:/# /cockroach/cockroach sql
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach " (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# /cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
root@:26257/>
.171018 19:57:41.376695242 EXPECT TEST: START TEST: Check that an error in the last statement is propagated to the shell.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that an error in the last statement is propagated to the shell.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select ++;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "syntax error"? no
select ++;
expect: does ":26257/> select ++;\r\n" (spawn_id exp5) match glob pattern "syntax error"? no
invalid syntax: statement ignored: syntax error at or near ";"
DETAIL: source SQL:
select ++;
^
HINT: try \h SELECT
expect: does ":26257/> select ++;\r\ninvalid syntax: statement ignored: syntax error at or near ";"\r\nDETAIL: source SQL:\r\nselect ++;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "syntax error"? yes
expect: set expect_out(0,string) "syntax error"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select ++;\r\ninvalid syntax: statement ignored: syntax error"
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect ++;\r\n ^\r\nHINT: try \h SELECT\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does " at or near ";"\r\nDETAIL: source SQL:\r\nselect ++;\r\n ^\r\nHINT: try \h SELECT\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at or near ";"\r\nDETAIL: source SQL:\r\nselect ++;\r\n ^\r\nHINT: try \h SELECT\r\nroot@"
send: sending "\q\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern ":/# "? no
root@:26257/> \q
expect: does ":26257/> \q\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ":26257/> \q\r\nError: invalid syntax" (spawn_id exp5) match glob pattern ":/# "? no
Error: invalid syntax
Failed running "sql"
expect: does ":26257/> \q\r\nError: invalid syntax\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ":26257/> \q\r\nError: invalid syntax\r\nFailed running "sql"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \q\r\nError: invalid syntax\r\nFailed running "sql"\r\n:/# "
send: sending "echo hello $?\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "hello 1"? no
expect: does "echo" (spawn_id exp5) match glob pattern "hello 1"? no
expect: does "echo hel" (spawn_id exp5) match glob pattern "hello 1"? no
expect: does "echo hello " (spawn_id exp5) match glob pattern "hello 1"? no
expect: does "echo hello $?\r\n" (spawn_id exp5) match glob pattern "hello 1"? no
:/# echo hello $?
hello 1
expect: does "echo hello $?\r\nhello 1\r\n" (spawn_id exp5) match glob pattern "hello 1"? yes
expect: set expect_out(0,string) "hello 1"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo hello $?\r\nhello 1"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
:/#
.171018 19:57:41.440434161 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:41.497253257 EXPECT TEST: START TEST: Check that an incomplete last statement in interactive mode is not executed.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that an incomplete last statement in interactive mode is not executed.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroac" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql" (spawn_id exp5) match glob pattern "root@"? no
/cockroach/cockroach sql
expect: does "/cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
send: sending "drop database if exists t cascade; create database t; create table t.foo(x int);\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "CREATE TABLE"? no
expect: does ":26257/> drop database if exists t cascade; create database t;" (spawn_id exp5) match glob pattern "CREATE TABLE"? no
expect: does ":26257/> drop database if exists t cascade; create database t; " (spawn_id exp5) match glob pattern "CREATE TABLE"? no
expect: does ":26257/> drop database if exists t cascade; create database t; create tabl" (spawn_id exp5) match glob pattern "CREATE TABLE"? no
root@:26257/> drop database if exists t cascade; create database t; create table t.foo(x int);
expect: does ":26257/> drop database if exists t cascade; create database t; create table \u0008 t.foo(x int);\r\n" (spawn_id exp5) match glob pattern "CREATE TABLE"? no
expect: does ":26257/> drop database if exists t cascade; create database t; create table \u0008 t.foo(x int);\r\nCREATE TABLE" (spawn_id exp5) match glob pattern "CREATE TABLE"? yes
expect: set expect_out(0,string) "CREATE TABLE"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> drop database if exists t cascade; create database t; create table \u0008 t.foo(x int);\r\nCREATE TABLE"
CREATE TABLE
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\nTime: 247.553251ms" (spawn_id exp5) match glob pattern "root@"? no
Time: 247.553251ms
expect: does "\r\n\r\nTime: 247.553251ms\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\nTime: 247.553251ms\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "\r\n\r\nTime: 247.553251ms\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime: 247.553251ms\r\n\r\nroot@"
send: sending "insert into t.foo(x) values (42)\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern " ->"? no
root@:26257/> insert into t.foo(x) values (42)
expect: does ":26257/> insert into t.foo(x) values (42)\r\n" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ni" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\nin" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\nins" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninse" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninser" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert " (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert i" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert in" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert int" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into " (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t." (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.f" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.fo" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x)" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) " (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) v" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) va" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) val" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) valu" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) value" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values " (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (4" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (42" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (42)" (spawn_id exp5) match glob pattern " ->"? no
insert into t.foo(x) values (42)
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (42)\r\n" (spawn_id exp5) match glob pattern " ->"? no
expect: does ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (42)\r\n -> " (spawn_id exp5) match glob pattern " ->"? yes
expect: set expect_out(0,string) " ->"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> insert into t.foo(x) values (42)\r\ninsert into t.foo(x) values (42)\r\n ->"
->
.171018 19:57:41.839429833 EXPECT TEST: EOF TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'EOF TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0004" to { exp5 }
expect: does " " (spawn_id exp5) match glob pattern ":/# "? no
expect: does " ^D\r\n" (spawn_id exp5) match glob pattern ":/# "? no
^D
expect: does " ^D\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " ^D\r\n:/# "
send: sending "/cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "root@"? no
:/# /cockroach/cockroach sql
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n" (spawn_id exp5) match glob pattern "root@"? no
#
# Enter \? for a brief introduction.
#
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach sql\r\n# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 6a91d8bc-d10d-442f-97a9-4ed01298939c\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
send: sending "select * from t.foo;\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
root@:26257/> select * from t.foo;
expect: does ":26257/> select * from t.foo;\r\n+" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+" (spawn_id exp5) match glob pattern "0 rows"? no
+---+
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n|" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |" (spawn_id exp5) match glob pattern "0 rows"? no
| x |
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+" (spawn_id exp5) match glob pattern "0 rows"? no
+---+
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n+" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n+---+" (spawn_id exp5) match glob pattern "0 rows"? no
+---+
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n+---+\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n+---+\r\n(0 rows)" (spawn_id exp5) match glob pattern "0 rows"? yes
expect: set expect_out(0,string) "0 rows"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select * from t.foo;\r\n+---+\r\n| x |\r\n+---+\r\n+---+\r\n(0 rows"
expect: does ")" (spawn_id exp5) match glob pattern "root@"? no
(0 rows)
expect: does ")\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 53.341383ms" (spawn_id exp5) match glob pattern "root@"? no
Time: 53.341383ms
expect: does ")\r\n\r\nTime: 53.341383ms\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 53.341383ms\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does ")\r\n\r\nTime: 53.341383ms\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ")\r\n\r\nTime: 53.341383ms\r\n\r\nroot@"
send: sending "\q\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern ":/# "? no
root@:26257/> \q
expect: does ":26257/> \q\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ":26257/> \q\r\n\" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ":26257/> \q\r\n\q" (spawn_id exp5) match glob pattern ":/# "? no
\q
expect: does ":26257/> \q\r\n\q\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ":26257/> \q\r\n\q\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \q\r\n\q\r\n:/# "
:/#
.171018 19:57:42.398096154 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:42.431136368 EXPECT TEST: START TEST: Check that an incomplete last statement in non-interactive mode is not executed, and fails with a warning. #8838
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that an incomplete last statement in non-interactive mode is not executed, and fails with a warning. #8838' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert " (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert i" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into " (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t." (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) va" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) value" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' |" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /c" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /coc" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockr" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockro" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/co" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockr" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroac" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach " (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sq" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sql
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
missing semicolon at end of statement: insert into t.foo(x) values (42)
expect: does "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sql\r\nmissing semicolon at end of statement: insert into t.foo(x) values (42)\r\n" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? yes
expect: set expect_out(0,string) "missing semicolon at end of statement"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo 'insert into t.foo(x) values (42)' | /cockroach/cockroach sql\r\nmissing semicolon at end of statement"
expect: does ": insert into t.foo(x) values (42)\r\n" (spawn_id exp5) match glob pattern ":/# "? no
Error: last statement was not executed: insert into t.foo(x) values (42)
Failed running "sql"
expect: does ": insert into t.foo(x) values (42)\r\nError: last statement was not executed: insert into t.foo(x) values (42)\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ": insert into t.foo(x) values (42)\r\nError: last statement was not executed: insert into t.foo(x) values (42)\r\nFailed running "sql"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ": insert into t.foo(x) values (42)\r\nError: last statement was not executed: insert into t.foo(x) values (42)\r\nFailed running "sql"\r\n:/# "
:/#
.171018 19:57:42.503089915 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:42.536377530 EXPECT TEST: START TEST: Check that a final comment after a missing semicolon and without newline is properly ignored. #9482
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a final comment after a missing semicolon and without newline is properly ignored. #9482' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) va" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) val" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values " (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)-" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;'" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockr" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockroach/" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockro" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach " (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach sql
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? no
expect: does "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach sql\r\nmissing semicolon at end of statement: insert into t.foo(x) values (42)--;" (spawn_id exp5) match glob pattern "missing semicolon at end of statement"? yes
expect: set expect_out(0,string) "missing semicolon at end of statement"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo 'insert into t.foo(x) values (42)--;' | /cockroach/cockroach sql\r\nmissing semicolon at end of statement"
expect: does ": insert into t.foo(x) values (42)--;" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ": insert into t.foo(x) values (42)--;\r\n" (spawn_id exp5) match glob pattern ":/# "? no
missing semicolon at end of statement: insert into t.foo(x) values (42)--;
expect: does ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;" (spawn_id exp5) match glob pattern ":/# "? no
Error: last statement was not executed: insert into t.foo(x) values (42)--;
expect: does ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;\r\n" (spawn_id exp5) match glob pattern ":/# "? no
Failed running "sql"
expect: does ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;\r\nFailed running "sql"" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;\r\nFailed running "sql"\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;\r\nFailed running "sql"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ": insert into t.foo(x) values (42)--;\r\nError: last statement was not executed: insert into t.foo(x) values (42)--;\r\nFailed running "sql"\r\n:/# "
send: sending "echo 'select * from t.foo;' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * f" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from " (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.fo" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' |" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /c" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /coc" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockro" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroac" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/co" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cock" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockr" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroa" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroac" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach s" (spawn_id exp5) match glob pattern "0 rows"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sq" (spawn_id exp5) match glob pattern "0 rows"? no
:/# echo 'select * from t.foo;' | /cockroach/cockroach sql
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "0 rows"? no
x
# 0 rows
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\nx\r\n# 0 rows\r\n" (spawn_id exp5) match glob pattern "0 rows"? yes
expect: set expect_out(0,string) "0 rows"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\nx\r\n# 0 rows"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
:/#
.171018 19:57:42.648605216 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:42.711825133 EXPECT TEST: START TEST: Check that a complete last statement terminated with a semicolon just before EOF and without a newline is properly executed. #7328
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a complete last statement terminated with a semicolon just before EOF and without a newline is properly executed. #7328' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.f" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x)" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) val" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(4" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(42);" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(42);' | /coc" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(42);' | /cockroach/coc" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach " (spawn_id exp5) match glob pattern "INSERT"? no
printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach sql
expect: does "printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "INSERT"? no
expect: does "printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach sql\r\nINSERT 1" (spawn_id exp5) match glob pattern "INSERT"? yes
expect: set expect_out(0,string) "INSERT"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "printf 'insert into t.foo(x) values(42);' | /cockroach/cockroach sql\r\nINSERT"
expect: does " 1" (spawn_id exp5) match glob pattern ":/# "? no
INSERT 1
expect: does " 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does " 1\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " 1\r\n:/# "
send: sending "echo 'select * from t.foo;' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'sel" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * f" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * fro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.f" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /c" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /co" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockr" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/co" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cock" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockro" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroa" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroac" (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach " (spawn_id exp5) match glob pattern "1 row"? no
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sq" (spawn_id exp5) match glob pattern "1 row"? no
:/# echo 'select * from t.foo;' | /cockroach/cockroach sql
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "1 row"? no
x
42
# 1 row
expect: does "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\nx\r\n42\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "echo 'select * from t.foo;' | /cockroach/cockroach sql\r\nx\r\n42\r\n# 1 row"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
:/#
.171018 19:57:42.840579076 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:42.897763373 EXPECT TEST: START TEST: Check that a final comment after a final statement does not cause an error message. #9482
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a final comment after a final statement does not cause an error message. #9482' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "printf 'select 1;-- final comment' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'sele" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;--" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final " (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comme" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' |" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /co" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /cockroa" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /cockroach/c" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /cockroach/cockr" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /cockroach/cockroach" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
printf 'select 1;-- final comment' | /cockroach/cockroach sql
expect: does "printf 'select 1;-- final comment' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
1
1
# 1 row
expect: does "printf 'select 1;-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n:/# " (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? yes
expect: set expect_out(0,string) "1\r\n1\r\n# 1 row\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "printf 'select 1;-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n:/# "
:/#
.171018 19:57:42.968545616 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:43.001365129 EXPECT TEST: START TEST: Check that a final comment does not cause an error message. #9243
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a final comment does not cause an error message. #9243' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final co" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment'" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /co" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroac" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/co" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroa" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sq" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
printf 'select 1;\n-- final comment' | /cockroach/cockroach sql
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
1
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
1
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
# 1 row
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? no
expect: does "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n:/# " (spawn_id exp5) match glob pattern "1\r\n1\r\n# 1 row\r\n:/# "? yes
expect: set expect_out(0,string) "1\r\n1\r\n# 1 row\r\n:/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "printf 'select 1;\n-- final comment' | /cockroach/cockroach sql\r\n1\r\n1\r\n# 1 row\r\n:/# "
:/#
.171018 19:57:43.084851916 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit\r" to { exp5 }
exit
exit
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "exit\r\nexit\r\n"
.171018 19:57:43.119160234 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
W171018 19:57:43.243143 21 vendor/google.golang.org/grpc/clientconn.go:1034 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp [::1]:26257: getsockopt: connection refused"; Reconnecting to {localhost:26257 <nil>}
W171018 19:57:43.243266 21 vendor/google.golang.org/grpc/clientconn.go:1156 grpc: addrConn.transportMonitor exits due to: context canceled
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:44.252434831 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_local_cmds.tcl
=== RUN TestDockerCLI/test_local_cmds.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_local_cmds.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_local_cmds.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_local_cmds.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
.171018 19:57:47.261641379 EXPECT TEST: BEGIN START SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN START SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
system(mkfifo pid_fifo || true; /cockroach/cockroach start --insecure --pid-file=pid_fifo --background -s=path=logs/db >>logs/expect-cmd.log 2>&1 & cat pid_fifo > server_pid) = 2
.171018 19:57:49.409888467 EXPECT TEST: START SERVER DONE
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START SERVER DONE' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
spawn /cockroach/cockroach sql
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {90}
expect: does "" (spawn_id exp5) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n" (spawn_id exp5) match glob pattern "root@"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
root@:26257/>
.171018 19:57:49.501856783 EXPECT TEST: START TEST: Check that times are displayed by default on interactive terminals.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that times are displayed by default on interactive terminals.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select 1;\r" to { exp5 }
select 1;
expect: does ":26257/> " (spawn_id exp5) match glob pattern "(1 row)"? no
expect: does ":26257/> select 1;\r\n" (spawn_id exp5) match glob pattern "(1 row)"? no
+---+
| 1 |
+---+
expect: does ":26257/> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1" (spawn_id exp5) match glob pattern "(1 row)"? no
expect: does ":26257/> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)\r\n\r\nTime: 424.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "(1 row)"? yes
expect: set expect_out(0,string) "(1 row)"
| 1 |
+---+
(1 row)
Time: 424.901µs
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> select 1;\r\n+---+\r\n| 1 |\r\n+---+\r\n| 1 |\r\n+---+\r\n(1 row)"
expect: does "\r\n\r\nTime: 424.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "Time:"? yes
expect: set expect_out(0,string) "Time:"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n\r\nTime:"
expect: does " 424.901\u00b5s\r\n\r\n" (spawn_id exp5) match glob pattern "root@"? no
expect: does " 424.901\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " 424.901\u00b5s\r\n\r\nroot@"
root@:26257/>
.171018 19:57:49.558663078 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:49.614759771 EXPECT TEST: START TEST: Check that \? prints the help text.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \? prints the help text.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\?\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "You are using"? no
\?
expect: does ":26257/> \?\r\n" (spawn_id exp5) match glob pattern "You are using"? no
You are using 'cockroach sql', CockroachDB's lightweight SQL client.
Type:
\q to exit (Ctrl+C/Ctrl+D also supported)
\! CMD run an external command and print its results on standard output.
\| CMD run an external command and run its output as SQL statements.
\set [NAME] set a client-side flag or (without argument) print the current settings.
\unset NAME unset a flag.
\show during a multi-line statement or transaction, show the SQL entered so far.
expect: does ":26257/> \?\r\nYou are using 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help." (spawn_id exp5) match glob pattern "You are using"? yes
expect: set expect_out(0,string) "You are using"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \?\r\nYou are using"
expect: does " 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help." (spawn_id exp5) match glob pattern "More documentation"? no
\? or "help" print this help.
\h [NAME] help on syntax of SQL commands.
\hf [NAME] help on SQL built-in functions.
More documentation about our SQL dialect and the CLI shell is available online:
https://www.cockroachlabs.com/docs/v1.2/sql-statements.html
https://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html
expect: does " 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "More documentation"? yes
expect: set expect_out(0,string) "More documentation"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation"
expect: does " about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\nroot@"
root@:26257/>
.171018 19:57:49.671114465 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:49.729807267 EXPECT TEST: START TEST: Check that \! invokes external commands.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \! invokes external commands.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\! echo -n he; echo llo\r" to { exp5 }
expect: does ":26257/> " (spawn_id exp5) match glob pattern "hello"? no
expect: does ":26257/> \! echo -n he; echo l" (spawn_id exp5) match glob pattern "hello"? no
\! echo -n he; echo llo
expect: does ":26257/> \! echo -n he; echo llo\r\n" (spawn_id exp5) match glob pattern "hello"? no
hello
expect: does ":26257/> \! echo -n he; echo llo\r\nhello\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "hello"? yes
expect: set expect_out(0,string) "hello"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \! echo -n he; echo llo\r\nhello"
expect: does "\r\nroot@:26257/> " (spawn_id exp5) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:57:49.783817453 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:49.850281581 EXPECT TEST: START TEST: Check that \q terminates the client.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \q terminates the client.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\q\r" to { exp5 }
\q
expect: read eof
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ":26257/> \q\r\n"
spawn /cockroach/cockroach sql --format=tsv
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {353}
expect: does "" (spawn_id exp6) match glob pattern "root@"? no
# Welcome to the cockroach SQL interface.
# All statements must be terminated by a semicolon.
# To exit: CTRL + D.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n" (spawn_id exp6) match glob pattern "root@"? no
# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)
# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e
#
# Enter \? for a brief introduction.
#
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "# Welcome to the cockroach SQL interface.\r\n# All statements must be terminated by a semicolon.\r\n# To exit: CTRL + D.\r\n#\r\n# Server version: CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9) (same version as client)\r\n# Cluster ID: 2bb9a335-3707-40fa-8bb5-565764ea8d7e\r\n#\r\n# Enter \? for a brief introduction.\r\n#\r\nroot@"
root@:26257/>
.171018 19:57:49.956365246 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.014486746 EXPECT TEST: START TEST: Check that \| reads statements.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \| reads statements.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\| echo 'select '; echo '38 + 4;'\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "42"? no
\| echo 'select '; echo '38 + 4;'
expect: does ":26257/> \| echo 'select '; echo '38 + 4;'\r\n" (spawn_id exp6) match glob pattern "42"? no
38 + 4
42
# 1 row
expect: does ":26257/> \| echo 'select '; echo '38 + 4;'\r\n38 + 4\r\n42\r\n# 1 row\r\n" (spawn_id exp6) match glob pattern "42"? yes
expect: set expect_out(0,string) "42"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \| echo 'select '; echo '38 + 4;'\r\n38 + 4\r\n42"
expect: does "\r\n# 1 row\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\n# 1 row"
expect: does "\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:57:50.097267731 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.154202127 EXPECT TEST: START TEST: Check that \| does not execute upon encountering an error.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \| does not execute upon encountering an error.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\| echo 'create database dontcreate;'; exit 1\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create data" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create databa" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create database don" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create database dontc" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create database dontcre" (spawn_id exp6) match glob pattern "error in external command"? no
expect: does ":26257/> \| echo 'create database dontcreate;'" (spawn_id exp6) match glob pattern "error in external command"? no
\| echo 'create database dontcreate;'; exit 1
expect: does ":26257/> \| echo 'create database dontcreate;'; exit 1\r\n" (spawn_id exp6) match glob pattern "error in external command"? no
command failed: error in external command: exit status 1
expect: does ":26257/> \| echo 'create database dontcreate;'; exit 1\r\ncommand failed: error in external command: exit status 1\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "error in external command"? yes
expect: set expect_out(0,string) "error in external command"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \| echo 'create database dontcreate;'; exit 1\r\ncommand failed: error in external command"
expect: does ": exit status 1\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ": exit status 1\r\nroot@"
send: sending "drop database dontcreate;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "database * does not exist"? no
expect: does ":26257/> drop database dontcre" (spawn_id exp6) match glob pattern "database * does not exist"? no
root@:26257/> drop database dontcreate;
expect: does ":26257/> drop database dontcreate;\r\n" (spawn_id exp6) match glob pattern "database * does not exist"? no
expect: does ":26257/> drop database dontcreate;\r\npq: database "dontcreate" does not exist\r\n" (spawn_id exp6) match glob pattern "database * does not exist"? yes
expect: set expect_out(0,string) "database dontcreate;\r\npq: database "dontcreate" does not exist"
pq: database "dontcreate" does not exist
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> drop database dontcreate;\r\npq: database "dontcreate" does not exist"
expect: does "\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:57:50.220542555 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.268948621 EXPECT TEST: START TEST: Check that a buit-in command in between tokens of a statement is processed locally.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a buit-in command in between tokens of a statement is processed locally.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern " ->"? no
select
expect: does ":26257/> select\r\n -> " (spawn_id exp6) match glob pattern " ->"? yes
expect: set expect_out(0,string) " ->"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select\r\n ->"
send: sending "\?\r" to { exp6 }
expect: does " " (spawn_id exp6) match glob pattern " ->"? no
-> \?
You are using 'cockroach sql', CockroachDB's lightweight SQL client.
Type:
\q to exit (Ctrl+C/Ctrl+D also supported)
\! CMD run an external command and print its results on standard output.
\| CMD run an external command and run its output as SQL statements.
\set [NAME] set a client-side flag or (without argument) print the current settings.
\unset NAME unset a flag.
\show during a multi-line statement or transaction, show the SQL entered so far.
\? or "help" print this help.
\h [NAME] help on syntax of SQL commands.
\hf [NAME] help on SQL built-in functions.
More documentation about our SQL dialect and the CLI shell is available online:
https://www.cockroachlabs.com/docs/v1.2/sql-statements.html
https://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html
expect: does " \?\r\nYou are using 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\n -> " (spawn_id exp6) match glob pattern " ->"? yes
expect: set expect_out(0,string) " ->"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " \?\r\nYou are using 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\n ->"
send: sending "1;\r" to { exp6 }
expect: does " " (spawn_id exp6) match glob pattern "1 row"? no
expect: does " 1;\r\n" (spawn_id exp6) match glob pattern "1 row"? no
-> 1;
1
1
# 1 row
expect: does " 1;\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " 1;\r\n1\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:57:50.304826445 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.337803158 EXPECT TEST: START TEST: Check that \set without argument prints the current options
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \set without argument prints the current options' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\set\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "display_format\ttsv"? no
\set
expect: does ":26257/> \set\r\n" (spawn_id exp6) match glob pattern "display_format\ttsv"? no
Option Value
expect: does ":26257/> \set\r\nOption\tValue\r\n" (spawn_id exp6) match glob pattern "display_format\ttsv"? no
expect: does ":26257/> \set\r\nOption\tValue\r\ndisplay_format\ttsv\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n" (spawn_id exp6) match glob pattern "display_format\ttsv"? yes
expect: set expect_out(0,string) "display_format\ttsv"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set\r\nOption\tValue\r\ndisplay_format\ttsv"
expect: does "\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n" (spawn_id exp6) match glob pattern "root@"? no
display_format tsv
errexit false
echo false
check_syntax true
show_times false
smart_prompt true
expect: does "\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@"
# 6 rows
root@:26257/>
.171018 19:57:50.370132869 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.402005779 EXPECT TEST: START TEST: Check that \set display_format properly errors out
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \set display_format properly errors out' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\set display_format blabla\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "invalid table display format"? no
expect: does ":26257/> \set display" (spawn_id exp6) match glob pattern "invalid table display format"? no
expect: does ":26257/> \set display_format" (spawn_id exp6) match glob pattern "invalid table display format"? no
expect: does ":26257/> \set display_format " (spawn_id exp6) match glob pattern "invalid table display format"? no
expect: does ":26257/> \set display_format blabla" (spawn_id exp6) match glob pattern "invalid table display format"? no
expect: does ":26257/> \set display_format blabla\r\n" (spawn_id exp6) match glob pattern "invalid table display format"? no
\set display_format blabla
\set display_format blabla: invalid table display format: blabla (possible values: tsv, csv, pretty, records, sql, html, raw)
expect: does ":26257/> \set display_format blabla\r\n\set display_format blabla: invalid table display format: blabla (possible values: tsv, csv, pretty, records, sql, html, raw)\r\n" (spawn_id exp6) match glob pattern "invalid table display format"? yes
expect: set expect_out(0,string) "invalid table display format"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set display_format blabla\r\n\set display_format blabla: invalid table display format"
expect: does ": blabla (possible values: tsv, csv, pretty, records, sql, html, raw)\r\n" (spawn_id exp6) match glob pattern "html, raw)\r\n"? yes
expect: set expect_out(0,string) "html, raw)\r\n"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ": blabla (possible values: tsv, csv, pretty, records, sql, html, raw)\r\n"
expect: does "" (spawn_id exp6) match glob pattern "root@"? no
expect: does "root@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "root@"
root@:26257/>
.171018 19:57:50.435314293 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.466805602 EXPECT TEST: START TEST: Check that \set can change the display format
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \set can change the display format' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\set display_format csv\r\set\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "display_format,csv"? no
\set display_format csv
root@:26257/> \set
expect: does ":26257/> \set display_format csv\r\nroot@:26257/> \set\r\n" (spawn_id exp6) match glob pattern "display_format,csv"? no
Option,Value
display_format,csv
errexit,false
echo,false
check_syntax,true
show_times,false
smart_prompt,true
# 6 rows
expect: does ":26257/> \set display_format csv\r\nroot@:26257/> \set\r\nOption,Value\r\ndisplay_format,csv\r\nerrexit,false\r\necho,false\r\ncheck_syntax,true\r\nshow_times,false\r\nsmart_prompt,true\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "display_format,csv"? yes
expect: set expect_out(0,string) "display_format,csv"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set display_format csv\r\nroot@:26257/> \set\r\nOption,Value\r\ndisplay_format,csv"
expect: does "\r\nerrexit,false\r\necho,false\r\ncheck_syntax,true\r\nshow_times,false\r\nsmart_prompt,true\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nerrexit,false\r\necho,false\r\ncheck_syntax,true\r\nshow_times,false\r\nsmart_prompt,true\r\n# 6 rows\r\nroot@"
send: sending "\set display_format tsv\r" to { exp6 }
root@:26257/>
.171018 19:57:50.503937729 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.536569942 EXPECT TEST: START TEST: Check that a built-in command in the middle of a token (eg a string) is processed locally.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that a built-in command in the middle of a token (eg a string) is processed locally.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select 'hello\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern " ->"? no
\set display_format tsv
root@:26257/> select 'hello
expect: does ":26257/> \set display_format tsv\r\nroot@:26257/> select 'hello\r\n -> " (spawn_id exp6) match glob pattern " ->"? yes
expect: set expect_out(0,string) " ->"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set display_format tsv\r\nroot@:26257/> select 'hello\r\n ->"
send: sending "\?\r" to { exp6 }
expect: does " " (spawn_id exp6) match glob pattern " ->"? no
-> \?
You are using 'cockroach sql', CockroachDB's lightweight SQL client.
Type:
\q to exit (Ctrl+C/Ctrl+D also supported)
\! CMD run an external command and print its results on standard output.
\| CMD run an external command and run its output as SQL statements.
\set [NAME] set a client-side flag or (without argument) print the current settings.
\unset NAME unset a flag.
\show during a multi-line statement or transaction, show the SQL entered so far.
\? or "help" print this help.
\h [NAME] help on syntax of SQL commands.
\hf [NAME] help on SQL built-in functions.
More documentation about our SQL dialect and the CLI shell is available online:
https://www.cockroachlabs.com/docs/v1.2/sql-statements.html
https://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html
expect: does " \?\r\nYou are using 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\n -> " (spawn_id exp6) match glob pattern " ->"? yes
expect: set expect_out(0,string) " ->"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " \?\r\nYou are using 'cockroach sql', CockroachDB's lightweight SQL client.\r\nType:\r\n \q to exit (Ctrl+C/Ctrl+D also supported)\r\n \! CMD run an external command and print its results on standard output.\r\n \| CMD run an external command and run its output as SQL statements.\r\n \set [NAME] set a client-side flag or (without argument) print the current settings.\r\n \unset NAME unset a flag.\r\n \show during a multi-line statement or transaction, show the SQL entered so far.\r\n \? or "help" print this help.\r\n \h [NAME] help on syntax of SQL commands.\r\n \hf [NAME] help on SQL built-in functions.\r\n\r\nMore documentation about our SQL dialect and the CLI shell is available online:\r\nhttps://www.cockroachlabs.com/docs/v1.2/sql-statements.html\r\nhttps://www.cockroachlabs.com/docs/v1.2/use-the-built-in-sql-client.html\r\n ->"
send: sending "world';\r" to { exp6 }
expect: does " " (spawn_id exp6) match glob pattern "hello\\nworld"? no
-> world';
expect: does " world';\r\n" (spawn_id exp6) match glob pattern "hello\\nworld"? no
e'hello\nworld'
"hello
world"
# 1 row
expect: does " world';\r\ne'hello\nworld'\r\n"hello\r\nworld"\r\n# 1 row\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "hello\\nworld"? yes
expect: set expect_out(0,string) "hello\nworld"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " world';\r\ne'hello\nworld"
expect: does "'\r\n"hello\r\nworld"\r\n# 1 row\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "'\r\n"hello\r\nworld"\r\n# 1 row"
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@"
root@:26257/>
.171018 19:57:50.601477465 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.633400675 EXPECT TEST: START TEST: Check that \set can change the display of query times
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \set can change the display of query times' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "select 1;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "1 row"? no
select 1;
expect: does ":26257/> select 1;\r\n" (spawn_id exp6) match glob pattern "1 row"? no
1
1
# 1 row
expect: does ":26257/> select 1;\r\n1\r\n1\r\n# 1 row\r\n" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select 1;\r\n1\r\n1\r\n# 1 row"
expect: does "\r\n" (spawn_id exp6) match glob pattern "Time:"? no
"root@"? no
expect: does "\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "Time:"? no
"root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nroot@"
send: sending "\set show_times\r\set\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "show_times\ttrue"? no
expect: does ":26257/> \set show_" (spawn_id exp6) match glob pattern "show_times\ttrue"? no
root@:26257/> \set show_times
expect: does ":26257/> \set show_times\r\n" (spawn_id exp6) match glob pattern "show_times\ttrue"? no
expect: does ":26257/> \set show_times\r\nroot@:26257/> \set\r\n" (spawn_id exp6) match glob pattern "show_times\ttrue"? no
root@:26257/> \set
Option Value
display_format tsv
errexit false
echo false
check_syntax true
show_times true
smart_prompt true
# 6 rows
expect: does ":26257/> \set show_times\r\nroot@:26257/> \set\r\nOption\tValue\r\ndisplay_format\ttsv\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\ttrue\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "show_times\ttrue"? yes
expect: set expect_out(0,string) "show_times\ttrue"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set show_times\r\nroot@:26257/> \set\r\nOption\tValue\r\ndisplay_format\ttsv\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\ttrue"
expect: does "\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@"
send: sending "select 1;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "1 row"? no
root@:26257/> select 1;
expect: does ":26257/> select 1;\r\n" (spawn_id exp6) match glob pattern "1 row"? no
1
expect: does ":26257/> select 1;\r\n1" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\n1\r\n" (spawn_id exp6) match glob pattern "1 row"? no
1
expect: does ":26257/> select 1;\r\n1\r\n1" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\n1\r\n1\r\n" (spawn_id exp6) match glob pattern "1 row"? no
expect: does ":26257/> select 1;\r\n1\r\n1\r\n# 1 row" (spawn_id exp6) match glob pattern "1 row"? yes
expect: set expect_out(0,string) "1 row"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> select 1;\r\n1\r\n1\r\n# 1 row"
expect: does "" (spawn_id exp6) match glob pattern "Time:"? no
# 1 row
expect: does "\r\n" (spawn_id exp6) match glob pattern "Time:"? no
expect: does "\r\n\r\n" (spawn_id exp6) match glob pattern "Time:"? no
expect: does "\r\n\r\nTime: 643.402\u00b5s" (spawn_id exp6) match glob pattern "Time:"? yes
expect: set expect_out(0,string) "Time:"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\n\r\nTime:"
expect: does " 643.402\u00b5s" (spawn_id exp6) match glob pattern "root@"? no
Time: 643.402µs
expect: does " 643.402\u00b5s\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does " 643.402\u00b5s\r\n\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does " 643.402\u00b5s\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " 643.402\u00b5s\r\n\r\nroot@"
send: sending "\unset show_times\r" to { exp6 }
root@:26257/>
.171018 19:57:50.678709230 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.710246839 EXPECT TEST: START TEST: Check that \h with invalid commands print a reminder.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \h with invalid commands print a reminder.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\h invalid\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "no help available"? no
expect: does ":26257/> \unset show_times\r\n\unset show_times\r\nroot@:26257/> \h invalid\r\n" (spawn_id exp6) match glob pattern "no help available"? no
\unset show_times
\unset show_times
root@:26257/> \h invalid
no help available for "invalid".
Try \h with no argument to see available help.
expect: does ":26257/> \unset show_times\r\n\unset show_times\r\nroot@:26257/> \h invalid\r\nno help available for "invalid".\r\nTry \h with no argument to see available help.\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "no help available"? yes
expect: set expect_out(0,string) "no help available"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \unset show_times\r\n\unset show_times\r\nroot@:26257/> \h invalid\r\nno help available"
expect: does " for "invalid".\r\nTry \h with no argument to see available help.\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "Try"? yes
expect: set expect_out(0,string) "Try"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " for "invalid".\r\nTry"
expect: does " \h with no argument to see available help.\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "with no argument"? yes
expect: set expect_out(0,string) "with no argument"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " \h with no argument"
expect: does " to see available help.\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " to see available help.\r\nroot@"
root@:26257/>
.171018 19:57:50.756204997 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.798070341 EXPECT TEST: START TEST: Check that \h with no argument prints a full list.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \h with no argument prints a full list.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\h\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "TRUNCATE"? no
\h
Configuration:
DISCARD reset the session to its initial state
RESET reset a session variable to its default value
RESET CLUSTER SETTING reset a cluster setting to its default value
SET CLUSTER SETTING change a cluster setting
SET SESSION change a session variable
SHOW CLUSTER SETTING display cluster settings
SHOW SESSION display session variables
SHOW TRANSACTION display current transaction properties
Data Manipulation:
<SELECTCLAUSE> access tabular data
<SOURCE> define a data source for SELECT
DELETE delete rows from a table
INSERT create new rows in a table
SELECT retrieve rows from a data source and compute a result
TABLE select an entire table
TRUNCATE empty one or more tables
UPDATE update rows of a table
UPSERT create or replace rows in a table
VALUES select a given set of values
Enterprise Features:
BACKUP back up data to external storage
IMPORT load data from file in a distributed manner
RESTORE restore data from external storage
SHOW BACKUP list backup contents
Miscellaneous:
CANCEL JOB cancel a background job
CANCEL QUERY cancel a running query
DEALLOCATE remove a prepared statement
EXECUTE execute a statement prepared previously
EXPLAIN show the logical plan of a query
PAUSE JOB pause a background job
PREPARE prepare a statement for later execution
RESUME JOB resume a background job
SHOW JOBS list background jobs
SHOW QUERIES list running queries
SHOW SESSIONS list open client sessions
SHOW TRACE display an execution trace
Privileges And Security:
CREATE USER define a new user
DROP USER remove a user
GRANT define access privileges
REVOKE remove access privileges
SHOW GRANTS list grants
SHOW USERS list defined users
Schema Manipulation:
ALTER DATABASE change the definition of a database
ALTER INDEX change the definition of an index
ALTER TABLE change the definition of a table
ALTER VIEW change the definition of a view
CREATE DATABASE create a new database
CREATE INDEX create a new index
CREATE TABLE create a new table
CREATE VIEW create a new view
DROP DATABASE remove a database
DROP INDEX remove an index
DROP TABLE remove a table
DROP VIEW remove a view
SHOW COLUMNS list columns in relation
SHOW CONSTRAINTS list constraints
SHOW CREATE TABLE display the CREATE TABLE statement for a table
SHOW CREATE VIEW display the CREATE VIEW statement for a view
SHOW DATABASES list databases
SHOW INDEXES list indexes
SHOW TABLES list tables
Transaction Control:
BEGIN start a transaction
COMMIT commit the current transaction
RELEASE complete a retryable block
ROLLBACK abort the current transaction
SAVEPOINT start a retryable block
SET TRANSACTION configure the transaction settings
expect: does ":26257/> \h\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "TRUNCATE"? yes
expect: set expect_out(0,string) "TRUNCATE"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \h\r\nConfiguration:\r\n DISCARD reset the session to its initial state\r\n RESET reset a session variable to its default value\r\n RESET CLUSTER SETTING reset a cluster setting to its default value\r\n SET CLUSTER SETTING change a cluster setting\r\n SET SESSION change a session variable\r\n SHOW CLUSTER SETTING display cluster settings\r\n SHOW SESSION display session variables\r\n SHOW TRANSACTION display current transaction properties\r\n\r\nData Manipulation:\r\n <SELECTCLAUSE> access tabular data\r\n <SOURCE> define a data source for SELECT\r\n DELETE delete rows from a table\r\n INSERT create new rows in a table\r\n SELECT retrieve rows from a data source and compute a result\r\n TABLE select an entire table\r\n TRUNCATE"
expect: does " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " empty one or more tables\r\n UPDATE update rows of a table\r\n UPSERT create or replace rows in a table\r\n VALUES select a given set of values\r\n\r\nEnterprise Features:\r\n BACKUP back up data to external storage\r\n IMPORT load data from file in a distributed manner\r\n RESTORE restore data from external storage\r\n SHOW"
expect: does " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "ROLLBACK"? yes
expect: set expect_out(0,string) "ROLLBACK"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " BACKUP list backup contents\r\n\r\nMiscellaneous:\r\n CANCEL JOB cancel a background job\r\n CANCEL QUERY cancel a running query\r\n DEALLOCATE remove a prepared statement\r\n EXECUTE execute a statement prepared previously\r\n EXPLAIN show the logical plan of a query\r\n PAUSE JOB pause a background job\r\n PREPARE prepare a statement for later execution\r\n RESUME JOB resume a background job\r\n SHOW JOBS list background jobs\r\n SHOW QUERIES list running queries\r\n SHOW SESSIONS list open client sessions\r\n SHOW TRACE display an execution trace\r\n\r\nPrivileges And Security:\r\n CREATE USER define a new user\r\n DROP USER remove a user\r\n GRANT define access privileges\r\n REVOKE remove access privileges\r\n SHOW GRANTS list grants\r\n SHOW USERS list defined users\r\n\r\nSchema Manipulation:\r\n ALTER DATABASE change the definition of a database\r\n ALTER INDEX change the definition of an index\r\n ALTER TABLE change the definition of a table\r\n ALTER VIEW change the definition of a view\r\n CREATE DATABASE create a new database\r\n CREATE INDEX create a new index\r\n CREATE TABLE create a new table\r\n CREATE VIEW create a new view\r\n DROP DATABASE remove a database\r\n DROP INDEX remove an index\r\n DROP TABLE remove a table\r\n DROP VIEW remove a view\r\n SHOW COLUMNS list columns in relation\r\n SHOW CONSTRAINTS list constraints\r\n SHOW CREATE TABLE display the CREATE TABLE statement for a table\r\n SHOW CREATE VIEW display the CREATE VIEW statement for a view\r\n SHOW DATABASES list databases\r\n SHOW INDEXES list indexes\r\n SHOW TABLES list tables\r\n\r\nTransaction Control:\r\n BEGIN start a transaction\r\n COMMIT commit the current transaction\r\n RELEASE complete a retryable block\r\n ROLLBACK"
expect: does " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " abort the current transaction\r\n SAVEPOINT start a retryable block\r\n SET TRANSACTION configure the transaction settings\r\n\r\nroot@"
root@:26257/>
.171018 19:57:50.831221455 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.862807463 EXPECT TEST: START TEST: Check that \h with a known statement prints details.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \h with a known statement prints details.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\h select\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "Command:"? no
\h select
Command: SELECT
Description: retrieve rows from a data source and compute a result
Category: data manipulation
Syntax:
SELECT [DISTINCT]
expect: does ":26257/> \h select\r\nCommand: SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "Command:"? yes
expect: set expect_out(0,string) "Command:"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \h select\r\nCommand:"
expect: does " SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "SELECT"? yes
expect: set expect_out(0,string) "SELECT"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " SELECT"
expect: does "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "data manipulation"? yes
expect: set expect_out(0,string) "data manipulation"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation"
expect: does "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "FROM"? yes
expect: set expect_out(0,string) "FROM"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM"
expect: does " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "ORDER BY"? yes
expect: set expect_out(0,string) "ORDER BY"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY"
expect: does " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@"
{ <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]
[ FROM <source> ]
[ WHERE <expr> ]
[ GROUP BY <expr> [ , ... ] ]
[ HAVING <expr> ]
[ WINDOW <name> AS ( <definition> ) ]
[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
[ ORDER BY <expr> [ ASC | DESC ] [, ...] ]
[ LIMIT { <expr> | ALL } ]
[ OFFSET <expr> [ ROW | ROWS ] ]
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
https://www.cockroachlabs.com/docs/v1.2/select.html
root@:26257/>
.171018 19:57:50.895362675 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:50.927046384 EXPECT TEST: START TEST: Check that \h with a documented clause name prints details.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \h with a documented clause name prints details.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\h <source>\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "Command:"? no
\h <source>
expect: does ":26257/> \h <source>\r\n" (spawn_id exp6) match glob pattern "Command:"? no
Command: <SOURCE>
Description: define a data source for SELECT
Category: data manipulation
Syntax:
expect: does ":26257/> \h <source>\r\nCommand: <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\n" (spawn_id exp6) match glob pattern "Command:"? yes
expect: set expect_out(0,string) "Command:"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \h <source>\r\nCommand:"
expect: does " <SOURCE>\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\n" (spawn_id exp6) match glob pattern "<SOURCE>"? yes
expect: set expect_out(0,string) "<SOURCE>"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " <SOURCE>"
expect: does "\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation\r\nSyntax:\r\n" (spawn_id exp6) match glob pattern "data manipulation"? yes
expect: set expect_out(0,string) "data manipulation"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nDescription: define a data source for SELECT\r\nCategory: data manipulation"
expect: does "\r\nSyntax:\r\n" (spawn_id exp6) match glob pattern "JOIN"? no
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
expect: does "\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "JOIN"? yes
expect: set expect_out(0,string) "JOIN"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nSyntax:\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN"
expect: does " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "SHOW"? yes
expect: set expect_out(0,string) "SHOW"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW"
expect: does " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "See also"? yes
expect: set expect_out(0,string) "See also"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also"
expect: does ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n\r\nroot@"
root@:26257/>
.171018 19:57:50.979273664 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:51.011666275 EXPECT TEST: START TEST: Check that \hf without argument prints a list.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \hf without argument prints a list.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\hf\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "abs"? no
\hf
expect: does ":26257/> \hf\r\n" (spawn_id exp6) match glob pattern "abs"? no
abbrev
abs
acos
age
anyelement_in
anyelement_out
anyelement_recv
anyelement_send
array_agg
array_append
array_cat
array_in
array_length
array_lower
array_out
array_position
array_positions
array_prepend
array_recv
array_remove
array_replace
array_send
array_upper
ascii
asin
atan
atan2
avg
bool_and
bool_or
boolin
boolout
boolrecv
boolsend
broadcast
btrim
byteain
byteaout
bytearecv
byteasend
cbrt
ceil
ceiling
clock_timestamp
cluster_logical_timestamp
col_description
concat
concat_agg
concat_ws
cos
cot
count
count_rows
crc32c
crc32ieee
crdb_internal.cluster_id
crdb_internal.force_error
crdb_internal.force_log_fatal
crdb_internal.force_panic
crdb_internal.force_retry
crdb_internal.no_constant_folding
crdb_internal.set_vmodule
crdb_internal.unary_table
cume_dist
current_database
current_date
current_schema
current_schemas
current_timestamp
current_user
date_in
date_out
date_recv
date_send
date_trunc
decode
degrees
dense_rank
div
encode
exp
experimental_strftime
experimental_strptime
experimental_uuid_v4
extract
extract_duration
family
final_stddev
final_variance
first_value
float4in
float4out
float4recv
float4send
float8in
float8out
float8recv
float8send
floor
fnv32
fnv32a
fnv64
fnv64a
format_type
from_ip
from_uuid
generate_series
greatest
host
hostmask
inet_same_family
inetin
inetout
inetrecv
inetsend
initcap
int2in
int2out
int2recv
int2send
int2vectorin
int2vectorout
int2vectorrecv
int2vectorsend
int4in
int4out
int4recv
int4send
int8in
int8out
int8recv
int8send
interval_in
interval_out
interval_recv
interval_send
isnan
json_remove_path
lag
last_value
lead
least
left
length
ln
log
lower
ltrim
masklen
max
md5
min
mod
namein
nameout
namerecv
namesend
netmask
now
nth_value
ntile
numeric_in
numeric_out
numeric_recv
numeric_send
obj_description
octet_length
oid
oidin
oidout
oidrecv
oidsend
overlay
percent_rank
pg_advisory_unlock
pg_backend_pid
pg_encoding_to_char
pg_get_expr
pg_get_indexdef
pg_get_keywords
pg_get_userbyid
pg_get_viewdef
pg_table_is_visible
pg_try_advisory_lock
pg_typeof
pi
pow
power
radians
random
rank
record_in
record_out
record_recv
record_send
regclassin
regclassout
regclassrecv
regclasssend
regexp_extract
regexp_replace
regnamespacein
regnamespaceout
regnamespacerecv
regnamespacesend
regprocedurein
regprocedureout
regprocedurerecv
regproceduresend
regprocin
regprocout
regprocrecv
regprocsend
regtypein
regtypeout
regtyperecv
regtypesend
repeat
replace
reverse
right
round
row_number
rtrim
set_masklen
sha1
sha256
sha512
shobj_description
expect: does ":26257/> \hf\r\nabbrev\r\n" (spawn_id exp6) match glob pattern "abs"? no
expect: does ":26257/> \hf\r\nabbrev\r\nabs\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg" (spawn_id exp6) match glob pattern "abs"? yes
expect: set expect_out(0,string) "abs"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \hf\r\nabbrev\r\nabs"
expect: does "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg" (spawn_id exp6) match glob pattern "count"? no
expect: does "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg\r\narray_append\r\narray_cat\r\narray_in\r\narray_length\r\narray_lower\r\narray_out\r\narray_position\r\narray_positions\r\narray_prepend\r\narray_recv\r\narray_remove\r\narray_replace\r\narray_send\r\narray_upper\r\nascii\r\nasin\r\natan\r\natan2\r\navg\r\nbool_and\r\nbool_or\r\nboolin\r\n" (spawn_id exp6) match glob pattern "count"? no
expect: does "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg\r\narray_append\r\narray_cat\r\narray_in\r\narray_length\r\narray_lower\r\narray_out\r\narray_position\r\narray_positions\r\narray_prepend\r\narray_recv\r\narray_remove\r\narray_replace\r\narray_send\r\narray_upper\r\nascii\r\nasin\r\natan\r\natan2\r\navg\r\nbool_and\r\nbool_or\r\nboolin\r\nboolout\r\nboolrecv\r\nboolsend\r\nbroadcast\r\nbtrim\r\nbyteain\r\n" (spawn_id exp6) match glob pattern "count"? no
expect: does "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg\r\narray_append\r\narray_cat\r\narray_in\r\narray_length\r\narray_lower\r\narray_out\r\narray_position\r\narray_positions\r\narray_prepend\r\narray_recv\r\narray_remove\r\narray_replace\r\narray_send\r\narray_upper\r\nascii\r\nasin\r\natan\r\natan2\r\navg\r\nbool_and\r\nbool_or\r\nboolin\r\nboolout\r\nboolrecv\r\nboolsend\r\nbroadcast\r\nbtrim\r\nbyteain\r\nbyteaout\r\nbytearecv\r\nbyteasend\r\ncbrt\r\nceil\r\nceiling\r\nclock_timestamp\r\ncluster_logical_timestamp\r\ncol_description" (spawn_id exp6) match glob pattern "count"? no
expect: does "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg\r\narray_append\r\narray_cat\r\narray_in\r\narray_length\r\narray_lower\r\narray_out\r\narray_position\r\narray_positions\r\narray_prepend\r\narray_recv\r\narray_remove\r\narray_replace\r\narray_send\r\narray_upper\r\nascii\r\nasin\r\natan\r\natan2\r\navg\r\nbool_and\r\nbool_or\r\nboolin\r\nboolout\r\nboolrecv\r\nboolsend\r\nbroadcast\r\nbtrim\r\nbyteain\r\nbyteaout\r\nbytearecv\r\nbyteasend\r\ncbrt\r\nceil\r\nceiling\r\nclock_timestamp\r\ncluster_logical_timestamp\r\ncol_description\r\nconcat\r\nconcat_agg\r\nconcat_ws\r\ncos\r\ncot\r\ncount\r\ncount_rows" (spawn_id exp6) match glob pattern "count"? yes
expect: set expect_out(0,string) "count"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nacos\r\nage\r\nanyelement_in\r\nanyelement_out\r\nanyelement_recv\r\nanyelement_send\r\narray_agg\r\narray_append\r\narray_cat\r\narray_in\r\narray_length\r\narray_lower\r\narray_out\r\narray_position\r\narray_positions\r\narray_prepend\r\narray_recv\r\narray_remove\r\narray_replace\r\narray_send\r\narray_upper\r\nascii\r\nasin\r\natan\r\natan2\r\navg\r\nbool_and\r\nbool_or\r\nboolin\r\nboolout\r\nboolrecv\r\nboolsend\r\nbroadcast\r\nbtrim\r\nbyteain\r\nbyteaout\r\nbytearecv\r\nbyteasend\r\ncbrt\r\nceil\r\nceiling\r\nclock_timestamp\r\ncluster_logical_timestamp\r\ncol_description\r\nconcat\r\nconcat_agg\r\nconcat_ws\r\ncos\r\ncot\r\ncount"
expect: does "\r\ncount_rows" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof\r\npi\r\npow\r\npower\r\nradians\r\nrandom\r\nrank\r\nrecord_in\r\nrecord_out\r\nrecord_recv\r\nrecord_send\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof\r\npi\r\npow\r\npower\r\nradians\r\nrandom\r\nrank\r\nrecord_in\r\nrecord_out\r\nrecord_recv\r\nrecord_send\r\nregclassin\r\nregclassout\r\nregclassrecv\r\nregclasssend\r\nregexp_extract\r\nregexp_replace\r\nregnamespacein\r\nregnamespaceout\r\nregnamespacerecv\r\n" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof\r\npi\r\npow\r\npower\r\nradians\r\nrandom\r\nrank\r\nrecord_in\r\nrecord_out\r\nrecord_recv\r\nrecord_send\r\nregclassin\r\nregclassout\r\nregclassrecv\r\nregclasssend\r\nregexp_extract\r\nregexp_replace\r\nregnamespacein\r\nregnamespaceout\r\nregnamespacerecv\r\nregnamespacesend\r\nregprocedurein\r\nregprocedureout\r\nregprocedurerecv\r\nregproceduresend\r\nregprocin\r\nregprocout\r\nregprocrecv\r\nregprocsend\r\nregtypein\r\nregtypeout\r\nregtyperecv\r\nregtypesend" (spawn_id exp6) match glob pattern "round"? no
expect: does "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof\r\npi\r\npow\r\npower\r\nradians\r\nrandom\r\nrank\r\nrecord_in\r\nrecord_out\r\nrecord_recv\r\nrecord_send\r\nregclassin\r\nregclassout\r\nregclassrecv\r\nregclasssend\r\nregexp_extract\r\nregexp_replace\r\nregnamespacein\r\nregnamespaceout\r\nregnamespacerecv\r\nregnamespacesend\r\nregprocedurein\r\nregprocedureout\r\nregprocedurerecv\r\nregproceduresend\r\nregprocin\r\nregprocout\r\nregprocrecv\r\nregprocsend\r\nregtypein\r\nregtypeout\r\nregtyperecv\r\nregtypesend\r\nrepeat\r\nreplace\r\nreverse\r\nright\r\nround\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\n" (spawn_id exp6) match glob pattern "round"? yes
expect: set expect_out(0,string) "round"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\ncount_rows\r\ncrc32c\r\ncrc32ieee\r\ncrdb_internal.cluster_id\r\ncrdb_internal.force_error\r\ncrdb_internal.force_log_fatal\r\ncrdb_internal.force_panic\r\ncrdb_internal.force_retry\r\ncrdb_internal.no_constant_folding\r\ncrdb_internal.set_vmodule\r\ncrdb_internal.unary_table\r\ncume_dist\r\ncurrent_database\r\ncurrent_date\r\ncurrent_schema\r\ncurrent_schemas\r\ncurrent_timestamp\r\ncurrent_user\r\ndate_in\r\ndate_out\r\ndate_recv\r\ndate_send\r\ndate_trunc\r\ndecode\r\ndegrees\r\ndense_rank\r\ndiv\r\nencode\r\nexp\r\nexperimental_strftime\r\nexperimental_strptime\r\nexperimental_uuid_v4\r\nextract\r\nextract_duration\r\nfamily\r\nfinal_stddev\r\nfinal_variance\r\nfirst_value\r\nfloat4in\r\nfloat4out\r\nfloat4recv\r\nfloat4send\r\nfloat8in\r\nfloat8out\r\nfloat8recv\r\nfloat8send\r\nfloor\r\nfnv32\r\nfnv32a\r\nfnv64\r\nfnv64a\r\nformat_type\r\nfrom_ip\r\nfrom_uuid\r\ngenerate_series\r\ngreatest\r\nhost\r\nhostmask\r\ninet_same_family\r\ninetin\r\ninetout\r\ninetrecv\r\ninetsend\r\ninitcap\r\nint2in\r\nint2out\r\nint2recv\r\nint2send\r\nint2vectorin\r\nint2vectorout\r\nint2vectorrecv\r\nint2vectorsend\r\nint4in\r\nint4out\r\nint4recv\r\nint4send\r\nint8in\r\nint8out\r\nint8recv\r\nint8send\r\ninterval_in\r\ninterval_out\r\ninterval_recv\r\ninterval_send\r\nisnan\r\njson_remove_path\r\nlag\r\nlast_value\r\nlead\r\nleast\r\nleft\r\nlength\r\nln\r\nlog\r\nlower\r\nltrim\r\nmasklen\r\nmax\r\nmd5\r\nmin\r\nmod\r\nnamein\r\nnameout\r\nnamerecv\r\nnamesend\r\nnetmask\r\nnow\r\nnth_value\r\nntile\r\nnumeric_in\r\nnumeric_out\r\nnumeric_recv\r\nnumeric_send\r\nobj_description\r\noctet_length\r\noid\r\noidin\r\noidout\r\noidrecv\r\noidsend\r\noverlay\r\npercent_rank\r\npg_advisory_unlock\r\npg_backend_pid\r\npg_encoding_to_char\r\npg_get_expr\r\npg_get_indexdef\r\npg_get_keywords\r\npg_get_userbyid\r\npg_get_viewdef\r\npg_table_is_visible\r\npg_try_advisory_lock\r\npg_typeof\r\npi\r\npow\r\npower\r\nradians\r\nrandom\r\nrank\r\nrecord_in\r\nrecord_out\r\nrecord_recv\r\nrecord_send\r\nregclassin\r\nregclassout\r\nregclassrecv\r\nregclasssend\r\nregexp_extract\r\nregexp_replace\r\nregnamespacein\r\nregnamespaceout\r\nregnamespacerecv\r\nregnamespacesend\r\nregprocedurein\r\nregprocedureout\r\nregprocedurerecv\r\nregproceduresend\r\nregprocin\r\nregprocout\r\nregprocrecv\r\nregprocsend\r\nregtypein\r\nregtypeout\r\nregtyperecv\r\nregtypesend\r\nrepeat\r\nreplace\r\nreverse\r\nright\r\nround"
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\nto_hex\r\nto_ip\r\nto_uuid\r\ntransaction_timestamp\r\ntranslate\r\ntrunc\r\nunique_rowid\r\nunnest\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\nto_hex\r\nto_ip\r\nto_uuid\r\ntransaction_timestamp\r\ntranslate\r\ntrunc\r\nunique_rowid\r\nunnest\r\nupper\r\nuuid_in\r\nuuid_out\r\nuuid_recv\r\nuuid_send\r\nuuid_v4\r\nvarcharin\r\nvarcharout\r\nvarcharrecv" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\nto_hex\r\nto_ip\r\nto_uuid\r\ntransaction_timestamp\r\ntranslate\r\ntrunc\r\nunique_rowid\r\nunnest\r\nupper\r\nuuid_in\r\nuuid_out\r\nuuid_recv\r\nuuid_send\r\nuuid_v4\r\nvarcharin\r\nvarcharout\r\nvarcharrecv\r\nvarcharsend\r\nvariance\r\nversion\r\nxor_agg\r\n\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\nto_hex\r\nto_ip\r\nto_uuid\r\ntransaction_timestamp\r\ntranslate\r\ntrunc\r\nunique_rowid\r\nunnest\r\nupper\r\nuuid_in\r\nuuid_out\r\nuuid_recv\r\nuuid_send\r\nuuid_v4\r\nvarcharin\r\nvarcharout\r\nvarcharrecv\r\nvarcharsend\r\nvariance\r\nversion\r\nxor_agg\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nrow_number\r\nrtrim\r\nset_masklen\r\nsha1\r\nsha256\r\nsha512\r\nshobj_description\r\nsign\r\nsin\r\nsplit_part\r\nsqrdiff\r\nsqrt\r\nstatement_timestamp\r\nstddev\r\nstrpos\r\nsubstr\r\nsubstring\r\nsum\r\nsum_int\r\ntan\r\ntext\r\ntextin\r\ntextout\r\ntextrecv\r\ntextsend\r\ntimestamp_in\r\ntimestamp_out\r\ntimestamp_recv\r\ntimestamp_send\r\ntimestamptz_in\r\ntimestamptz_out\r\ntimestamptz_recv\r\ntimestamptz_send\r\nto_english\r\nto_hex\r\nto_ip\r\nto_uuid\r\ntransaction_timestamp\r\ntranslate\r\ntrunc\r\nunique_rowid\r\nunnest\r\nupper\r\nuuid_in\r\nuuid_out\r\nuuid_recv\r\nuuid_send\r\nuuid_v4\r\nvarcharin\r\nvarcharout\r\nvarcharrecv\r\nvarcharsend\r\nvariance\r\nversion\r\nxor_agg\r\n\r\nroot@"
sign
sin
split_part
sqrdiff
sqrt
statement_timestamp
stddev
strpos
substr
substring
sum
sum_int
tan
text
textin
textout
textrecv
textsend
timestamp_in
timestamp_out
timestamp_recv
timestamp_send
timestamptz_in
timestamptz_out
timestamptz_recv
timestamptz_send
to_english
to_hex
to_ip
to_uuid
transaction_timestamp
translate
trunc
unique_rowid
unnest
upper
uuid_in
uuid_out
uuid_recv
uuid_send
uuid_v4
varcharin
varcharout
varcharrecv
varcharsend
variance
version
xor_agg
root@:26257/>
.171018 19:57:51.044613089 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:51.076442898 EXPECT TEST: START TEST: Check that \hf with an invalid function name prints an error.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that \hf with an invalid function name prints an error.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\hf invalid\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "no help available"? no
expect: does ":26257/> \hf invalid\r\n" (spawn_id exp6) match glob pattern "no help available"? no
\hf invalid
no help available for "invalid".
expect: does ":26257/> \hf invalid\r\nno help available for "invalid".\r\nTry \hf with no argument to see available help.\r\n" (spawn_id exp6) match glob pattern "no help available"? yes
expect: set expect_out(0,string) "no help available"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \hf invalid\r\nno help available"
Try \hf with no argument to see available help.
expect: does " for "invalid".\r\nTry \hf with no argument to see available help.\r\n" (spawn_id exp6) match glob pattern "Try"? yes
expect: set expect_out(0,string) "Try"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " for "invalid".\r\nTry"
expect: does " \hf with no argument to see available help.\r\n" (spawn_id exp6) match glob pattern "with no argument"? yes
expect: set expect_out(0,string) "with no argument"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " \hf with no argument"
expect: does " to see available help.\r\n" (spawn_id exp6) match glob pattern "root@"? no
expect: does " to see available help.\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) " to see available help.\r\nroot@"
root@:26257/>
.171018 19:57:51.108175407 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:51.140211017 EXPECT TEST: START TEST: Check that commands are also recognized with a final semicolon.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that commands are also recognized with a final semicolon.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\set;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "display_format"? no
\set;
expect: does ":26257/> \set;\r\nOption" (spawn_id exp6) match glob pattern "display_format"? no
Option Value
display_format tsv
errexit false
expect: does ":26257/> \set;\r\nOption\tValue\r\ndisplay_format\ttsv\r\nerrexit\tfalse\r\necho" (spawn_id exp6) match glob pattern "display_format"? yes
expect: set expect_out(0,string) "display_format"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \set;\r\nOption\tValue\r\ndisplay_format"
expect: does "\ttsv\r\nerrexit\tfalse\r\necho" (spawn_id exp6) match glob pattern "root@"? no
echo false
check_syntax true
show_times false
smart_prompt true
# 6 rows
expect: does "\ttsv\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\ttsv\r\nerrexit\tfalse\r\necho\tfalse\r\ncheck_syntax\ttrue\r\nshow_times\tfalse\r\nsmart_prompt\ttrue\r\n# 6 rows\r\nroot@"
send: sending "\h select;\r" to { exp6 }
expect: does ":26257/> " (spawn_id exp6) match glob pattern "SELECT"? no
root@:26257/> \h select;
expect: does ":26257/> \h select;\r\n" (spawn_id exp6) match glob pattern "SELECT"? no
Command: SELECT
Description: retrieve rows from a data source and compute a result
Category: data manipulation
Syntax:
SELECT [DISTINCT]
{ <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]
[ FROM <source> ]
[ WHERE <expr> ]
[ GROUP BY <expr> [ , ... ] ]
[ HAVING <expr> ]
[ WINDOW <name> AS ( <definition> ) ]
[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
[ ORDER BY <expr> [ ASC | DESC ] [, ...] ]
[ LIMIT { <expr> | ALL } ]
[ OFFSET <expr> [ ROW | ROWS ] ]
Data sources:
<tablename> [ @ { <idxname> | <indexhint> } ]
<tablefunc> ( <exprs...> )
( { <selectclause> | <source> } )
<source> [AS] <alias> [( <colnames...> )]
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>
<source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )
<source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>
<source> CROSS JOIN <source>
<source> WITH ORDINALITY
'[' EXPLAIN ... ']'
'[' SHOW ... ']'
Index hints:
'{' FORCE_INDEX = <idxname> [, ...] '}'
'{' NO_INDEX_JOIN [, ...] '}'
Select clause:
TABLE <tablename>
VALUES ( <exprs...> ) [ , ... ]
SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]
See also:
expect: does ":26257/> \h select;\r\nCommand: SELECT\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES" (spawn_id exp6) match glob pattern "SELECT"? yes
expect: set expect_out(0,string) "SELECT"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \h select;\r\nCommand: SELECT"
expect: does "\r\nDescription: retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES" (spawn_id exp6) match glob pattern "Description"? yes
expect: set expect_out(0,string) "Description"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "\r\nDescription"
expect: does ": retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES" (spawn_id exp6) match glob pattern "root@"? no
SHOW TABLES
https://www.cockroachlabs.com/docs/v1.2/table-expressions.html
https://www.cockroachlabs.com/docs/v1.2/select.html
expect: does ": retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@:26257/> " (spawn_id exp6) match glob pattern "root@"? yes
expect: set expect_out(0,string) "root@"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ": retrieve rows from a data source and compute a result\r\nCategory: data manipulation\r\nSyntax:\r\nSELECT [DISTINCT]\r\n { <expr> [[AS] <name>] | [ [<dbname>.] <tablename>. ] * } [, ...]\r\n [ FROM <source> ]\r\n [ WHERE <expr> ]\r\n [ GROUP BY <expr> [ , ... ] ]\r\n [ HAVING <expr> ]\r\n [ WINDOW <name> AS ( <definition> ) ]\r\n [ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n [ ORDER BY <expr> [ ASC | DESC ] [, ...] ]\r\n [ LIMIT { <expr> | ALL } ]\r\n [ OFFSET <expr> [ ROW | ROWS ] ]\r\n\r\nData sources:\r\n <tablename> [ @ { <idxname> | <indexhint> } ]\r\n <tablefunc> ( <exprs...> )\r\n ( { <selectclause> | <source> } )\r\n <source> [AS] <alias> [( <colnames...> )]\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> ON <expr>\r\n <source> { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source> USING ( <colnames...> )\r\n <source> NATURAL { [INNER] | { LEFT | RIGHT | FULL } [OUTER] } JOIN <source>\r\n <source> CROSS JOIN <source>\r\n <source> WITH ORDINALITY\r\n '[' EXPLAIN ... ']'\r\n '[' SHOW ... ']'\r\n\r\nIndex hints:\r\n '{' FORCE_INDEX = <idxname> [, ...] '}'\r\n '{' NO_INDEX_JOIN [, ...] '}'\r\n\r\nSelect clause:\r\n TABLE <tablename>\r\n VALUES ( <exprs...> ) [ , ... ]\r\n SELECT ... [ { INTERSECT | UNION | EXCEPT } [ ALL | DISTINCT ] <selectclause> ]\r\n\r\nSee also:\r\n SHOW TABLES\r\n \r\n https://www.cockroachlabs.com/docs/v1.2/table-expressions.html\r\n https://www.cockroachlabs.com/docs/v1.2/select.html\r\n\r\nroot@"
root@:26257/>
.171018 19:57:51.176428342 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:51.208621553 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp6 }
Error: interrupted
Failed running "sql"
expect: read eof
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) ":26257/> \r\nError: interrupted\r\nFailed running "sql"\r\n"
spawn /bin/bash
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {1492}
send: sending "PS1=':''/# '\r" to { exp7 }
expect: does "" (spawn_id exp7) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\n" (spawn_id exp7) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\nroot@0ce406a2685c:/# PS1='" (spawn_id exp7) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@0ce406a2685c:/# "
root@0ce406a2685c:/# PS1='
.171018 19:57:51.649612369 EXPECT TEST: START TEST: Check that non-interactive built-in commands are only accepted at the start of a statement.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that non-interactive built-in commands are only accepted at the start of a statement.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "(echo '\set check_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockroach/cockroach sql\r" to { exp7 }
expect: does "PS1='" (spawn_id exp7) match glob pattern "statement ignored"? no
:''/# '
expect: does "PS1=':''/# '\r\n:/# " (spawn_id exp7) match glob pattern "statement ignored"? no
oach/cockroach sqleck_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockr
expect: does "PS1=':''/# '\r\n:/# (echo '\set check_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockr \roach/cockroach sql\r\n" (spawn_id exp7) match glob pattern "statement ignored"? no
invalid syntax: statement ignored: syntax error at or near "\"
DETAIL: source SQL:
select
\help
^
HINT: try \h SELECT
Error: invalid syntax
expect: does "PS1=':''/# '\r\n:/# (echo '\set check_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockr \roach/cockroach sql\r\ninvalid syntax: statement ignored: syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: invalid syntax\r\n" (spawn_id exp7) match glob pattern "statement ignored"? yes
expect: set expect_out(0,string) "statement ignored"
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# (echo '\set check_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockr \roach/cockroach sql\r\ninvalid syntax: statement ignored"
expect: does ": syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: invalid syntax\r\n" (spawn_id exp7) match glob pattern ":/# "? no
Failed running "sql"
expect: does ": syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: invalid syntax\r\nFailed running "sql"\r\n" (spawn_id exp7) match glob pattern ":/# "? no
expect: does ": syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: invalid syntax\r\nFailed running "sql"\r\n:/# " (spawn_id exp7) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) ": syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: invalid syntax\r\nFailed running "sql"\r\n:/# "
send: sending "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /cockroach/cockroach sql\r" to { exp7 }
expect: does "" (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'" (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'; echo 'select " (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\hel" (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1" (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc \r" (spawn_id exp7) match glob pattern "pq: syntax error"? no
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc \rkroach/cockroach sq" (spawn_id exp7) match glob pattern "pq: syntax error"? no
kroach/cockroach sqleck_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc \rkroach/cockroach sql\r\n" (spawn_id exp7) match glob pattern "pq: syntax error"? no
pq: syntax error at or near "\"
DETAIL: source SQL:
select
\help
^
HINT: try \h SELECT
expect: does "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc \rkroach/cockroach sql\r\npq: syntax error at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\n" (spawn_id exp7) match glob pattern "pq: syntax error"? yes
expect: set expect_out(0,string) "pq: syntax error"
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) "(echo '\unset check_syntax'; echo 'select '; echo '\help'; echo '1;') | /coc \rkroach/cockroach sql\r\npq: syntax error"
expect: does " at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\n" (spawn_id exp7) match glob pattern ":/# "? no
Error: pq: syntax error at or near "\"
Failed running "sql"
expect: does " at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: pq: syntax error at or near "\"\r\nFailed running "sql"\r\n" (spawn_id exp7) match glob pattern ":/# "? no
expect: does " at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: pq: syntax error at or near "\"\r\nFailed running "sql"\r\n:/# " (spawn_id exp7) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) " at or near "\"\r\nDETAIL: source SQL:\r\nselect \r\n\help\r\n^\r\nHINT: try \h SELECT\r\nError: pq: syntax error at or near "\"\r\nFailed running "sql"\r\n:/# "
:/#
.171018 19:57:51.758578444 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "exit 0\r" to { exp7 }
exit 0
exit
expect: read eof
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) "exit 0\r\nexit\r\n"
.171018 19:57:51.792876462 EXPECT TEST: BEGIN STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'BEGIN STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
ok
system(/cockroach/cockroach quit) = 2
still waiting
system(for i in `seq 1 5`; do kill -CONT `cat server_pid` 2>/dev/null || exit 0; echo still waiting; sleep 1; done; echo 'server still running?'; exit 1) = 2
.171018 19:57:52.891465440 EXPECT TEST: END STOP SERVER
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END STOP SERVER' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
=== RUN TestDockerCLI/test_log_flags.tcl
=== RUN TestDockerCLI/test_log_flags.tcl/runMode=docker
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = -f argv[3] = /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_log_flags.tcl argv[4] = /cockroach/cockroach
set argc 1
set argv0 "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_log_flags.tcl"
set argv "/cockroach/cockroach"
executing commands from command file /go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_log_flags.tcl
system(rm -f cockroach_sql_history) = 2
trap: setting up signal 2 ("SIGINT")
trap: setting up signal 15 ("SIGTERM")
parent: waiting for sync byte
spawn /bin/bash
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {10}
send: sending "PS1=':''/# '\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "PS1=':''/# '\r\n" (spawn_id exp5) match glob pattern ":/# "? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\nroot@67c21eed2489:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\nroot@67c21eed2489:/# "
root@67c21eed2489:/#
.171018 19:57:55.805518162 EXPECT TEST: START TEST: Check that log files are created by default in the store directory.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that log files are created by default in the store directory.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach start --insecure --store=path=logs/mystore\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroac" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/coc" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroa" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach " (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach st" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start -" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --in" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --inse" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecu" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure -" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --s" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --stor" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=p" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=pat" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=l" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=lo" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/my" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mys" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mysto" (spawn_id exp5) match glob pattern "node starting"? no
PS1=':''/# '
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mystore\r\n" (spawn_id exp5) match glob pattern "node starting"? no
:/# /cockroach/cockroach start --insecure --store=path=logs/mystore
*
* WARNING: RUNNING IN INSECURE MODE!
*
* - Your cluster is open for any client that can access <all your IP addresses>.
* - Any user, even root, can log in without providing a password.
* - Any user, connecting as root, can read or write any data in your cluster.
* - There is no network encryption nor authentication, and thus no confidentiality.
*
* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
*
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mystore\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\n" (spawn_id exp5) match glob pattern "node starting"? no
CockroachDB node starting at 2017-10-18 19:57:57.986841265 +0000 UTC (took 2.1s)
build: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)
admin: http://67c21eed2489:8080
sql: postgresql://root@67c21eed2489:26257?application_name=cockroach&sslmode=disable
logs: /logs/mystore/logs
store[0]: path=/logs/mystore
status: initialized new cluster
clusterID: 3dd2b0c9-f722-44c7-a8e9-ff0657aad761
nodeID: 1
expect: does "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mystore\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting at 2017-10-18 19:57:57.986841265 +0000 UTC (took 2.1s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://67c21eed2489:8080\r\nsql: postgresql://root@67c21eed2489:26257?application_name=cockroach&sslmode=disable\r\nlogs: /logs/mystore/logs\r\nstore[0]: path=/logs/mystore\r\nstatus: initialized new cluster\r\nclusterID: 3dd2b0c9-f722-44c7-a8e9-ff0657aad761\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern "node starting"? yes
expect: set expect_out(0,string) "node starting"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "PS1=':''/# '\r\n:/# /cockroach/cockroach start --insecure --store=path=logs/mystore\r\n*\r\n* WARNING: RUNNING IN INSECURE MODE!\r\n* \r\n* - Your cluster is open for any client that can access <all your IP addresses>.\r\n* - Any user, even root, can log in without providing a password.\r\n* - Any user, connecting as root, can read or write any data in your cluster.\r\n* - There is no network encryption nor authentication, and thus no confidentiality.\r\n* \r\n* Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n*\r\nCockroachDB node starting"
.171018 19:57:57.989833375 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'INTERRUPT TO FOREGROUND PROCESS' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "\u0003" to { exp5 }
expect: does " at 2017-10-18 19:57:57.986841265 +0000 UTC (took 2.1s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://67c21eed2489:8080\r\nsql: postgresql://root@67c21eed2489:26257?application_name=cockroach&sslmode=disable\r\nlogs: /logs/mystore/logs\r\nstore[0]: path=/logs/mystore\r\nstatus: initialized new cluster\r\nclusterID: 3dd2b0c9-f722-44c7-a8e9-ff0657aad761\r\nnodeID: 1\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does " at 2017-10-18 19:57:57.986841265 +0000 UTC (took 2.1s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://67c21eed2489:8080\r\nsql: postgresql://root@67c21eed2489:26257?application_name=cockroach&sslmode=disable\r\nlogs: /logs/mystore/logs\r\nstore[0]: path=/logs/mystore\r\nstatus: initialized new cluster\r\nclusterID: 3dd2b0c9-f722-44c7-a8e9-ff0657aad761\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " at 2017-10-18 19:57:57.986841265 +0000 UTC (took 2.1s)\r\nbuild: CCL v1.2-alpha.20170901-903-gca0836d @ 2017/10/18 19:53:38 (go1.9)\r\nadmin: http://67c21eed2489:8080\r\nsql: postgresql://root@67c21eed2489:26257?application_name=cockroach&sslmode=disable\r\nlogs: /logs/mystore/logs\r\nstore[0]: path=/logs/mystore\r\nstatus: initialized new cluster\r\nclusterID: 3dd2b0c9-f722-44c7-a8e9-ff0657aad761\r\nnodeID: 1\r\n^CNote: a second interrupt will skip graceful shutdown and terminate forcefully\r\ninitiating graceful shutdown of server\r\nserver drained and shutdown completed\r\n*\r\n* INFO: interrupted\r\n*\r\nFailed running "start"\r\n:/# "
send: sending "ls logs/mystore/logs\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "cockroach.log"? no
^CNote: a second interrupt will skip graceful shutdown and terminate forcefully
initiating graceful shutdown of server
server drained and shutdown completed
*
* INFO: interrupted
*
Failed running "start"
:/# ls logs/mystore/logs
expect: does "ls logs/mystore/logs\r\n" (spawn_id exp5) match glob pattern "cockroach.log"? no
cockroach.67c21eed2489.root.2017-10-18T19_57_55Z.000025.log cockroach.log
expect: does "ls logs/mystore/logs\r\ncockroach.67c21eed2489.root.2017-10-18T19_57_55Z.000025.log cockroach.log\r\n" (spawn_id exp5) match glob pattern "cockroach.log"? yes
expect: set expect_out(0,string) "cockroach.log"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "ls logs/mystore/logs\r\ncockroach.67c21eed2489.root.2017-10-18T19_57_55Z.000025.log cockroach.log"
expect: does "\r\n" (spawn_id exp5) match glob pattern ":/# "? no
expect: does "\r\n:/# " (spawn_id exp5) match glob pattern ":/# "? yes
expect: set expect_out(0,string) ":/# "
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n:/# "
:/#
.171018 19:57:58.446430945 EXPECT TEST: END TEST
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'END TEST' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
.171018 19:57:58.469056623 EXPECT TEST: START TEST: Check that an empty -log-dir disables file logging.
system(echo; echo $(date '+.%y%m%d %H:%M:%S.%N') EXPECT TEST: 'START TEST: Check that an empty -log-dir disables file logging.' | tee -a logs/expect-cmd.log) = 2
system(find logs -exec chmod a+rw '{}' \; || true) = 2
send: sending "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r" to { exp5 }
expect: does "" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/co" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/c" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroa" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach " (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --i" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --inse" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --stor" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=p" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=lo" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/m" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystor" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 -" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --lo" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-di" (spawn_id exp5) match glob pattern "node starting"? no
/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\n" (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!
- Your cluster is open for any client that can access <all your IP addresses>.
- Any user, even root, can log in without providing a password.
- Any user, connecting as root, can read or write any data in your cluster.
- There is no network encryption nor authentication, and thus no confidentiality.
Check out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html
I171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\n" (spawn_id exp5) match glob pattern "node starting"? no
W171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).
A significantly larger value is usually needed for good performance.
If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)
I171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead
I171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB
I171018 19:57:58.629158 1 server/config.go:411 server configuration:
max offset 500000000
cache size 128 MiB
SQL memory pool size 128 MiB
scan interval 10m0s
scan max idle time 200ms
metrics sample interval 10s
event log enabled true
linearizable false
I171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node
I171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > " (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 >
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID..." (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "/cockroach/cockroach start --insecure --store=path=logs/mystore2 --log-dir=\r\nW171018 19:57:58.526707 1 cli/start.go:787 RUNNING IN INSECURE MODE!\r\n\r\n- Your cluster is open for any client that can access <all your IP addresses>.\r\n- Any user, even root, can log in without providing a password.\r\n- Any user, connecting as root, can read or write any data in your cluster.\r\n- There is no network encryption nor authentication, and thus no confidentiality.\r\n\r\nCheck out how to secure your cluster: https://www.cockroachlabs.com/docs/v1.2/secure-a-cluster.html\r\nI171018 19:57:58.527541 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 GiB instead\r\nW171018 19:57:58.527582 1 cli/start.go:713 Using the default setting for --cache (128 MiB).\r\n A significantly larger value is usually needed for good performance.\r\n If you have a dedicated server a reasonable setting is --cache=25% (6.9 GiB).\r\nI171018 19:57:58.527608 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20170901-903-gca0836d (linux amd64, built 2017/10/18 19:53:38, go1.9)\r\nI171018 19:57:58.629096 1 server/config.go:292 can't read available memory from cgroups (open /sys/fs/cgroup/memory/memory.limit_in_bytes: no such file or directory), using system memory 28 G\u0000B instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []"
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}
I171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080
I171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257
I171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257
W171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\nW171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:58.963366 228 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\nW171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:58.963366 228 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\nW171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:58.963366 228 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:59.059596 228 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:59.059596 228 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]
I171018 19:57:59.234195 20 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\nW171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:58.963366 228 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:59.059596 228 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:59.234195 20 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:59.251782 228 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL…-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI171018 19:57:58.926167 20 server/node.go:617 [n1] connecting to gossip network to verify cluster ID...\r\nI171018 19:57:58.926374 20 server/node.go:642 [n1] node connected via gossip and verified as part of cluster "9537ea57-6156-42a7-9ba6-8c449d57853c"\r\nI171018 19:57:58.926613 20 server/node.go:414 [n1] node=1: started with [<no-attributes>=/logs/mystore2] engine(s) and attributes []\r\nI171018 19:57:58.927257 20 sql/executor.go:408 [n1] creating distSQLPlanner with address {tcp 67c21eed2489:26257}\r\nI171018 19:57:58.932536 20 server/server.go:987 [n1] starting http server at 67c21eed2489:8080\r\nI171018 19:57:58.932574 20 server/server.go:988 [n1] starting grpc/postgres server at 67c21eed2489:26257\r\nI171018 19:57:58.932592 20 server/server.go:989 [n1] advertising CockroachDB node at 67c21eed2489:26257\r\nW171018 19:57:58.932653 20 sql/jobs/registry.go:167 [n1] unable to get node liveness: node not in the liveness table\r\nI171018 19:57:58.963366 228 storage/replica_command.go:2810 [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]\r\nI171018 19:57:59.059596 228 storage/replica_command.go:2810 [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]\r\nI171018 19:57:59.234195 20 sql/event_log.go:103 [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}\r\nI171018 19:57:59.251782 228 storage/replica_command.go:2810 [split,n1,s1,r3/1:/{System/NodeL\u2026-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]\r\n" (spawn_id exp5) match glob pattern "node starting"? no
I171018 19:57:59.364913 20 sql/lease.go:347 [n1] publish: descID=12 (eventlog) version=2 mtime=2017-10-18 19:57:59.364707104 +0000 UTC
expect: does "iB instead\r\nI171018 19:57:58.629117 1 server/config.go:409 system total memory: 28 GiB\r\nI171018 19:57:58.629158 1 server/config.go:411 server configuration:\r\nmax offset 500000000\r\ncache size 128 MiB\r\nSQL memory pool size 128 MiB\r\nscan interval 10m0s\r\nscan max idle time 200ms\r\nmetrics sample interval 10s\r\nevent log enabled true\r\nlinearizable false\r\nI171018 19:57:58.629246 20 cli/start.go:508 starting cockroach node\r\nI171018 19:57:58.629272 20 cli/start.go:510 using local environment variables: COCKROACH_INSECURE=true, COCKROACH_SQL_CLI_HISTORY=cockroach_sql_history\r\nI171018 19:57:58.649857 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2/cockroach-temp633399334"\r\nI171018 19:57:58.757629 20 storage/engine/rocksdb.go:411 opening rocksdb instance at "/logs/mystore2"\r\nI171018 19:57:58.840816 20 server/config.go:511 [n?] 1 storage engine initialized\r\nI171018 19:57:58.841027 20 server/config.go:514 [n?] RocksDB cache size: 128 MiB\r\nI171018 19:57:58.841202 20 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 60536\r\nI171018 19:57:58.923228 20 server/node.go:347 [n?] **** cluster 9537ea57-6156-42a7-9ba6-8c449d57853c has been created\r\nI171018 19:57:58.923442 20 server/server.go:882 [n?] **** add additional nodes by specifying --join=67c21eed2489:26257\r\nI171018 19:57:58.924724 20 storage/store.go:1212 [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available\r\nI171018 19:57:58.925077 20 server/node.go:472 [n1] initialized store [n1,s1]: disk (capacity=29 GiB, available=729 MiB, used=14 KiB, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3234.00 p25=3234.00 p50=3234.00 p75=3234.00 p90=3234.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}\r\nI171018 19:57:58.925324 20 server/node.go:329 [n1] node ID 1 initialized\r\nI171018 19:57:58.925616 20 gossip/gossip.go:331 [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"67c21eed2489:26257" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:1 patch:0 unstable:3 > \r\nI171018 19:57:58.925851 20 storage/stores.go:332 [n1] read 0 node addresses from persistent storage\r\nI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment