Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX-#4479: Prevent users from using a local filepath when performing a distributed write #4484

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

RehanSD
Copy link
Collaborator

@RehanSD RehanSD commented May 23, 2022

Signed-off-by: Rehan Durrani [email protected]

What do these changes do?

Prevent users from specifying a local file path on a distributed write.

  • commit message follows format outlined here
  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves BUG: users shouldn't be able to specify a local path when writing output on a cluster #4479 ?
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date
  • added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

…n performing a distributed write

Signed-off-by: Rehan Durrani <[email protected]>
@RehanSD RehanSD requested a review from a team as a code owner May 23, 2022 19:31
Signed-off-by: Rehan Durrani <[email protected]>
Signed-off-by: Rehan Durrani <[email protected]>
@modin-bot
Copy link

modin-bot commented May 23, 2022

TeamCity Ray test results bot

Tests FAILed

Tests Logs
dentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:30:59,828	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:30:59,829	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:01,404	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:01,405	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:01,406	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:01,407	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:01,408	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:01,408	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
2022-05-25 21:31:02,487	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:02,489	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:02,489	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:02,490	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:02,491	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
2022-05-25 21:31:02,491	ERROR worker.py:92 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): �[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

�[36mray::_deploy_ray_func()�[39m (pid=1515, ip=172.17.0.22)
  File "/modin/modin/core/execution/ray/common/task_wrapper.py", line 42, in _deploy_ray_func
    return func(**args)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"

---------- coverage: platform linux, python 3.8.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestFwf::test_read_fwf_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestFwf::test_read_fwf_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options2]
= 8 failed, 1667 passed, 341 skipped, 447 xfailed, 1 xpassed, 424 warnings in 276.64s (0:04:36) =


<b>Remaining output truncated<b>


@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #4484 (a7acd81) into master (0f70e82) will decrease coverage by 8.61%.
The diff coverage is 75.86%.

@@            Coverage Diff             @@
##           master    #4484      +/-   ##
==========================================
- Coverage   86.82%   78.21%   -8.62%     
==========================================
  Files         222      230       +8     
  Lines       18038    23692    +5654     
==========================================
+ Hits        15662    18530    +2868     
- Misses       2376     5162    +2786     
Impacted Files Coverage Δ
...ecution/ray/implementations/pandas_on_ray/io/io.py 83.62% <33.33%> (-4.23%) ⬇️
modin/core/io/utils.py 95.00% <95.00%> (ø)
modin/core/io/text/text_file_dispatcher.py 64.78% <0.00%> (-32.54%) ⬇️
modin/pandas/window.py 67.82% <0.00%> (-32.18%) ⬇️
modin/pandas/resample.py 65.81% <0.00%> (-31.90%) ⬇️
modin/pandas/general.py 66.75% <0.00%> (-29.28%) ⬇️
...mentations/pandas_on_ray/partitioning/partition.py 60.91% <0.00%> (-29.20%) ⬇️
modin/pandas/series_utils.py 70.70% <0.00%> (-28.16%) ⬇️
modin/pandas/base.py 69.51% <0.00%> (-25.30%) ⬇️
modin/core/io/text/excel_dispatcher.py 67.90% <0.00%> (-23.77%) ⬇️
... and 36 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@modin-bot
Copy link

modin-bot commented May 23, 2022

TeamCity Python test results bot

Tests FAILed

Tests Logs
============================= test session starts ==============================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /modin, configfile: setup.cfg
plugins: benchmark-3.4.1, cov-2.11.0, forked-1.4.0, xdist-2.5.0
collected 2465 items

modin/pandas/test/test_io.py ........................................... [  1%]
........................................................................ [  4%]
.............................................ssssssssssssssssssss.ss.ss. [  7%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 10%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 13%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss. [ 16%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 19%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 22%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss............................ [ 25%]
........................................................................ [ 28%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 39%]
........................................................................ [ 42%]
........................................................................ [ 45%]
........................................................................ [ 48%]
.................................s...................................... [ 51%]
........................................................................ [ 54%]
........................................................................ [ 57%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 71%]
........................................................................ [ 74%]
........................................................................ [ 77%]
........................................................................ [ 80%]
................................xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 83%]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 86%]
xxxxxxxx................................................................ [ 89%]
........................................................................ [ 92%]
........................................................................ [ 95%]
.............................................................X.......ss. [ 98%]
...x....................xx.........ss........F                           [100%]

=================================== FAILURES ===================================
______________________________ test_is_local_path ______________________________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2393, in test_is_local_path
    assert is_local_path(
AssertionError: Current Working Directory incorrectly flagged as not local!
assert False
 +  where False = is_local_path('/modin')
 +    where '/modin' = <built-in function getcwd>()
 +      where <built-in function getcwd> = os.getcwd

---------- coverage: platform linux, python 3.8.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/test_io.py::test_is_local_path - AssertionError: Cur...
= 1 failed, 1999 passed, 341 skipped, 123 xfailed, 1 xpassed, 3915 warnings in 134.40s (0:02:14) =
============================= test session starts ==============================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /modin, configfile: setup.cfg
plugins: benchmark-3.4.1, cov-2.11.0, forked-1.4.0, xdist-2.5.0
collected 2465 items

modin/pandas/test/test_io.py ........................................... [  1%]
........................................................................ [  4%]
.............................................ssssssssssssssssssss.ss.ss. [  7%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 10%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 13%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss. [ 16%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 19%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 22%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss............................ [ 25%]
........................................................................ [ 28%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 39%]
........................................................................ [ 42%]
........................................................................ [ 45%]
........................................................................ [ 48%]
.................................s...................................... [ 51%]
........................................................................ [ 54%]
........................................................................ [ 57%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 71%]
........................................................................ [ 74%]
........................................................................ [ 77%]
........................................................................ [ 80%]
................................xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 83%]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 86%]
xxxxxxxx................................................................ [ 89%]
........................................................................ [ 92%]
........................................................................ [ 95%]
.............................................................X.......ss. [ 98%]
...x....................xx.........ss........F                           [100%]

=================================== FAILURES ===================================
______________________________ test_is_local_path ______________________________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2393, in test_is_local_path
    assert is_local_path(
AssertionError: Current Working Directory incorrectly flagged as not local!
assert False
 +  where False = is_local_path('/modin')
 +    where '/modin' = <built-in function getcwd>()
 +      where <built-in function getcwd> = os.getcwd

---------- coverage: platform linux, python 3.8.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/test_io.py::test_is_local_path - AssertionError: Cur...
= 1 failed, 1999 passed, 341 skipped, 123 xfailed, 1 xpassed, 3915 warnings in 134.40s (0:02:14) =

@modin-bot
Copy link

modin-bot commented May 23, 2022

TeamCity Dask test results bot

Tests FAILed

Tests Logs
ey, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
_________________ TestJson.test_read_json_s3[storage_options1] _________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 1500, in test_read_json_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 265, in read_json
    return DataFrame(query_compiler=FactoryDispatcher.read_json(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 202, in read_json
    return cls.__factory._read_json(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 227, in _read_json
    return cls.io_cls.read_json(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/json_dispatcher.py", line 47, in _read
    if not cls.file_exists(path_or_buf):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
_________________ TestJson.test_read_json_s3[storage_options2] _________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 1500, in test_read_json_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 265, in read_json
    return DataFrame(query_compiler=FactoryDispatcher.read_json(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 202, in read_json
    return cls.__factory._read_json(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 227, in _read_json
    return cls.io_cls.read_json(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/json_dispatcher.py", line 47, in _read
    if not cls.file_exists(path_or_buf):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
______________ TestFeather.test_read_feather_s3[storage_options1] ______________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2259, in test_read_feather_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 428, in read_feather
    return DataFrame(query_compiler=FactoryDispatcher.read_feather(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 232, in read_feather
    return cls.__factory._read_feather(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 287, in _read_feather
    return cls.io_cls.read_feather(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/column_stores/feather_dispatcher.py", line 64, in _read
    return cls.build_query_compiler(path, columns, use_threads=False)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 219, in build_query_compiler
    index, row_lens = cls.build_index(partition_ids)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 124, in build_index
    0 if len(partition_ids) == 0 else cls.materialize(partition_ids[-2][0])
  File "/modin/modin/core/execution/dask/common/engine_wrapper.py", line 70, in materialize
    return client.gather(future)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2144, in gather
    return self.sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 309, in sync
    return sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 363, in sync
    raise exc.with_traceback(tb)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 348, in f
    result[0] = yield future
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2007, in _gather
    raise exception.with_traceback(traceback)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
----------------------------- Captured stderr call -----------------------------
distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Duration'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Maxpulse'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Pulse'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Calories'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

______________ TestFeather.test_read_feather_s3[storage_options2] ______________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2259, in test_read_feather_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 428, in read_feather
    return DataFrame(query_compiler=FactoryDispatcher.read_feather(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 232, in read_feather
    return cls.__factory._read_feather(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 287, in _read_feather
    return cls.io_cls.read_feather(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/column_stores/feather_dispatcher.py", line 64, in _read
    return cls.build_query_compiler(path, columns, use_threads=False)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 219, in build_query_compiler
    index, row_lens = cls.build_index(partition_ids)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 124, in build_index
    0 if len(partition_ids) == 0 else cls.materialize(partition_ids[-2][0])
  File "/modin/modin/core/execution/dask/common/engine_wrapper.py", line 70, in materialize
    return client.gather(future)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2144, in gather
    return self.sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 309, in sync
    return sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 363, in sync
    raise exc.with_traceback(tb)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 348, in f
    result[0] = yield future
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2007, in _gather
    raise exception.with_traceback(traceback)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"

---------- coverage: platform linux, python 3.8.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options2]
= 6 failed, 1669 passed, 341 skipped, 447 xfailed, 1 xpassed, 453 warnings in 295.21s (0:04:55) =
============================= test session starts ==============================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /modin, configfile: setup.cfg
plugins: benchmark-3.4.1, cov-2.11.0, forked-1.4.0, xdist-2.5.0
collected 2464 items

modin/pandas/test/test_io.py ........................................... [  1%]
........................................................................ [  4%]
.............................................ssssssssssssssssssss.ss.ss. [  7%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 10%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 13%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss. [ 16%]
ss.ss.ss.ss.ss.ss.ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss. [ 19%]
ss.ss.ss.ssssssssssssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.sssssssss [ 22%]
sssssssssss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss............................ [ 25%]
.xx.xx.xx.xx.xx....xx.xx.xx.xx.xx....xx.xx.xx.xx.xx....xx.xx.xx.xx.xx... [ 28%]
..x..x..x..x..x.....x..x..x..x..x....xx.xx.xx.xx.xx....xx.xx.xx.xx.xx... [ 30%]
.xx.xx.xx.xx.xx....xx.xx.xx.xx.xx.....x..x..x..x..x.....x..x..x..x..x... [ 33%]
.xx.xx.xx.xx.xx....xx.xx.xx.xx.xx....xx.xx.xx.xx.xx....xx.xx.xx.xx.xx... [ 36%]
..x..x..x..x..x.....x..x..x..x..x.xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx... [ 39%]
........................................................................ [ 42%]
........................................................................ [ 45%]
........................................................................ [ 48%]
.................................s.......xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 51%]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx........xxxxxxxx........xxxxxxx [ 54%]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx............................... [ 57%]
.................................................x........x........xxxxx [ 60%]
xxxxx................................................................... [ 63%]
........................................................................ [ 66%]
........................................................................ [ 68%]
........................................................................ [ 71%]
........................................................................ [ 74%]
........................................................................ [ 77%]
........................................................................ [ 80%]
................................xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 83%]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [ 86%]
xxxxxxxx................................................................ [ 89%]
.........................................................FF............. [ 92%]
........................................................................ [ 95%]
...............................FF..............x.............Xx......ss. [ 98%]
...x....................xx....FF...ss........                            [100%]

=================================== FAILURES ===================================
__________________ TestCsv.test_read_csv_s3[storage_options1] __________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 936, in test_read_csv_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 138, in read_csv
    return _read(**kwargs)
  File "/modin/modin/pandas/io.py", line 60, in _read
    pd_obj = FactoryDispatcher.read_csv(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 185, in read_csv
    return cls.__factory._read_csv(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 217, in _read_csv
    return cls.io_cls.read_csv(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/text_file_dispatcher.py", line 987, in _read
    use_modin_impl = cls.check_parameters_support(
  File "/modin/modin/core/io/text/text_file_dispatcher.py", line 641, in check_parameters_support
    if not cls.file_exists(filepath_or_buffer):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
__________________ TestCsv.test_read_csv_s3[storage_options2] __________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 936, in test_read_csv_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 138, in read_csv
    return _read(**kwargs)
  File "/modin/modin/pandas/io.py", line 60, in _read
    pd_obj = FactoryDispatcher.read_csv(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 185, in read_csv
    return cls.__factory._read_csv(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 217, in _read_csv
    return cls.io_cls.read_csv(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/text_file_dispatcher.py", line 987, in _read
    use_modin_impl = cls.check_parameters_support(
  File "/modin/modin/core/io/text/text_file_dispatcher.py", line 641, in check_parameters_support
    if not cls.file_exists(filepath_or_buffer):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
_________________ TestJson.test_read_json_s3[storage_options1] _________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 1500, in test_read_json_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 265, in read_json
    return DataFrame(query_compiler=FactoryDispatcher.read_json(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 202, in read_json
    return cls.__factory._read_json(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 227, in _read_json
    return cls.io_cls.read_json(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/json_dispatcher.py", line 47, in _read
    if not cls.file_exists(path_or_buf):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
_________________ TestJson.test_read_json_s3[storage_options2] _________________
Traceback (most recent call last):
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 178, in send
    response = await self._session.request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 1500, in test_read_json_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 265, in read_json
    return DataFrame(query_compiler=FactoryDispatcher.read_json(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 202, in read_json
    return cls.__factory._read_json(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 227, in _read_json
    return cls.io_cls.read_json(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/text/json_dispatcher.py", line 47, in _read
    if not cls.file_exists(path_or_buf):
  File "/modin/modin/core/io/file_dispatcher.py", line 266, in file_exists
    exists = s3fs.exists(file_path) or exists
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 888, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 175, in retrieve_iam_role_credentials
    token = await self._fetch_metadata_token()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 88, in _fetch_metadata_token
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
______________ TestFeather.test_read_feather_s3[storage_options1] ______________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2259, in test_read_feather_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 428, in read_feather
    return DataFrame(query_compiler=FactoryDispatcher.read_feather(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 232, in read_feather
    return cls.__factory._read_feather(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 287, in _read_feather
    return cls.io_cls.read_feather(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/column_stores/feather_dispatcher.py", line 64, in _read
    return cls.build_query_compiler(path, columns, use_threads=False)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 219, in build_query_compiler
    index, row_lens = cls.build_index(partition_ids)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 124, in build_index
    0 if len(partition_ids) == 0 else cls.materialize(partition_ids[-2][0])
  File "/modin/modin/core/execution/dask/common/engine_wrapper.py", line 70, in materialize
    return client.gather(future)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2144, in gather
    return self.sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 309, in sync
    return sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 363, in sync
    raise exc.with_traceback(tb)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 348, in f
    result[0] = yield future
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2007, in _gather
    raise exception.with_traceback(traceback)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
----------------------------- Captured stderr call -----------------------------
distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Duration'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Maxpulse'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Pulse'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

distributed.worker - WARNING - Compute Failed
Function:  parse
args:      ()
kwargs:    {'fname': 's3://modin-datasets/testing/test_data.feather', 'columns': ['Calories'], 'num_splits': 4, 'use_threads': False}
Exception: 'ConnectTimeoutError(\'Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"\')'

______________ TestFeather.test_read_feather_s3[storage_options2] ______________
Traceback (most recent call last):
  File "/modin/modin/pandas/test/test_io.py", line 2259, in test_read_feather_s3
    eval_io(
  File "/modin/modin/pandas/test/utils.py", line 835, in eval_io
    call_eval_general()
  File "/modin/modin/pandas/test/utils.py", line 818, in call_eval_general
    eval_general(
  File "/modin/modin/pandas/test/utils.py", line 767, in eval_general
    values = execute_callable(
  File "/modin/modin/pandas/test/utils.py", line 746, in execute_callable
    md_result = fn(modin_df, **md_kwargs)
  File "/modin/modin/pandas/test/utils.py", line 812, in applyier
    result = getattr(module, fn_name)(*args, **kwargs)
  File "/modin/modin/pandas/io.py", line 428, in read_feather
    return DataFrame(query_compiler=FactoryDispatcher.read_feather(**kwargs))
  File "/modin/modin/core/execution/dispatching/factories/dispatcher.py", line 232, in read_feather
    return cls.__factory._read_feather(**kwargs)
  File "/modin/modin/core/execution/dispatching/factories/factories.py", line 287, in _read_feather
    return cls.io_cls.read_feather(**kwargs)
  File "/modin/modin/core/io/file_dispatcher.py", line 151, in read
    query_compiler = cls._read(*args, **kwargs)
  File "/modin/modin/core/io/column_stores/feather_dispatcher.py", line 64, in _read
    return cls.build_query_compiler(path, columns, use_threads=False)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 219, in build_query_compiler
    index, row_lens = cls.build_index(partition_ids)
  File "/modin/modin/core/io/column_stores/column_store_dispatcher.py", line 124, in build_index
    0 if len(partition_ids) == 0 else cls.materialize(partition_ids[-2][0])
  File "/modin/modin/core/execution/dask/common/engine_wrapper.py", line 70, in materialize
    return client.gather(future)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2144, in gather
    return self.sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 309, in sync
    return sync(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 363, in sync
    raise exc.with_traceback(tb)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/utils.py", line 348, in f
    result[0] = yield future
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/distributed/client.py", line 2007, in _gather
    raise exception.with_traceback(traceback)
  File "/modin/modin/core/storage_formats/pandas/parsers.py", line 692, in parse
    with OpenFile(
  File "/modin/modin/core/io/file_dispatcher.py", line 95, in __enter__
    return self.file.open()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 141, in open
    out = self.__enter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/core.py", line 104, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1037, in open
    f = self._open(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 605, in _open
    return S3File(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1911, in __init__
    super().__init__(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1385, in __init__
    self.size = self.details["size"]
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/spec.py", line 1398, in details
    self._details = self.fs.info(self.path)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 86, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 66, in sync
    raise return_result
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/fsspec/asyn.py", line 26, in _runner
    result[0] = await coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 1140, in _info
    out = await self._call_s3(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 325, in _call_s3
    await self.set_session()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/s3fs/core.py", line 473, in set_session
    self._s3 = await s3creator.__aenter__()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 22, in __aenter__
    self._client = await self._coro
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 102, in _create_client
    credentials = await self.get_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/session.py", line 133, in get_credentials
    self._credentials = await (self._components.get_component(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 814, in load_credentials
    creds = await provider.load()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/credentials.py", line 486, in load
    metadata = await fetcher.retrieve_iam_role_credentials()
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 176, in retrieve_iam_role_credentials
    role_name = await self._get_iam_role(token)
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 200, in _get_iam_role
    return await (await self._get_request(
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/utils.py", line 127, in _get_request
    response = await session.send(request.prepare())
  File "/home/ray/anaconda3/envs/modin/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 209, in send
    raise ConnectTimeoutError(endpoint_url=request.url, error=e)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"

---------- coverage: platform linux, python 3.8.13-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestCsv::test_read_csv_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestJson::test_read_json_s3[storage_options2]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options1]
FAILED modin/pandas/test/test_io.py::TestFeather::test_read_feather_s3[storage_options2]
= 6 failed, 1669 passed, 341 skipped, 447 xfailed, 1 xpassed, 453 warnings in 295.21s (0:04:55) =


<b>Remaining output truncated<b>


Copy link
Collaborator

@mvashishtha mvashishtha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RehanSD thanks for the change. I have some style suggestions.

Copy link
Collaborator

@naren-ponder naren-ponder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have to be added for to_sql as well?

@@ -165,6 +166,13 @@ def to_csv(cls, qc, **kwargs):
if not cls._to_csv_check_support(kwargs):
return RayIO.to_csv(qc, **kwargs)

if len(ray.nodes()) > 1:
Copy link
Collaborator

@naren-ponder naren-ponder May 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be moved to _to_csv_check_support, ditto for parquet?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could, but _to_csv_check_support currently just checks if we can do a parallel write, so it would be a bit of a paradigm shift to raise an error here, unless you're suggesting we return false and default to a serial write on the head node if a local path is passed?

if S3_ADDRESS_REGEX.match(path_or_buf) is not None or "://" in path_or_buf:
return False # S3 or network path.
if isinstance(path_or_buf, str) or isinstance(path_or_buf, pathlib.PurePath):
return os.path.exists(path_or_buf)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code as is will not warn users for the common case where they try to write to a non-existent path, i.e. when they want to create and write to a new file. We should warn even if the path doesn't exist locally.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to check device_id instead! I originally did this because apparently os.path.exists returns false for networked file paths. I believe it should now work for both non-existing paths and networked paths.

@RehanSD
Copy link
Collaborator Author

RehanSD commented May 26, 2022

We don't need to do this for to_sql since thats writing to a database and not a file. @naren-ponder

@lgtm-com
Copy link

lgtm-com bot commented May 26, 2022

This pull request introduces 1 alert when merging dcadcf4 into 60518ca - view on LGTM.com

new alerts:

  • 1 for Except block handles 'BaseException'

Copy link
Collaborator

@mvashishtha mvashishtha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RehanSD thanks for the changes. I have two minor suggestions. Do we have ray cluster unit tests to which we can add a case for this? Otherwise, have you tested this manually?

modin/core/io/utils.py Outdated Show resolved Hide resolved
modin/core/io/utils.py Outdated Show resolved Hide resolved
RehanSD and others added 3 commits May 26, 2022 18:27
Co-authored-by: Mahesh Vashishtha <[email protected]>
Co-authored-by: Mahesh Vashishtha <[email protected]>
Signed-off-by: Rehan Durrani <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented May 27, 2022

This pull request introduces 1 alert when merging 0608f9e into 958c26a - view on LGTM.com

new alerts:

  • 1 for Except block handles 'BaseException'

Signed-off-by: Rehan Durrani <[email protected]>
Signed-off-by: Rehan Durrani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: users shouldn't be able to specify a local path when writing output on a cluster
6 participants