You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "huangtianhua (Jira)" <ji...@apache.org> on 2020/03/23 03:23:00 UTC
[jira] [Resolved] (SPARK-30340) Python tests failed on arm64/x86
[ https://issues.apache.org/jira/browse/SPARK-30340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huangtianhua resolved SPARK-30340.
----------------------------------
Resolution: Fixed
Seems the tests are success now.
> Python tests failed on arm64/x86
> --------------------------------
>
> Key: SPARK-30340
> URL: https://issues.apache.org/jira/browse/SPARK-30340
> Project: Spark
> Issue Type: Bug
> Components: ML
> Affects Versions: 3.0.0
> Reporter: huangtianhua
> Priority: Major
>
> Jenkins job spark-master-test-python-arm failed after the commit c6ab7165dd11a0a7b8aea4c805409088e9a41a74:
> {code}
> File "/home/jenkins/workspace/spark-master-test-python-arm/python/pyspark/ml/classification.py", line 2790, in __main__.FMClassifier
> Failed example:
> model.transform(test0).select("features", "probability").show(10, False)
> Expected:
> +----------+----------------------------------------+
> |features|probability|
> +----------+----------------------------------------+
> |[-1.0]|[0.9999999997574736,2.425264676902229E-10]|
> |[0.5]|[0.47627851732981163,0.5237214826701884]|
> |[1.0]|[5.491554426243495E-4,0.9994508445573757]|
> |[2.0]|[2.005766663870645E-10,0.9999999997994233]|
> +----------+----------------------------------------+
> Got:
> +----------+----------------------------------------+
> |features|probability|
> +----------+----------------------------------------+
> |[-1.0]|[0.9999999997574736,2.425264676902229E-10]|
> |[0.5]|[0.47627851732981163,0.5237214826701884]|
> |[1.0]|[5.491554426243495E-4,0.9994508445573757]|
> |[2.0]|[2.005766663870645E-10,0.9999999997994233]|
> +----------+----------------------------------------+
> <BLANKLINE>
> **********************************************************************
> File "/home/jenkins/workspace/spark-master-test-python-arm/python/pyspark/ml/classification.py", line 2803, in __main__.FMClassifier
> Failed example:
> model.factors
> Expected:
> DenseMatrix(1, 2, [0.0028, 0.0048], 1)
> Got:
> DenseMatrix(1, 2, [-0.0122, 0.0106], 1)
> **********************************************************************
> 2 of 10 in __main__.FMClassifier
> ***Test Failed*** 2 failures.
> {code}
>
> The details see [https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-python-arm/91/console]
> And seems the tests failed on x86:
> [https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/115668/console]
> [https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/115665/console]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org