This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new a3d1604 [SPARK-33535][INFRA][TESTS] Export LANG to en_US.UTF-8 in
run-tests-jenkins script
a3d1604 is described below
commit a3d160439f9206827a1d1fbde85312b4ff6d6ae1
Author: yangjie01 <[email protected]>
AuthorDate: Tue Nov 24 09:50:10 2020 -0800
[SPARK-33535][INFRA][TESTS] Export LANG to en_US.UTF-8 in run-tests-jenkins
script
It seems that Jenkins tests tasks in many pr have test failed. The failed
cases include:
-
`org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V1
get binary type`
-
`org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V2
get binary type`
-
`org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V3
get binary type`
-
`org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V4
get binary type`
-
`org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V5
get binary type`
The error message as follows:
```
Error Messageorg.scalatest.exceptions.TestFailedException: "[?](" did not
equal "[�]("Stacktracesbt.ForkMain$ForkError:
org.scalatest.exceptions.TestFailedException: "[?](" did not equal "[�]("
at
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.$anonfun$new$26(SparkThriftServerProtocolVersionsSuite.scala:302)
```
But they can pass the GitHub Action, maybe it's related to the `LANG` of
the Jenkins build machine, this pr add `export LANG="en_US.UTF-8"` in
`run-test-jenkins` script.
Ensure LANG in Jenkins test process is `en_US.UTF-8` to pass
`HIVE_CLI_SERVICE_PROTOCOL_VX` related tests
No
Jenkins tests pass
Closes #30487 from LuciferYang/SPARK-33535.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 048a9821c788b6796d52d1e2a0cd174377ebd0f0)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/run-tests-jenkins | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index 5bc03e4..675e644 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -31,4 +31,5 @@ if [[ "$PYTHON_VERSION_CHECK" == "True" ]]; then
exit -1
fi
+export LANG="en_US.UTF-8"
exec python -u ./dev/run-tests-jenkins.py "$@"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]