Open martin-g opened 3 years ago
I see the project uses CircleCI (although I'd expect the CircleCI config to be placed at .circleci/config.yml). Since recently CircleCI provides ARM64 builders - https://github.com/CircleCI-Public/arm-preview-docs. If you are interested I could work on a Pull Request to add CI job to build and test on ARM64. TravisCI also makes it easy to build and test on ARM64. One advantage of CircleCI is it is possible to SSH to a VM and debug any issues. TravisCI does not allow this.
Yet another way to get access to ARM64 is by using Docker+QEMU. In short:
More details about this setup could be found here
There are two new failing tests:
FAIL: expr_to_pb_test.go:807: testEvaluatorSuite.TestExprOnlyPushDownToFlash
expr_to_pb_test.go:851:
c.Assert(canPush, Equals, true)
... obtained bool = false
... expected bool = true
and
FAIL: tidb_test.go:1176: tidbTestTopSQLSuite.TestTopSQLCPUProfile
tidb_test.go:1353:
checkFn(ca.sql, ca.planRegexp)
tidb_test.go:1326:
// since 1 sql may has many plan, check `len(stats) > 0` instead of `len(stats) == 1`.
c.Assert(len(stats) > 0, IsTrue, commentf)
... obtained bool = false
... sql: insert into t () values (),(),(),(),(),(),();
testEvaluatorSuite.TestExprOnlyPushDownToFlash
also fails on my x86_64 machine, so it seems it is not something caused by ARM64
I've just re-tested with v4.0.0-beta.2-6129-g297455d7e
:
--- FAIL: TestTan (0.00s)
builtin_math_test.go:1009:
Error Trace: builtin_math_test.go:1009
Error: Not equal:
expected: 1
actual : 0.9999999999999998
Test: TestTan
--- FAIL: TestSelectClusterTable (0.34s)
result.go:50:
Error Trace: result.go:50
cluster_tables_test.go:241
Error: Not equal:
expected: "[:10080 1 root 127.0.0.1 <nil> Query 9223372036 <nil> 0 0 ]\n"
actual : "[:34887 1 root 127.0.0.1 <nil> Query 9223372036 <nil> 0 0 ]\n"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-[:10080 1 root 127.0.0.1 <nil> Query 9223372036 <nil> 0 0 ]
+[:34887 1 root 127.0.0.1 <nil> Query 9223372036 <nil> 0 0 ]
Test: TestSelectClusterTable
Messages: sql:select * from `CLUSTER_PROCESSLIST`, args:[]
--- FAIL: TestStmtSummaryEvictedCountTable (0.33s)
result.go:50:
Error Trace: result.go:50
cluster_tables_test.go:344
Error: Not equal:
expected: "[0]\n"
actual : "[1]\n"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-[0]
+[1]
Test: TestStmtSummaryEvictedCountTable
Messages: sql:select count(*) from information_schema.cluster_statements_summary_evicted;, args:[]
Bug Report
1. Minimal reproduce step (Required)
Running
make test
on Ubuntu 20.04.2 64bit reports several failures:2. What did you expect to see? (Required)
All tests to pass
3. What did you see instead (Required)
Test failures
4. What is your TiDB version? (Required)
Current
master
.