2024-06-26T06:13:26.3278111Z tests/functional/examples/test_notebooks_pyspark.py:21:
2024-06-26T06:13:26.3278366Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2024-06-26T06:13:26.3278767Z recommenders/utils/notebook_utils.py:102: in execute_notebook
2024-06-26T06:13:26.3279014Z executed_notebook, _ = execute_preprocessor.preprocess(
2024-06-26T06:13:26.3279742Z /azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/nbconvert/preprocessors/execute.py:103: in preprocess
2024-06-26T06:13:26.3279938Z self.preprocess_cell(cell, resources, index)
2024-06-26T06:13:26.3280660Z /azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/nbconvert/preprocessors/execute.py:124: in preprocess_cell
2024-06-26T06:13:26.3280904Z cell = self.execute_cell(cell, index, store_history=True)
2024-06-26T06:13:26.3281547Z /azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/jupyter_core/utils/__init__.py:165: in wrapped
2024-06-26T06:13:26.3281713Z return loop.run_until_complete(inner)
2024-06-26T06:13:26.3282309Z /azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/asyncio/base_events.py:649: in run_until_complete
2024-06-26T06:13:26.3282457Z return future.result()
2024-06-26T06:13:26.3283089Z /azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/nbclient/client.py:1062: in async_execute_cell
2024-06-26T06:13:26.3283356Z await self._check_raise_for_error(cell, cell_index, exec_reply)
2024-06-26T06:13:26.3283613Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2024-06-26T06:13:26.3283619Z
2024-06-26T06:13:26.3284019Z self = <nbconvert.preprocessors.execute.ExecutePreprocessor object at 0x147ea0ed4df0>
2024-06-26T06:13:26.3285150Z cell = ***'cell_type': 'code', 'execution_count': 4, 'metadata': ***'execution': ***'iopub.status.busy': '2024-06-26T06:12:17.71881...LongType()),\n )\n)\n\ndata = movielens.load_spark_df(spark, size=MOVIELENS_DATA_SIZE, schema=schema)\ndata.show()'***
2024-06-26T06:13:26.3285282Z cell_index = 9
2024-06-26T06:13:26.3286454Z exec_reply = ***'buffers': [], 'content': ***'ename': 'SSLError', 'engine_info': ***'engine_id': -1, 'engine_uuid': '05c826bd-c5db-4d83-a...e, 'engine': '05c826bd-c5db-4d83-ad08-261ef5c7b3ce', 'started': '2024-06-26T06:12:17.719165Z', 'status': 'error'***, ...***
2024-06-26T06:13:26.3286461Z
2024-06-26T06:13:26.3286620Z async def _check_raise_for_error(
2024-06-26T06:13:26.3286960Z self, cell: NotebookNode, cell_index: int, exec_reply: dict[str, t.Any] | None
2024-06-26T06:13:26.3287108Z ) -> None:
2024-06-26T06:13:26.3287265Z if exec_reply is None:
2024-06-26T06:13:26.3287399Z return None
2024-06-26T06:13:26.3287517Z
2024-06-26T06:13:26.3287703Z exec_reply_content = exec_reply["content"]
2024-06-26T06:13:26.3287886Z if exec_reply_content["status"] != "error":
2024-06-26T06:13:26.3288018Z return None
2024-06-26T06:13:26.3288134Z
2024-06-26T06:13:26.3288376Z cell_allows_errors = (not self.force_raise_errors) and (
2024-06-26T06:13:26.3288522Z self.allow_errors
2024-06-26T06:13:26.3288794Z or exec_reply_content.get("ename") in self.allow_error_names
2024-06-26T06:13:26.3289211Z or "raises-exception" in cell.metadata.get("tags", [])
2024-06-26T06:13:26.3289339Z )
2024-06-26T06:13:26.3289473Z await run_hook(
2024-06-26T06:13:26.3289810Z self.on_cell_error, cell=cell, cell_index=cell_index, execute_reply=exec_reply
2024-06-26T06:13:26.3289930Z )
2024-06-26T06:13:26.3290079Z if not cell_allows_errors:
2024-06-26T06:13:26.3290392Z > raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
2024-06-26T06:13:26.3290844Z E nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
2024-06-26T06:13:26.3291010Z E ------------------
2024-06-26T06:13:26.3291507Z E # Note: The DataFrame-based API for ALS currently only supports integers for user and item ids.
2024-06-26T06:13:26.3291780Z E schema = StructType(
2024-06-26T06:13:26.3291908Z E (
2024-06-26T06:13:26.3292116Z E StructField(COL_USER, IntegerType()),
2024-06-26T06:13:26.3292311Z E StructField(COL_ITEM, IntegerType()),
2024-06-26T06:13:26.3292507Z E StructField(COL_RATING, FloatType()),
2024-06-26T06:13:26.3292719Z E StructField(COL_TIMESTAMP, LongType()),
2024-06-26T06:13:26.3292842Z E )
2024-06-26T06:13:26.3292967Z E )
2024-06-26T06:13:26.3293089Z E
2024-06-26T06:13:26.3293436Z E data = movielens.load_spark_df(spark, size=MOVIELENS_DATA_SIZE, schema=schema)
2024-06-26T06:13:26.3293572Z E data.show()
2024-06-26T06:13:26.3293740Z E ------------------
2024-06-26T06:13:26.3293862Z E
2024-06-26T06:13:26.3293983Z E
2024-06-26T06:13:26.3294340Z E [0;31m---------------------------------------------------------------------------[0m
2024-06-26T06:13:26.3294757Z E [0;31mSSLCertVerificationError[0m Traceback (most recent call last)
2024-06-26T06:13:26.3296310Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connectionpool.py:466[0m, in [0;36mHTTPConnectionPool._make_request[0;34m(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)[0m
2024-06-26T06:13:26.3296546Z E [1;32m 465[0m [38;5;28;01mtry[39;00m:
2024-06-26T06:13:26.3297114Z E [0;32m--> 466[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_validate_conn[49m[43m([49m[43mconn[49m[43m)[49m
2024-06-26T06:13:26.3297587Z E [1;32m 467[0m [38;5;28;01mexcept[39;00m (SocketTimeout, BaseSSLError) [38;5;28;01mas[39;00m e:
2024-06-26T06:13:26.3297709Z E
2024-06-26T06:13:26.3298726Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connectionpool.py:1095[0m, in [0;36mHTTPSConnectionPool._validate_conn[0;34m(self, conn)[0m
2024-06-26T06:13:26.3299078Z E [1;32m 1094[0m [38;5;28;01mif[39;00m conn[38;5;241m.[39mis_closed:
2024-06-26T06:13:26.3299513Z E [0;32m-> 1095[0m [43mconn[49m[38;5;241;43m.[39;49m[43mconnect[49m[43m([49m[43m)[49m
2024-06-26T06:13:26.3300036Z E [1;32m 1097[0m [38;5;66;03m# TODO revise this, see https://github.com/urllib3/urllib3/issues/2791[39;00m
2024-06-26T06:13:26.3300158Z E
2024-06-26T06:13:26.3301059Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connection.py:652[0m, in [0;36mHTTPSConnection.connect[0;34m(self)[0m
2024-06-26T06:13:26.3301732Z E [1;32m 650[0m server_hostname_rm_dot [38;5;241m=[39m server_hostname[38;5;241m.[39mrstrip([38;5;124m"[39m[38;5;124m.[39m[38;5;124m"[39m)
2024-06-26T06:13:26.3302239Z E [0;32m--> 652[0m sock_and_verified [38;5;241m=[39m [43m_ssl_wrap_socket_and_match_hostname[49m[43m([49m
2024-06-26T06:13:26.3302773Z E [1;32m 653[0m [43m [49m[43msock[49m[38;5;241;43m=[39;49m[43msock[49m[43m,[49m
2024-06-26T06:13:26.3303407Z E [1;32m 654[0m [43m [49m[43mcert_reqs[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mcert_reqs[49m[43m,[49m
2024-06-26T06:13:26.3304043Z E [1;32m 655[0m [43m [49m[43mssl_version[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mssl_version[49m[43m,[49m
2024-06-26T06:13:26.3304745Z E [1;32m 656[0m [43m [49m[43mssl_minimum_version[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mssl_minimum_version[49m[43m,[49m
2024-06-26T06:13:26.3305457Z E [1;32m 657[0m [43m [49m[43mssl_maximum_version[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mssl_maximum_version[49m[43m,[49m
2024-06-26T06:13:26.3306196Z E [1;32m 658[0m [43m [49m[43mca_certs[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mca_certs[49m[43m,[49m
2024-06-26T06:13:26.3306833Z E [1;32m 659[0m [43m [49m[43mca_cert_dir[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mca_cert_dir[49m[43m,[49m
2024-06-26T06:13:26.3307488Z E [1;32m 660[0m [43m [49m[43mca_cert_data[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mca_cert_data[49m[43m,[49m
2024-06-26T06:13:26.3308113Z E [1;32m 661[0m [43m [49m[43mcert_file[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mcert_file[49m[43m,[49m
2024-06-26T06:13:26.3308727Z E [1;32m 662[0m [43m [49m[43mkey_file[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mkey_file[49m[43m,[49m
2024-06-26T06:13:26.3309409Z E [1;32m 663[0m [43m [49m[43mkey_password[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mkey_password[49m[43m,[49m
2024-06-26T06:13:26.3309945Z E [1;32m 664[0m [43m [49m[43mserver_hostname[49m[38;5;241;43m=[39;49m[43mserver_hostname_rm_dot[49m[43m,[49m
2024-06-26T06:13:26.3310583Z E [1;32m 665[0m [43m [49m[43mssl_context[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mssl_context[49m[43m,[49m
2024-06-26T06:13:26.3311032Z E [1;32m 666[0m [43m [49m[43mtls_in_tls[49m[38;5;241;43m=[39;49m[43mtls_in_tls[49m[43m,[49m
2024-06-26T06:13:26.3311708Z E [1;32m 667[0m [43m [49m[43massert_hostname[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43massert_hostname[49m[43m,[49m
2024-06-26T06:13:26.3312420Z E [1;32m 668[0m [43m [49m[43massert_fingerprint[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43massert_fingerprint[49m[43m,[49m
2024-06-26T06:13:26.3312647Z E [1;32m 669[0m [43m[49m[43m)[49m
2024-06-26T06:13:26.3313156Z E [1;32m 670[0m [38;5;28mself[39m[38;5;241m.[39msock [38;5;241m=[39m sock_and_verified[38;5;241m.[39msocket
2024-06-26T06:13:26.3313281Z E
2024-06-26T06:13:26.3315152Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connection.py:805[0m, in [0;36m_ssl_wrap_socket_and_match_hostname[0;34m(sock, cert_reqs, ssl_version, ssl_minimum_version, ssl_maximum_version, cert_file, key_file, key_password, ca_certs, ca_cert_dir, ca_cert_data, assert_hostname, assert_fingerprint, server_hostname, ssl_context, tls_in_tls)[0m
2024-06-26T06:13:26.3315481Z E [1;32m 803[0m server_hostname [38;5;241m=[39m normalized
2024-06-26T06:13:26.3316057Z E [0;32m--> 805[0m ssl_sock [38;5;241m=[39m [43mssl_wrap_socket[49m[43m([49m
2024-06-26T06:13:26.3316631Z E [1;32m 806[0m [43m [49m[43msock[49m[38;5;241;43m=[39;49m[43msock[49m[43m,[49m
2024-06-26T06:13:26.3317089Z E [1;32m 807[0m [43m [49m[43mkeyfile[49m[38;5;241;43m=[39;49m[43mkey_file[49m[43m,[49m
2024-06-26T06:13:26.3317539Z E [1;32m 808[0m [43m [49m[43mcertfile[49m[38;5;241;43m=[39;49m[43mcert_file[49m[43m,[49m
2024-06-26T06:13:26.3318013Z E [1;32m 809[0m [43m [49m[43mkey_password[49m[38;5;241;43m=[39;49m[43mkey_password[49m[43m,[49m
2024-06-26T06:13:26.3318453Z E [1;32m 810[0m [43m [49m[43mca_certs[49m[38;5;241;43m=[39;49m[43mca_certs[49m[43m,[49m
2024-06-26T06:13:26.3318917Z E [1;32m 811[0m [43m [49m[43mca_cert_dir[49m[38;5;241;43m=[39;49m[43mca_cert_dir[49m[43m,[49m
2024-06-26T06:13:26.3319398Z E [1;32m 812[0m [43m [49m[43mca_cert_data[49m[38;5;241;43m=[39;49m[43mca_cert_data[49m[43m,[49m
2024-06-26T06:13:26.3320054Z E [1;32m 813[0m [43m [49m[43mserver_hostname[49m[38;5;241;43m=[39;49m[43mserver_hostname[49m[43m,[49m
2024-06-26T06:13:26.3320505Z E [1;32m 814[0m [43m [49m[43mssl_context[49m[38;5;241;43m=[39;49m[43mcontext[49m[43m,[49m
2024-06-26T06:13:26.3320952Z E [1;32m 815[0m [43m [49m[43mtls_in_tls[49m[38;5;241;43m=[39;49m[43mtls_in_tls[49m[43m,[49m
2024-06-26T06:13:26.3321202Z E [1;32m 816[0m [43m[49m[43m)[49m
2024-06-26T06:13:26.3321430Z E [1;32m 818[0m [38;5;28;01mtry[39;00m:
2024-06-26T06:13:26.3321554Z E
2024-06-26T06:13:26.3323042Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/util/ssl_.py:465[0m, in [0;36mssl_wrap_socket[0;34m(sock, keyfile, certfile, cert_reqs, ca_certs, server_hostname, ssl_version, ciphers, ssl_context, ca_cert_dir, key_password, ca_cert_data, tls_in_tls)[0m
2024-06-26T06:13:26.3323294Z E [1;32m 463[0m [38;5;28;01mpass[39;00m
2024-06-26T06:13:26.3324264Z E [0;32m--> 465[0m ssl_sock [38;5;241m=[39m [43m_ssl_wrap_socket_impl[49m[43m([49m[43msock[49m[43m,[49m[43m [49m[43mcontext[49m[43m,[49m[43m [49m[43mtls_in_tls[49m[43m,[49m[43m [49m[43mserver_hostname[49m[43m)[49m
2024-06-26T06:13:26.3324532Z E [1;32m 466[0m [38;5;28;01mreturn[39;00m ssl_sock
2024-06-26T06:13:26.3324657Z E
2024-06-26T06:13:26.3325711Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/util/ssl_.py:509[0m, in [0;36m_ssl_wrap_socket_impl[0;34m(sock, ssl_context, tls_in_tls, server_hostname)[0m
2024-06-26T06:13:26.3326167Z E [1;32m 507[0m [38;5;28;01mreturn[39;00m SSLTransport(sock, ssl_context, server_hostname)
2024-06-26T06:13:26.3327174Z E [0;32m--> 509[0m [38;5;28;01mreturn[39;00m [43mssl_context[49m[38;5;241;43m.[39;49m[43mwrap_socket[49m[43m([49m[43msock[49m[43m,[49m[43m [49m[43mserver_hostname[49m[38;5;241;43m=[39;49m[43mserver_hostname[49m[43m)[49m
2024-06-26T06:13:26.3327301Z E
2024-06-26T06:13:26.3328443Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/ssl.py:513[0m, in [0;36mSSLContext.wrap_socket[0;34m(self, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname, session)[0m
2024-06-26T06:13:26.3329116Z E [1;32m 507[0m [38;5;28;01mdef[39;00m [38;5;21mwrap_socket[39m([38;5;28mself[39m, sock, server_side[38;5;241m=[39m[38;5;28;01mFalse[39;00m,
2024-06-26T06:13:26.3329536Z E [1;32m 508[0m do_handshake_on_connect[38;5;241m=[39m[38;5;28;01mTrue[39;00m,
2024-06-26T06:13:26.3329955Z E [1;32m 509[0m suppress_ragged_eofs[38;5;241m=[39m[38;5;28;01mTrue[39;00m,
2024-06-26T06:13:26.3330666Z E [1;32m 510[0m server_hostname[38;5;241m=[39m[38;5;28;01mNone[39;00m, session[38;5;241m=[39m[38;5;28;01mNone[39;00m):
2024-06-26T06:13:26.3331217Z E [1;32m 511[0m [38;5;66;03m# SSLSocket class handles server_hostname encoding before it calls[39;00m
2024-06-26T06:13:26.3331524Z E [1;32m 512[0m [38;5;66;03m# ctx._wrap_socket()[39;00m
2024-06-26T06:13:26.3332259Z E [0;32m--> 513[0m [38;5;28;01mreturn[39;00m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43msslsocket_class[49m[38;5;241;43m.[39;49m[43m_create[49m[43m([49m
2024-06-26T06:13:26.3332675Z E [1;32m 514[0m [43m [49m[43msock[49m[38;5;241;43m=[39;49m[43msock[49m[43m,[49m
2024-06-26T06:13:26.3333156Z E [1;32m 515[0m [43m [49m[43mserver_side[49m[38;5;241;43m=[39;49m[43mserver_side[49m[43m,[49m
2024-06-26T06:13:26.3333847Z E [1;32m 516[0m [43m [49m[43mdo_handshake_on_connect[49m[38;5;241;43m=[39;49m[43mdo_handshake_on_connect[49m[43m,[49m
2024-06-26T06:13:26.3334403Z E [1;32m 517[0m [43m [49m[43msuppress_ragged_eofs[49m[38;5;241;43m=[39;49m[43msuppress_ragged_eofs[49m[43m,[49m
2024-06-26T06:13:26.3334908Z E [1;32m 518[0m [43m [49m[43mserver_hostname[49m[38;5;241;43m=[39;49m[43mserver_hostname[49m[43m,[49m
2024-06-26T06:13:26.3335374Z E [1;32m 519[0m [43m [49m[43mcontext[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[43m,[49m
2024-06-26T06:13:26.3335773Z E [1;32m 520[0m [43m [49m[43msession[49m[38;5;241;43m=[39;49m[43msession[49m
2024-06-26T06:13:26.3336002Z E [1;32m 521[0m [43m [49m[43m)[49m
2024-06-26T06:13:26.3336133Z E
2024-06-26T06:13:26.3337837Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/ssl.py:1104[0m, in [0;36mSSLSocket._create[0;34m(cls, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname, context, session)[0m
2024-06-26T06:13:26.3339350Z E [1;32m 1103[0m [38;5;28;01mraise[39;00m [38;5;167;01mValueError[39;00m([38;5;124m"[39m[38;5;124mdo_handshake_on_connect should not be specified for non-blocking sockets[39m[38;5;124m"[39m)
2024-06-26T06:13:26.3340202Z E [0;32m-> 1104[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mdo_handshake[49m[43m([49m[43m)[49m
2024-06-26T06:13:26.3341035Z E [1;32m 1105[0m [38;5;28;01mexcept[39;00m ([38;5;167;01mOSError[39;00m, [38;5;167;01mValueError[39;00m):
2024-06-26T06:13:26.3341235Z E
2024-06-26T06:13:26.3342487Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/ssl.py:1375[0m, in [0;36mSSLSocket.do_handshake[0;34m(self, block)[0m
2024-06-26T06:13:26.3343307Z E [1;32m 1374[0m [38;5;28mself[39m[38;5;241m.[39msettimeout([38;5;28;01mNone[39;00m)
2024-06-26T06:13:26.3344411Z E [0;32m-> 1375[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_sslobj[49m[38;5;241;43m.[39;49m[43mdo_handshake[49m[43m([49m[43m)[49m
2024-06-26T06:13:26.3344822Z E [1;32m 1376[0m [38;5;28;01mfinally[39;00m:
2024-06-26T06:13:26.3345015Z E
2024-06-26T06:13:26.3346138Z E [0;31mSSLCertVerificationError[0m: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)
2024-06-26T06:13:26.3346350Z E
2024-06-26T06:13:26.3346831Z E During handling of the above exception, another exception occurred:
2024-06-26T06:13:26.3347018Z E
2024-06-26T06:13:26.3347629Z E [0;31mSSLError[0m Traceback (most recent call last)
2024-06-26T06:13:26.3350369Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connectionpool.py:789[0m, in [0;36mHTTPConnectionPool.urlopen[0;34m(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)[0m
2024-06-26T06:13:26.3350872Z E [1;32m 788[0m [38;5;66;03m# Make the request on the HTTPConnection object[39;00m
2024-06-26T06:13:26.3351449Z E [0;32m--> 789[0m response [38;5;241m=[39m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_make_request[49m[43m([49m
2024-06-26T06:13:26.3351742Z E [1;32m 790[0m [43m [49m[43mconn[49m[43m,[49m
2024-06-26T06:13:26.3352025Z E [1;32m 791[0m [43m [49m[43mmethod[49m[43m,[49m
2024-06-26T06:13:26.3352294Z E [1;32m 792[0m [43m [49m[43murl[49m[43m,[49m
2024-06-26T06:13:26.3352744Z E [1;32m 793[0m [43m [49m[43mtimeout[49m[38;5;241;43m=[39;49m[43mtimeout_obj[49m[43m,[49m
2024-06-26T06:13:26.3353285Z E [1;32m 794[0m [43m [49m[43mbody[49m[38;5;241;43m=[39;49m[43mbody[49m[43m,[49m
2024-06-26T06:13:26.3353731Z E [1;32m 795[0m [43m [49m[43mheaders[49m[38;5;241;43m=[39;49m[43mheaders[49m[43m,[49m
2024-06-26T06:13:26.3354168Z E [1;32m 796[0m [43m [49m[43mchunked[49m[38;5;241;43m=[39;49m[43mchunked[49m[43m,[49m
2024-06-26T06:13:26.3354608Z E [1;32m 797[0m [43m [49m[43mretries[49m[38;5;241;43m=[39;49m[43mretries[49m[43m,[49m
2024-06-26T06:13:26.3355091Z E [1;32m 798[0m [43m [49m[43mresponse_conn[49m[38;5;241;43m=[39;49m[43mresponse_conn[49m[43m,[49m
2024-06-26T06:13:26.3355589Z E [1;32m 799[0m [43m [49m[43mpreload_content[49m[38;5;241;43m=[39;49m[43mpreload_content[49m[43m,[49m
2024-06-26T06:13:26.3356289Z E [1;32m 800[0m [43m [49m[43mdecode_content[49m[38;5;241;43m=[39;49m[43mdecode_content[49m[43m,[49m
2024-06-26T06:13:26.3356765Z E [1;32m 801[0m [43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mresponse_kw[49m[43m,[49m
2024-06-26T06:13:26.3356983Z E [1;32m 802[0m [43m[49m[43m)[49m
2024-06-26T06:13:26.3357295Z E [1;32m 804[0m [38;5;66;03m# Everything went great![39;00m
2024-06-26T06:13:26.3357427Z E
2024-06-26T06:13:26.3360028Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connectionpool.py:490[0m, in [0;36mHTTPConnectionPool._make_request[0;34m(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)[0m
2024-06-26T06:13:26.3360954Z E [1;32m 489[0m new_e [38;5;241m=[39m _wrap_proxy_error(new_e, conn[38;5;241m.[39mproxy[38;5;241m.[39mscheme)
2024-06-26T06:13:26.3361415Z E [0;32m--> 490[0m [38;5;28;01mraise[39;00m new_e
2024-06-26T06:13:26.3362260Z E [1;32m 492[0m [38;5;66;03m# conn.request() calls http.client.*.request, not the method in[39;00m
2024-06-26T06:13:26.3363098Z E [1;32m 493[0m [38;5;66;03m# urllib3.request. It also calls makefile (recv) on the socket.[39;00m
2024-06-26T06:13:26.3363314Z E
2024-06-26T06:13:26.3364321Z E [0;31mSSLError[0m: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)
2024-06-26T06:13:26.3364522Z E
2024-06-26T06:13:26.3365025Z E The above exception was the direct cause of the following exception:
2024-06-26T06:13:26.3365240Z E
2024-06-26T06:13:26.3365932Z E [0;31mMaxRetryError[0m Traceback (most recent call last)
2024-06-26T06:13:26.3367816Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/adapters.py:667[0m, in [0;36mHTTPAdapter.send[0;34m(self, request, stream, timeout, verify, cert, proxies)[0m
2024-06-26T06:13:26.3368527Z E [1;32m 666[0m [38;5;28;01mtry[39;00m:
2024-06-26T06:13:26.3369455Z E [0;32m--> 667[0m resp [38;5;241m=[39m [43mconn[49m[38;5;241;43m.[39;49m[43murlopen[49m[43m([49m
2024-06-26T06:13:26.3370488Z E [1;32m 668[0m [43m [49m[43mmethod[49m[38;5;241;43m=[39;49m[43mrequest[49m[38;5;241;43m.[39;49m[43mmethod[49m[43m,[49m
2024-06-26T06:13:26.3371216Z E [1;32m 669[0m [43m [49m[43murl[49m[38;5;241;43m=[39;49m[43murl[49m[43m,[49m
2024-06-26T06:13:26.3372245Z E [1;32m 670[0m [43m [49m[43mbody[49m[38;5;241;43m=[39;49m[43mrequest[49m[38;5;241;43m.[39;49m[43mbody[49m[43m,[49m
2024-06-26T06:13:26.3373329Z E [1;32m 671[0m [43m [49m[43mheaders[49m[38;5;241;43m=[39;49m[43mrequest[49m[38;5;241;43m.[39;49m[43mheaders[49m[43m,[49m
2024-06-26T06:13:26.3374527Z E [1;32m 672[0m [43m [49m[43mredirect[49m[38;5;241;43m=[39;49m[38;5;28;43;01mFalse[39;49;00m[43m,[49m
2024-06-26T06:13:26.3375503Z E [1;32m 673[0m [43m [49m[43massert_same_host[49m[38;5;241;43m=[39;49m[38;5;28;43;01mFalse[39;49;00m[43m,[49m
2024-06-26T06:13:26.3376487Z E [1;32m 674[0m [43m [49m[43mpreload_content[49m[38;5;241;43m=[39;49m[38;5;28;43;01mFalse[39;49;00m[43m,[49m
2024-06-26T06:13:26.3377449Z E [1;32m 675[0m [43m [49m[43mdecode_content[49m[38;5;241;43m=[39;49m[38;5;28;43;01mFalse[39;49;00m[43m,[49m
2024-06-26T06:13:26.3378610Z E [1;32m 676[0m [43m [49m[43mretries[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mmax_retries[49m[43m,[49m
2024-06-26T06:13:26.3379410Z E [1;32m 677[0m [43m [49m[43mtimeout[49m[38;5;241;43m=[39;49m[43mtimeout[49m[43m,[49m
2024-06-26T06:13:26.3380241Z E [1;32m 678[0m [43m [49m[43mchunked[49m[38;5;241;43m=[39;49m[43mchunked[49m[43m,[49m
2024-06-26T06:13:26.3380663Z E [1;32m 679[0m [43m [49m[43m)[49m
2024-06-26T06:13:26.3381676Z E [1;32m 681[0m [38;5;28;01mexcept[39;00m (ProtocolError, [38;5;167;01mOSError[39;00m) [38;5;28;01mas[39;00m err:
2024-06-26T06:13:26.3381886Z E
2024-06-26T06:13:26.3385014Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/connectionpool.py:843[0m, in [0;36mHTTPConnectionPool.urlopen[0;34m(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)[0m
2024-06-26T06:13:26.3386117Z E [1;32m 841[0m new_e [38;5;241m=[39m ProtocolError([38;5;124m"[39m[38;5;124mConnection aborted.[39m[38;5;124m"[39m, new_e)
2024-06-26T06:13:26.3387071Z E [0;32m--> 843[0m retries [38;5;241m=[39m [43mretries[49m[38;5;241;43m.[39;49m[43mincrement[49m[43m([49m
2024-06-26T06:13:26.3389994Z E [1;32m 844[0m [43m [49m[43mmethod[49m[43m,[49m[43m [49m[43murl[49m[43m,[49m[43m [49m[43merror[49m[38;5;241;43m=[39;49m[43mnew_e[49m[43m,[49m[43m [49m[43m_pool[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[43m,[49m[43m [49m[43m_stacktrace[49m[38;5;241;43m=[39;49m[43msys[49m[38;5;241;43m.[39;49m[43mexc_info[49m[43m([49m[43m)[49m[43m[[49m[38;5;241;43m2[39;49m[43m][49m
2024-06-26T06:13:26.3390398Z E [1;32m 845[0m [43m[49m[43m)[49m
2024-06-26T06:13:26.3390835Z E [1;32m 846[0m retries[38;5;241m.[39msleep()
2024-06-26T06:13:26.3391044Z E
2024-06-26T06:13:26.3392958Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/urllib3/util/retry.py:519[0m, in [0;36mRetry.increment[0;34m(self, method, url, response, error, _pool, _stacktrace)[0m
2024-06-26T06:13:26.3393975Z E [1;32m 518[0m reason [38;5;241m=[39m error [38;5;129;01mor[39;00m ResponseError(cause)
2024-06-26T06:13:26.3395359Z E [0;32m--> 519[0m [38;5;28;01mraise[39;00m MaxRetryError(_pool, url, reason) [38;5;28;01mfrom[39;00m [38;5;21;01mreason[39;00m [38;5;66;03m# type: ignore[arg-type][39;00m
2024-06-26T06:13:26.3397317Z E [1;32m 521[0m log[38;5;241m.[39mdebug([38;5;124m"[39m[38;5;124mIncremented Retry for (url=[39m[38;5;124m'[39m[38;5;132;01m%s[39;00m[38;5;124m'[39m[38;5;124m): [39m[38;5;132;01m%r[39;00m[38;5;124m"[39m, url, new_retry)
2024-06-26T06:13:26.3397549Z E
2024-06-26T06:13:26.3400046Z E [0;31mMaxRetryError[0m: HTTPSConnectionPool(host='files.grouplens.org', port=443): Max retries exceeded with url: /datasets/movielens/ml-1m.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)')))
2024-06-26T06:13:26.3400595Z E
2024-06-26T06:13:26.3401131Z E During handling of the above exception, another exception occurred:
2024-06-26T06:13:26.3401342Z E
2024-06-26T06:13:26.3402024Z E [0;31mSSLError[0m Traceback (most recent call last)
2024-06-26T06:13:26.3402356Z E Cell [0;32mIn[4], line 11[0m
2024-06-26T06:13:26.3403489Z E [1;32m 1[0m [38;5;66;03m# Note: The DataFrame-based API for ALS currently only supports integers for user and item ids.[39;00m
2024-06-26T06:13:26.3403958Z E [1;32m 2[0m schema [38;5;241m=[39m StructType(
2024-06-26T06:13:26.3404253Z E [1;32m 3[0m (
2024-06-26T06:13:26.3404785Z E [1;32m 4[0m StructField(COL_USER, IntegerType()),
2024-06-26T06:13:26.3405083Z E [0;32m (...)[0m
2024-06-26T06:13:26.3405398Z E [1;32m 8[0m )
2024-06-26T06:13:26.3405701Z E [1;32m 9[0m )
2024-06-26T06:13:26.3408031Z E [0;32m---> 11[0m data [38;5;241m=[39m [43mmovielens[49m[38;5;241;43m.[39;49m[43mload_spark_df[49m[43m([49m[43mspark[49m[43m,[49m[43m [49m[43msize[49m[38;5;241;43m=[39;49m[43mMOVIELENS_DATA_SIZE[49m[43m,[49m[43m [49m[43mschema[49m[38;5;241;43m=[39;49m[43mschema[49m[43m)[49m
2024-06-26T06:13:26.3408457Z E [1;32m 12[0m data[38;5;241m.[39mshow()
2024-06-26T06:13:26.3408660Z E
2024-06-26T06:13:26.3411040Z E File [0;32m/mnt/azureml/cr/j/eead6898f1904961a42d902e2e4e28f5/exe/wd/recommenders/datasets/movielens.py:445[0m, in [0;36mload_spark_df[0;34m(spark, size, header, schema, local_cache_path, dbutils, title_col, genres_col, year_col)[0m
2024-06-26T06:13:26.3411968Z E [1;32m 443[0m [38;5;28;01mwith[39;00m download_path(local_cache_path) [38;5;28;01mas[39;00m path:
2024-06-26T06:13:26.3413766Z E [1;32m 444[0m filepath [38;5;241m=[39m os[38;5;241m.[39mpath[38;5;241m.[39mjoin(path, [38;5;124m"[39m[38;5;124mml-[39m[38;5;132;01m***[39;00m[38;5;124m.zip[39m[38;5;124m"[39m[38;5;241m.[39mformat(size))
2024-06-26T06:13:26.3415183Z E [0;32m--> 445[0m datapath, item_datapath [38;5;241m=[39m [43m_maybe_download_and_extract[49m[43m([49m[43msize[49m[43m,[49m[43m [49m[43mfilepath[49m[43m)[49m
2024-06-26T06:13:26.3416683Z E [1;32m 446[0m spark_datapath [38;5;241m=[39m [38;5;124m"[39m[38;5;124mfile:///[39m[38;5;124m"[39m [38;5;241m+[39m datapath [38;5;66;03m# shorten form of file://localhost/[39;00m
2024-06-26T06:13:26.3417552Z E [1;32m 448[0m [38;5;66;03m# Load movie features such as title, genres, and release year.[39;00m
2024-06-26T06:13:26.3418623Z E [1;32m 449[0m [38;5;66;03m# Since the file size is small, we directly load as pd.DataFrame from the driver node[39;00m
2024-06-26T06:13:26.3419386Z E [1;32m 450[0m [38;5;66;03m# and then convert into pyspark.sql.DataFrame[39;00m
2024-06-26T06:13:26.3419591Z E
2024-06-26T06:13:26.3421718Z E File [0;32m/mnt/azureml/cr/j/eead6898f1904961a42d902e2e4e28f5/exe/wd/recommenders/datasets/movielens.py:539[0m, in [0;36m_maybe_download_and_extract[0;34m(size, dest_path)[0m
2024-06-26T06:13:26.3422606Z E [1;32m 536[0m item_path [38;5;241m=[39m os[38;5;241m.[39mpath[38;5;241m.[39mjoin(dirs, item_filename)
2024-06-26T06:13:26.3424263Z E [1;32m 538[0m [38;5;28;01mif[39;00m [38;5;129;01mnot[39;00m os[38;5;241m.[39mpath[38;5;241m.[39mexists(rating_path) [38;5;129;01mor[39;00m [38;5;129;01mnot[39;00m os[38;5;241m.[39mpath[38;5;241m.[39mexists(item_path):
2024-06-26T06:13:26.3424941Z E [0;32m--> 539[0m [43mdownload_movielens[49m[43m([49m[43msize[49m[43m,[49m[43m [49m[43mdest_path[49m[43m)[49m
2024-06-26T06:13:26.3425338Z E [1;32m 540[0m extract_movielens(size, rating_path, item_path, dest_path)
2024-06-26T06:13:26.3425890Z E [1;32m 542[0m [38;5;28;01mreturn[39;00m rating_path, item_path
2024-06-26T06:13:26.3426019Z E
2024-06-26T06:13:26.3427256Z E File [0;32m/mnt/azureml/cr/j/eead6898f1904961a42d902e2e4e28f5/exe/wd/recommenders/datasets/movielens.py:557[0m, in [0;36mdownload_movielens[0;34m(size, dest_path)[0m
2024-06-26T06:13:26.3428289Z E [1;32m 555[0m url [38;5;241m=[39m [38;5;124m"[39m[38;5;124mhttps://files.grouplens.org/datasets/movielens/ml-[39m[38;5;124m"[39m [38;5;241m+[39m size [38;5;241m+[39m [38;5;124m"[39m[38;5;124m.zip[39m[38;5;124m"[39m
2024-06-26T06:13:26.3428759Z E [1;32m 556[0m dirs, file [38;5;241m=[39m os[38;5;241m.[39mpath[38;5;241m.[39msplit(dest_path)
2024-06-26T06:13:26.3429564Z E [0;32m--> 557[0m [43mmaybe_download[49m[43m([49m[43murl[49m[43m,[49m[43m [49m[43mfile[49m[43m,[49m[43m [49m[43mwork_directory[49m[38;5;241;43m=[39;49m[43mdirs[49m[43m)[49m
2024-06-26T06:13:26.3429696Z E
2024-06-26T06:13:26.3430640Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/retrying.py:56[0m, in [0;36mretry.<locals>.wrap.<locals>.wrapped_f[0;34m(*args, **kw)[0m
2024-06-26T06:13:26.3430940Z E [1;32m 54[0m [38;5;129m@six[39m[38;5;241m.[39mwraps(f)
2024-06-26T06:13:26.3431541Z E [1;32m 55[0m [38;5;28;01mdef[39;00m [38;5;21mwrapped_f[39m([38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkw):
2024-06-26T06:13:26.3433107Z E [0;32m---> 56[0m [38;5;28;01mreturn[39;00m [43mRetrying[49m[43m([49m[38;5;241;43m*[39;49m[43mdargs[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mdkw[49m[43m)[49m[38;5;241;43m.[39;49m[43mcall[49m[43m([49m[43mf[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[43margs[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkw[49m[43m)[49m
2024-06-26T06:13:26.3433235Z E
2024-06-26T06:13:26.3434121Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/retrying.py:266[0m, in [0;36mRetrying.call[0;34m(self, fn, *args, **kwargs)[0m
2024-06-26T06:13:26.3434698Z E [1;32m 263[0m [38;5;28;01mif[39;00m [38;5;28mself[39m[38;5;241m.[39mstop(attempt_number, delay_since_first_attempt_ms):
2024-06-26T06:13:26.3435473Z E [1;32m 264[0m [38;5;28;01mif[39;00m [38;5;129;01mnot[39;00m [38;5;28mself[39m[38;5;241m.[39m_wrap_exception [38;5;129;01mand[39;00m attempt[38;5;241m.[39mhas_exception:
2024-06-26T06:13:26.3436390Z E [1;32m 265[0m [38;5;66;03m# get() on an attempt with an exception should cause it to be raised, but raise just in case[39;00m
2024-06-26T06:13:26.3436947Z E [0;32m--> 266[0m [38;5;28;01mraise[39;00m [43mattempt[49m[38;5;241;43m.[39;49m[43mget[49m[43m([49m[43m)[49m
2024-06-26T06:13:26.3437199Z E [1;32m 267[0m [38;5;28;01melse[39;00m:
2024-06-26T06:13:26.3437699Z E [1;32m 268[0m [38;5;28;01mraise[39;00m RetryError(attempt)
2024-06-26T06:13:26.3437831Z E
2024-06-26T06:13:26.3438691Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/retrying.py:301[0m, in [0;36mAttempt.get[0;34m(self, wrap_exception)[0m
2024-06-26T06:13:26.3439063Z E [1;32m 299[0m [38;5;28;01mraise[39;00m RetryError([38;5;28mself[39m)
2024-06-26T06:13:26.3439306Z E [1;32m 300[0m [38;5;28;01melse[39;00m:
2024-06-26T06:13:26.3441059Z E [0;32m--> 301[0m [43msix[49m[38;5;241;43m.[39;49m[43mreraise[49m[43m([49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mvalue[49m[43m[[49m[38;5;241;43m0[39;49m[43m][49m[43m,[49m[43m [49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mvalue[49m[43m[[49m[38;5;241;43m1[39;49m[43m][49m[43m,[49m[43m [49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mvalue[49m[43m[[49m[38;5;241;43m2[39;49m[43m][49m[43m)[49m
2024-06-26T06:13:26.3441433Z E [1;32m 302[0m [38;5;28;01melse[39;00m:
2024-06-26T06:13:26.3441837Z E [1;32m 303[0m [38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mvalue
2024-06-26T06:13:26.3441961Z E
2024-06-26T06:13:26.3442738Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/six.py:719[0m, in [0;36mreraise[0;34m(tp, value, tb)[0m
2024-06-26T06:13:26.3443329Z E [1;32m 717[0m [38;5;28;01mif[39;00m value[38;5;241m.[39m__traceback__ [38;5;129;01mis[39;00m [38;5;129;01mnot[39;00m tb:
2024-06-26T06:13:26.3443741Z E [1;32m 718[0m [38;5;28;01mraise[39;00m value[38;5;241m.[39mwith_traceback(tb)
2024-06-26T06:13:26.3444013Z E [0;32m--> 719[0m [38;5;28;01mraise[39;00m value
2024-06-26T06:13:26.3444255Z E [1;32m 720[0m [38;5;28;01mfinally[39;00m:
2024-06-26T06:13:26.3444589Z E [1;32m 721[0m value [38;5;241m=[39m [38;5;28;01mNone[39;00m
2024-06-26T06:13:26.3444711Z E
2024-06-26T06:13:26.3445602Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/retrying.py:251[0m, in [0;36mRetrying.call[0;34m(self, fn, *args, **kwargs)[0m
2024-06-26T06:13:26.3446016Z E [1;32m 248[0m [38;5;28mself[39m[38;5;241m.[39m_before_attempts(attempt_number)
2024-06-26T06:13:26.3446245Z E [1;32m 250[0m [38;5;28;01mtry[39;00m:
2024-06-26T06:13:26.3447259Z E [0;32m--> 251[0m attempt [38;5;241m=[39m Attempt([43mfn[49m[43m([49m[38;5;241;43m*[39;49m[43margs[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m, attempt_number, [38;5;28;01mFalse[39;00m)
2024-06-26T06:13:26.3447499Z E [1;32m 252[0m [38;5;28;01mexcept[39;00m:
2024-06-26T06:13:26.3447840Z E [1;32m 253[0m tb [38;5;241m=[39m sys[38;5;241m.[39mexc_info()
2024-06-26T06:13:26.3447964Z E
2024-06-26T06:13:26.3449079Z E File [0;32m/mnt/azureml/cr/j/eead6898f1904961a42d902e2e4e28f5/exe/wd/recommenders/datasets/download_utils.py:36[0m, in [0;36mmaybe_download[0;34m(url, filename, work_directory, expected_bytes)[0m
2024-06-26T06:13:26.3449598Z E [1;32m 34[0m filepath [38;5;241m=[39m os[38;5;241m.[39mpath[38;5;241m.[39mjoin(work_directory, filename)
2024-06-26T06:13:26.3450141Z E [1;32m 35[0m [38;5;28;01mif[39;00m [38;5;129;01mnot[39;00m os[38;5;241m.[39mpath[38;5;241m.[39mexists(filepath):
2024-06-26T06:13:26.3451026Z E [0;32m---> 36[0m r [38;5;241m=[39m [43mrequests[49m[38;5;241;43m.[39;49m[43mget[49m[43m([49m[43murl[49m[43m,[49m[43m [49m[43mstream[49m[38;5;241;43m=[39;49m[38;5;28;43;01mTrue[39;49;00m[43m)[49m
2024-06-26T06:13:26.3451641Z E [1;32m 37[0m [38;5;28;01mif[39;00m r[38;5;241m.[39mstatus_code [38;5;241m==[39m [38;5;241m200[39m:
2024-06-26T06:13:26.3452421Z E [1;32m 38[0m log[38;5;241m.[39minfo([38;5;124mf[39m[38;5;124m"[39m[38;5;124mDownloading [39m[38;5;132;01m***[39;00murl[38;5;132;01m***[39;00m[38;5;124m"[39m)
2024-06-26T06:13:26.3452549Z E
2024-06-26T06:13:26.3453393Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/api.py:73[0m, in [0;36mget[0;34m(url, params, **kwargs)[0m
2024-06-26T06:13:26.3454063Z E [1;32m 62[0m [38;5;28;01mdef[39;00m [38;5;21mget[39m(url, params[38;5;241m=[39m[38;5;28;01mNone[39;00m, [38;5;241m*[39m[38;5;241m*[39mkwargs):
2024-06-26T06:13:26.3454493Z E [1;32m 63[0m [38;5;250m [39m[38;5;124mr[39m[38;5;124;03m"""Sends a GET request.[39;00m
2024-06-26T06:13:26.3454786Z E [1;32m 64[0m
2024-06-26T06:13:26.3455226Z E [1;32m 65[0m [38;5;124;03m :param url: URL for the new :class:`Request` object.[39;00m
2024-06-26T06:13:26.3455399Z E [0;32m (...)[0m
2024-06-26T06:13:26.3455731Z E [1;32m 70[0m [38;5;124;03m :rtype: requests.Response[39;00m
2024-06-26T06:13:26.3455968Z E [1;32m 71[0m [38;5;124;03m """[39;00m
2024-06-26T06:13:26.3457329Z E [0;32m---> 73[0m [38;5;28;01mreturn[39;00m [43mrequest[49m[43m([49m[38;5;124;43m"[39;49m[38;5;124;43mget[39;49m[38;5;124;43m"[39;49m[43m,[49m[43m [49m[43murl[49m[43m,[49m[43m [49m[43mparams[49m[38;5;241;43m=[39;49m[43mparams[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m
2024-06-26T06:13:26.3457454Z E
2024-06-26T06:13:26.3458306Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/api.py:59[0m, in [0;36mrequest[0;34m(method, url, **kwargs)[0m
2024-06-26T06:13:26.3458848Z E [1;32m 55[0m [38;5;66;03m# By using the 'with' statement we are sure the session is closed, thus we[39;00m
2024-06-26T06:13:26.3459367Z E [1;32m 56[0m [38;5;66;03m# avoid leaving sockets open which can trigger a ResourceWarning in some[39;00m
2024-06-26T06:13:26.3459768Z E [1;32m 57[0m [38;5;66;03m# cases, and look like a memory leak in others.[39;00m
2024-06-26T06:13:26.3460255Z E [1;32m 58[0m [38;5;28;01mwith[39;00m sessions[38;5;241m.[39mSession() [38;5;28;01mas[39;00m session:
2024-06-26T06:13:26.3461557Z E [0;32m---> 59[0m [38;5;28;01mreturn[39;00m [43msession[49m[38;5;241;43m.[39;49m[43mrequest[49m[43m([49m[43mmethod[49m[38;5;241;43m=[39;49m[43mmethod[49m[43m,[49m[43m [49m[43murl[49m[38;5;241;43m=[39;49m[43murl[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m
2024-06-26T06:13:26.3461685Z E
2024-06-26T06:13:26.3463118Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/sessions.py:589[0m, in [0;36mSession.request[0;34m(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)[0m
2024-06-26T06:13:26.3463392Z E [1;32m 584[0m send_kwargs [38;5;241m=[39m ***
2024-06-26T06:13:26.3463782Z E [1;32m 585[0m [38;5;124m"[39m[38;5;124mtimeout[39m[38;5;124m"[39m: timeout,
2024-06-26T06:13:26.3464238Z E [1;32m 586[0m [38;5;124m"[39m[38;5;124mallow_redirects[39m[38;5;124m"[39m: allow_redirects,
2024-06-26T06:13:26.3464418Z E [1;32m 587[0m ***
2024-06-26T06:13:26.3464740Z E [1;32m 588[0m send_kwargs[38;5;241m.[39mupdate(settings)
2024-06-26T06:13:26.3465814Z E [0;32m--> 589[0m resp [38;5;241m=[39m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43msend[49m[43m([49m[43mprep[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43msend_kwargs[49m[43m)[49m
2024-06-26T06:13:26.3466079Z E [1;32m 591[0m [38;5;28;01mreturn[39;00m resp
2024-06-26T06:13:26.3466204Z E
2024-06-26T06:13:26.3467150Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/sessions.py:703[0m, in [0;36mSession.send[0;34m(self, request, **kwargs)[0m
2024-06-26T06:13:26.3467448Z E [1;32m 700[0m start [38;5;241m=[39m preferred_clock()
2024-06-26T06:13:26.3467735Z E [1;32m 702[0m [38;5;66;03m# Send the request[39;00m
2024-06-26T06:13:26.3468606Z E [0;32m--> 703[0m r [38;5;241m=[39m [43madapter[49m[38;5;241;43m.[39;49m[43msend[49m[43m([49m[43mrequest[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m
2024-06-26T06:13:26.3469163Z E [1;32m 705[0m [38;5;66;03m# Total elapsed time of the request (approximately)[39;00m
2024-06-26T06:13:26.3469562Z E [1;32m 706[0m elapsed [38;5;241m=[39m preferred_clock() [38;5;241m-[39m start
2024-06-26T06:13:26.3469686Z E
2024-06-26T06:13:26.3470770Z E File [0;32m/azureml-envs/azureml_66eae34152a1571d4aee896f90647183/lib/python3.10/site-packages/requests/adapters.py:698[0m, in [0;36mHTTPAdapter.send[0;34m(self, request, stream, timeout, verify, cert, proxies)[0m
2024-06-26T06:13:26.3471210Z E [1;32m 694[0m [38;5;28;01mraise[39;00m ProxyError(e, request[38;5;241m=[39mrequest)
2024-06-26T06:13:26.3471692Z E [1;32m 696[0m [38;5;28;01mif[39;00m [38;5;28misinstance[39m(e[38;5;241m.[39mreason, _SSLError):
2024-06-26T06:13:26.3472103Z E [1;32m 697[0m [38;5;66;03m# This branch is for urllib3 v1.22 and later.[39;00m
2024-06-26T06:13:26.3472539Z E [0;32m--> 698[0m [38;5;28;01mraise[39;00m SSLError(e, request[38;5;241m=[39mrequest)
2024-06-26T06:13:26.3473077Z E [1;32m 700[0m [38;5;28;01mraise[39;00m [38;5;167;01mConnectionError[39;00m(e, request[38;5;241m=[39mrequest)
2024-06-26T06:13:26.3473489Z E [1;32m 702[0m [38;5;28;01mexcept[39;00m ClosedPoolError [38;5;28;01mas[39;00m e:
2024-06-26T06:13:26.3473613Z E
2024-06-26T06:13:26.3475038Z E [0;31mSSLError[0m: HTTPSConnectionPool(host='files.grouplens.org', port=443): Max retries exceeded with url: /datasets/movielens/ml-1m.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)')))
Description
In which platform does it happen?
All
How do we replicate the issue?
More info: https://github.com/recommenders-team/recommenders/actions/runs/9671261357
Expected behavior (i.e. solution)
Other Comments