{"action":"closed","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25064","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25064/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25064/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25064/events","html_url":"https://github.com/cockroachdb/cockroach/issues/25064","id":317487858,"number":25064,"title":"sql/logictest:  TestLogic/default/timetz failed on my computer","user":{"login":"sydnever","id":2542184,"avatar_url":"https://avatars2.githubusercontent.com/u/2542184?v=4","gravatar_id":"","url":"https://api.github.com/users/sydnever","html_url":"https://github.com/sydnever","followers_url":"https://api.github.com/users/sydnever/followers","following_url":"https://api.github.com/users/sydnever/following{/other_user}","gists_url":"https://api.github.com/users/sydnever/gists{/gist_id}","starred_url":"https://api.github.com/users/sydnever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sydnever/subscriptions","organizations_url":"https://api.github.com/users/sydnever/orgs","repos_url":"https://api.github.com/users/sydnever/repos","events_url":"https://api.github.com/users/sydnever/events{/privacy}","received_events_url":"https://api.github.com/users/sydnever/received_events","type":"User","site_admin":false},"labels":[{"id":78928345,"url":"https://api.github.com/repos/cockroachdb/cockroach/labels/C-bug","name":"C-bug","color":"c5def5","default":false},{"id":191587409,"url":"https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure","name":"C-test-failure","color":"c5def5","default":false},{"id":560660618,"url":"https://api.github.com/repos/cockroachdb/cockroach/labels/O-community","name":"O-community","color":"666ad1","default":false}],"state":"closed","locked":false,"assignee":{"login":"windchan7","id":27294887,"avatar_url":"https://avatars2.githubusercontent.com/u/27294887?v=4","gravatar_id":"","url":"https://api.github.com/users/windchan7","html_url":"https://github.com/windchan7","followers_url":"https://api.github.com/users/windchan7/followers","following_url":"https://api.github.com/users/windchan7/following{/other_user}","gists_url":"https://api.github.com/users/windchan7/gists{/gist_id}","starred_url":"https://api.github.com/users/windchan7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windchan7/subscriptions","organizations_url":"https://api.github.com/users/windchan7/orgs","repos_url":"https://api.github.com/users/windchan7/repos","events_url":"https://api.github.com/users/windchan7/events{/privacy}","received_events_url":"https://api.github.com/users/windchan7/received_events","type":"User","site_admin":false},"assignees":[{"login":"windchan7","id":27294887,"avatar_url":"https://avatars2.githubusercontent.com/u/27294887?v=4","gravatar_id":"","url":"https://api.github.com/users/windchan7","html_url":"https://github.com/windchan7","followers_url":"https://api.github.com/users/windchan7/followers","following_url":"https://api.github.com/users/windchan7/following{/other_user}","gists_url":"https://api.github.com/users/windchan7/gists{/gist_id}","starred_url":"https://api.github.com/users/windchan7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windchan7/subscriptions","organizations_url":"https://api.github.com/users/windchan7/orgs","repos_url":"https://api.github.com/users/windchan7/repos","events_url":"https://api.github.com/users/windchan7/events{/privacy}","received_events_url":"https://api.github.com/users/windchan7/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-04-25T05:56:41Z","updated_at":"2018-04-30T16:17:24Z","closed_at":"2018-04-30T16:17:24Z","author_association":"CONTRIBUTOR","body":"**BUG REPORT**\r\n## 0. My enviroment:\r\n\r\nUbuntu desktop 18.04 amd64\r\ngo version go1.10 linux/amd64\r\n```\r\nlocale\r\n\r\nLANG=en_US.UTF-8\r\nLANGUAGE=zh_CN:en\r\nLC_CTYPE=zh_CN.UTF-8\r\nLC_NUMERIC=zh_CN.UTF-8\r\nLC_TIME=zh_CN.UTF-8\r\nLC_COLLATE=\"en_US.UTF-8\"\r\nLC_MONETARY=zh_CN.UTF-8\r\nLC_MESSAGES=\"en_US.UTF-8\"\r\nLC_PAPER=zh_CN.UTF-8\r\nLC_NAME=zh_CN.UTF-8\r\nLC_ADDRESS=zh_CN.UTF-8\r\nLC_TELEPHONE=zh_CN.UTF-8\r\nLC_MEASUREMENT=zh_CN.UTF-8\r\nLC_IDENTIFICATION=zh_CN.UTF-8\r\nLC_ALL=\r\n```\r\n\r\n\r\n## 1. My test log:\r\n```\r\n--- FAIL: TestLogic (144.46s)\r\n        test_log_scope.go:81: test logs captured to: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLogic848280647\r\n        test_log_scope.go:62: use -show-logs to present logs inline\r\n    --- FAIL: TestLogic/default (0.15s)\r\n        --- FAIL: TestLogic/default/timetz (0.14s)\r\n                logic.go:2130:\r\n                        testdata/logic_test/timetz:6: SELECT '12:00:00':::TIMETZ;\r\n                        expected:\r\n                            0000-01-01 12:00:00 +0000 +0000\r\n\r\n                        but found (query options: \"\") :\r\n                            0000-01-01 12:00:00 +0000 UTC\r\n\r\n                logic.go:2162:\r\n                        testdata/logic_test/timetz:11: error while processing\r\n                logic.go:2163: testdata/logic_test/timetz:11: too many errors encountered, skipping the rest of the input\r\n    --- FAIL: TestLogic/parallel-stmts (0.13s)\r\n        --- FAIL: TestLogic/parallel-stmts/timetz (0.10s)\r\n                logic.go:2130:\r\n                        testdata/logic_test/timetz:6: SELECT '12:00:00':::TIMETZ;\r\n                        expected:\r\n                            0000-01-01 12:00:00 +0000 +0000\r\n\r\n                        but found (query options: \"\") :\r\n                            0000-01-01 12:00:00 +0000 UTC\r\n\r\n                logic.go:2162:\r\n                        testdata/logic_test/timetz:11: error while processing\r\n                logic.go:2163: testdata/logic_test/timetz:11: too many errors encountered, skipping the rest of the input\r\n    --- FAIL: TestLogic/distsql (0.20s)\r\n        --- FAIL: TestLogic/distsql/timetz (0.45s)\r\n                logic.go:2130:\r\n                        testdata/logic_test/timetz:6: SELECT '12:00:00':::TIMETZ;\r\n                        expected:\r\n                            0000-01-01 12:00:00 +0000 +0000\r\n\r\n                        but found (query options: \"\") :\r\n                            0000-01-01 12:00:00 +0000 UTC\r\n\r\n                logic.go:2162:\r\n                        testdata/logic_test/timetz:11: error while processing\r\n                logic.go:2163: testdata/logic_test/timetz:11: too many errors encountered, skipping the rest of the input\r\n    --- FAIL: TestLogic/distsql-metadata (0.19s)\r\n        --- FAIL: TestLogic/distsql-metadata/timetz (0.27s)\r\n                logic.go:2130:\r\n                        testdata/logic_test/timetz:6: SELECT '12:00:00':::TIMETZ;\r\n                        expected:\r\n                            0000-01-01 12:00:00 +0000 +0000\r\n\r\n                        but found (query options: \"\") :\r\n                            0000-01-01 12:00:00 +0000 UTC\r\n\r\n                logic.go:2162:\r\n                        testdata/logic_test/timetz:11: error while processing\r\n                logic.go:2163: testdata/logic_test/timetz:11: too many errors encountered, skipping the rest of the input\r\n```\r\n\r\n## 2. Please describe the issue you observed:\r\n\r\n### What did you do?\r\n#### run test\r\n\r\n```\r\nbuild/builder.sh make test TESTTIMEOUT=20m PKG=./pkg/sql/logictest\r\n```\r\n#### git log\r\n\r\n```\r\ncommit c54d0b959ff020cf312d0a2d0d42bf5d6ddc1acf (HEAD -> master, origin/staging, origin/master, origin/HEAD)\r\nMerge: ffa6d48ee e3a7b4f24\r\nAuthor: craig[bot] <bors@cockroachlabs.com>\r\nDate:   Wed Apr 25 03:08:48 2018 +0000\r\n\r\n    Merge #25052\r\n\r\n    25052: build, ui: make webpack dev server use HTTPS, proxy auth endpoint r=vilterp a=vilterp\r\n\r\n    If WDS isn't running HTTPS and proxying to an HTTPS URL on Cockroach, Cockroach sometimes tries to redirect the client to use HTTPS, creating a redirect loop.\r\n\r\n    Also, make `make watch` proxy requests to `_auth`, since we're now using that for login work.\r\n\r\n    Release note: None\r\n\r\n    Co-authored-by: Pete Vilter <vilterp@cockroachlabs.com>\r\n\r\ncommit ffa6d48ee6833b52878f558bce58c588feb1381b\r\nMerge: 062d03073 af681bedb\r\nAuthor: craig[bot] <bors@cockroachlabs.com>\r\nDate:   Wed Apr 25 02:17:25 2018 +0000\r\n\r\n    Merge #25008\r\n\r\n    25008: Makefile: work around symlink bug in Go toolchain r=knz a=benesch\r\n\r\n    Build info injected via linker flags, like the Git commit SHA, is\r\n    dropped on the floor when building from a symlink (e.g., ~/roach ->\r\n    ~/go/src/cockroachdb/cockroach). This issue was filed upstream\r\n    (golang/go#24359), but the Go team refused to fix it. Luckily, we can\r\n    work around it by teaching Make to resolve any symlinks in the CWD.\r\n```\r\n#### git status\r\n\r\n```\r\n位于分支 master\r\n您的分支与上游分支 'origin/master' 一致。\r\n\r\n无文件要提交，干净的工作区\r\n```\r\nin English\r\n```\r\nbranch master\r\nsame as 'origin/master' \r\nno file to commit. clear workspace\r\n```\r\n\r\n### What did you expect to see?\r\n\r\nAll tests should pass.\r\n\r\n### What did you see instead?\r\n\r\nTestLogic/default/timetz failed on my computer\r\n\r\n## 3. full log\r\n[full_log.txt](https://github.com/cockroachdb/cockroach/files/1945608/full_log.txt)\r\n\r\n## 4. another test\r\n```\r\n➜  cockroach git:(master) make test TESTTIMEOUT=20m PKG=./pkg/sql/logictest\r\nGOPATH set to /home/syd/go\r\nRunning make with -j4\r\nmake[1]: 对“build_lib_static”无需做任何事。\r\ngo test  -tags ' make x86_64_linux_gnu' -ldflags ' -X github.com/cockroachdb/cockroach/pkg/build.typ=development' -run \".\"  -timeout 20m ./pkg/sql/logictest\r\nok      github.com/cockroachdb/cockroach/pkg/sql/logictest      131.204s\r\n```\r\n**So, there is something wrong in your docker. **"}}
{"actor":{"display_login":"craig"}}