You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/11/18 23:06:00 UTC
[jira] [Updated] (SPARK-45986) Fix `pyspark.ml.torch.tests.test_distributor` in Python 3.11
[ https://issues.apache.org/jira/browse/SPARK-45986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-45986:
----------------------------------
Description:
https://github.com/apache/spark/actions/runs/6914662405/job/18812759511
{code}
======================================================================
FAIL [0.000s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds) [subtest: 1]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
self.assertEqual(
AssertionError: '1' != '0'
- 1
+ 0
======================================================================
FAIL [0.142s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds) [subtest: 2]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
self.assertEqual(
AssertionError: '1,2,0' != '0,1,2'
- 1,2,0
+ 0,1,2
======================================================================
FAIL [0.000s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds) [subtest: 1]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
self.assertEqual(
AssertionError: '1' != '0'
- 1
+ 0
======================================================================
FAIL [0.139s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds) [subtest: 2]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
self.assertEqual(
AssertionError: '1,2,0' != '0,1,2'
- 1,2,0
+ 0,1,2
----------------------------------------------------------------------
Ran 23 tests in 166.741s
FAILED (failures=4)
{code}
> Fix `pyspark.ml.torch.tests.test_distributor` in Python 3.11
> ------------------------------------------------------------
>
> Key: SPARK-45986
> URL: https://issues.apache.org/jira/browse/SPARK-45986
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 4.0.0
> Reporter: Dongjoon Hyun
> Priority: Major
>
> https://github.com/apache/spark/actions/runs/6914662405/job/18812759511
> {code}
> ======================================================================
> FAIL [0.000s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds) [subtest: 1]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1' != '0'
> - 1
> + 0
> ======================================================================
> FAIL [0.142s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds) [subtest: 2]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1,2,0' != '0,1,2'
> - 1,2,0
> + 0,1,2
> ======================================================================
> FAIL [0.000s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds) [subtest: 1]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1' != '0'
> - 1
> + 0
> ======================================================================
> FAIL [0.139s]: test_local_training_succeeds (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds) [subtest: 2]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py", line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1,2,0' != '0,1,2'
> - 1,2,0
> + 0,1,2
> ----------------------------------------------------------------------
> Ran 23 tests in 166.741s
> FAILED (failures=4)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org