{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/23236","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/23236/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/23236/comments","events_url":"https://api.github.com/repos/apache/spark/issues/23236/events","html_url":"https://github.com/apache/spark/pull/23236","id":387732109,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MTU0MjA5","number":23236,"title":"[SPARK-26275][PYTHON][ML] Increases timeout for StreamingLogisticRegressionWithSGDTests.test_training_and_prediction test","user":{"login":"HyukjinKwon","id":6477701,"node_id":"MDQ6VXNlcjY0Nzc3MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/6477701?v=4","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-05T12:21:29Z","updated_at":"2018-12-05T12:54:41Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/23236","html_url":"https://github.com/apache/spark/pull/23236","diff_url":"https://github.com/apache/spark/pull/23236.diff","patch_url":"https://github.com/apache/spark/pull/23236.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nLooks this test is flaky\r\n\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99704/console\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99569/console\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99644/console\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99548/console\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99454/console\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99609/console\r\n\r\n```\r\n======================================================================\r\nFAIL: test_training_and_prediction (pyspark.mllib.tests.test_streaming_algorithms.StreamingLogisticRegressionWithSGDTests)\r\nTest that the model improves on toy data with no. of batches\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests/test_streaming_algorithms.py\", line 367, in test_training_and_prediction\r\n    self._eventually(condition)\r\n  File \"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests/test_streaming_algorithms.py\", line 78, in _eventually\r\n    % (timeout, lastValue))\r\nAssertionError: Test failed due to timeout after 30 sec, with last condition returning: Latest errors: 0.67, 0.71, 0.78, 0.7, 0.75, 0.74, 0.73, 0.69, 0.62, 0.71, 0.69, 0.75, 0.72, 0.77, 0.71, 0.74\r\n\r\n----------------------------------------------------------------------\r\nRan 13 tests in 185.051s\r\n\r\nFAILED (failures=1, skipped=1)\r\n```\r\n\r\nThis looks happening after increasing the parallelism in Jenkins to speed up at https://github.com/apache/spark/pull/23111. I am able to reproduce this manually when the resource usage is heavy (with manual decrease of timeout).\r\n\r\n## How was this patch tested?\r\n\r\nManually tested by \r\n\r\n```\r\ncd python\r\n./run-tests --testnames 'pyspark.mllib.tests.test_streaming_algorithms StreamingLogisticRegressionWithSGDTests.test_training_and_prediction' --python-executables=python\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/444475225","html_url":"https://github.com/apache/spark/pull/23236#issuecomment-444475225","issue_url":"https://api.github.com/repos/apache/spark/issues/23236","id":444475225,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDQ3NTIyNQ==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T12:54:41Z","updated_at":"2018-12-05T12:54:41Z","author_association":"NONE","body":"Merged build finished. Test FAILed."}}
{"actor":{"display_login":"AmplabJenkins"}}