Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running make site_test #109

Closed
zhengyang4k opened this issue Oct 24, 2014 · 7 comments
Closed

Error running make site_test #109

zhengyang4k opened this issue Oct 24, 2014 · 7 comments

Comments

@zhengyang4k
Copy link

W1024 03:49:35.368687 09757 mysqld.go:190] assuming shutdown - no socket, no pid file
E1024 03:49:35.369195 09757 mysqld.go:418] error deleting dir /home/ubuntu/gopath/vtdataroot/vt_0000062344/data: lstat /home/ubuntu/gopath/vtdataroot/vt_0000062344/data: no such file or directory
E1024 03:49:35.369379 09757 mysqld.go:418] error deleting dir /home/ubuntu/gopath/vtdataroot/vt_0000062344/innodb: lstat /home/ubuntu/gopath/vtdataroot/vt_0000062344/innodb: no such file or directory
E1024 03:49:35.369397 09757 mysqld.go:418] error deleting dir /home/ubuntu/gopath/vtdataroot/vt_0000062344/relay-logs: lstat /home/ubuntu/gopath/vtdataroot/vt_0000062344/relay-logs: no such file or directory
E1024 03:49:35.369413 09757 mysqld.go:418] error deleting dir /home/ubuntu/gopath/vtdataroot/vt_0000062344/bin-logs: lstat /home/ubuntu/gopath/vtdataroot/vt_0000062344/bin-logs: no such file or directory
F1024 03:49:35.369426 09757 mysqlctl.go:238] failed teardown mysql (forced? true): lstat /home/ubuntu/gopath/vtdataroot/vt_0000062344/bin-logs: no such file or directory
goroutine 16 [running]:
github.com/golang/glog.stacks(0xc208027c00, 0x0, 0x0, 0x0)
    /home/ubuntu/gopath/src/github.com/golang/glog/glog.go:726 +0xcc
github.com/golang/glog.(*loggingT).output(0x1050e60, 0xc200000003, 0xc208046180)
    /home/ubuntu/gopath/src/github.com/golang/glog/glog.go:677 +0x243
github.com/golang/glog.(*loggingT).printf(0x1050e60, 0x3, 0x961890, 0x26, 0x2ad3a4ce3d58, 0x2, 0x2)
    /home/ubuntu/gopath/src/github.com/golang/glog/glog.go:635 +0x187
github.com/golang/glog.Fatalf(0x961890, 0x26, 0x2ad3a4ce3d58, 0x2, 0x2)
    /home/ubuntu/gopath/src/github.com/golang/glog/glog.go:1033 +0x64
main.teardownCmd(0xc208004480, 0xc2080044e0, 0xc20800e060, 0x1, 0x1)
    /home/ubuntu/gopath/src/github.com/youtube/vitess/go/cmd/mysqlctl/mysqlctl.go:238 +0x1ab
main.main()
    /home/ubuntu/gopath/src/github.com/youtube/vitess/go/cmd/mysqlctl/mysqlctl.go:324 +0x5e2
@zhengyang4k
Copy link
Author

Hi, I think it's because the server is up before running the test. It's OK after shutting down the server.

@zhengyang4k
Copy link
Author

Now all test passed except this one:

--- FAIL: TestUpdateServedFromMap (0.00 seconds)
    keyspace_test.go:73: different keyspace should fail: Inconsistent keypace specified in migration: othersource != source for type master
FAIL
FAIL    github.com/youtube/vitess/go/vt/topo    0.007s

@alainjobart
Copy link
Contributor

My bad, I submitted a change that broke this. fix incoming.

On Thu, Oct 23, 2014 at 9:16 PM, ZhengYang notifications@github.com wrote:

Now all test passed except this one:

--- FAIL: TestUpdateServedFromMap (0.00 seconds)
keyspace_test.go:73: different keyspace should fail: Inconsistent keypace specified in migration: othersource != source for type master
FAIL
FAIL github.com/youtube/vitess/go/vt/topo 0.007s


Reply to this email directly or view it on GitHub
#109 (comment).

@alainjobart
Copy link
Contributor

OK just submitted a fix, please try again... was a flaky test because map
iteration ordering is not guaranteed in go.

On Thu, Oct 23, 2014 at 9:21 PM, Alain Jobart alainjobart@google.com
wrote:

My bad, I submitted a change that broke this. fix incoming.

On Thu, Oct 23, 2014 at 9:16 PM, ZhengYang notifications@github.com
wrote:

Now all test passed except this one:

--- FAIL: TestUpdateServedFromMap (0.00 seconds)
keyspace_test.go:73: different keyspace should fail: Inconsistent keypace specified in migration: othersource != source for type master
FAIL
FAIL github.com/youtube/vitess/go/vt/topo 0.007s


Reply to this email directly or view it on GitHub
#109 (comment).

@zhengyang4k
Copy link
Author

@alainjobart Thanks. But I'm seeing the error in the beginning again. Any comments on that?

@enisoc
Copy link
Member

enisoc commented Oct 24, 2014

Which error are you seeing again? Is it the "assuming shutdown" one? There may be orphaned processes left behind by a failed test. You could try this:

https://github.com/youtube/vitess/blob/master/doc/GettingStarted.md#node-already-exists-port-in-use-etc

You may also want to clear out whatever folder you set as $VTDATAROOT to remove any orphaned files.

@enisoc
Copy link
Member

enisoc commented Jan 15, 2015

Closing due to inactivity. Please reopen if needed.

@enisoc enisoc closed this as completed Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants