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

azure unit & metareas tests fail now... #1360

Open
petersilva opened this issue Dec 25, 2024 · 1 comment
Open

azure unit & metareas tests fail now... #1360

petersilva opened this issue Dec 25, 2024 · 1 comment
Labels
bitrot stuff broken because external dependency changes bug Something isn't working coverage unit or flow tests do not notice changes here regression Broke something that was working before.

Comments

@petersilva
Copy link
Contributor

dependencies are suffering from bitrot... for send_egc... it is telnet getting deprecated.
for azure... the modules have evolved so that the requires are not clean anymore.

        docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

../../../.local/lib/python3.12/site-packages/docker/api/client.py:230: DockerException
----------------------------------------------------------- Captured log call -----------------------------------------------------------
DEBUG    sarracenia.transfer:__init__.py:164 class=Azure , subclasses=[<class 'sarracenia.transfer.file.File'>, <class 'sarracenia.transfer.ftp.Ftp'>, <class 'sarracenia.transfer.https.Https'>, <class 'sarracenia.transfer.sftp.Sftp'>, <class 'sarracenia.transfer.s3.S3'>, <class 'sarracenia.transfer.azure.Azure'>]
DEBUG    sarracenia.transfer.azure:azure.py:54 sr_azure __init__
DEBUG    sarracenia.transfer.azure:azure.py:66 sr_azure __init
DEBUG    sarracenia.transfer.azure:azure.py:143 creating azure blob client
ERROR    sarracenia.transfer.azure:azure.py:148 Unable to get credentials
=========================================================== warnings summary ============================================================
../../../.local/lib/python3.12/site-packages/_pytest/config/__init__.py:1496
 /home/peter/.local/lib/python3.12/site-packages/_pytest/config/__init__.py:1496: PytestConfigWarning: No files were found in testpaths; consider removing or adjusting your testpaths configuration. Searching recursively from the current directory instead.
   self.args, self.args_source = self._decide_args(

../sarracenia/flowcb/work/send_egc_les.py:32
 /home/peter/Sarracenia/sr3/sarracenia/flowcb/work/send_egc_les.py:32: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13
   import logging, telnetlib, sys, os, stat, time

sarracenia/transfer/s3_test.py: 79 warnings
 /usr/lib/python3/dist-packages/botocore/auth.py:419: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
   datetime_now = datetime.datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------------------------------------------ Bugs skipped: 1 ------------------------------------------------------------
=====

@petersilva petersilva added bug Something isn't working regression Broke something that was working before. coverage unit or flow tests do not notice changes here bitrot stuff broken because external dependency changes labels Dec 25, 2024
@petersilva
Copy link
Contributor Author

======================================================== short test summary info ========================================================
FAILED sarracenia/transfer/azure_test.py::test_connect - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_delete - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_get - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_ls - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_put - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_rename - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
ERROR sarracenia/transfer/azure_test.py::test_rmdir - docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file o...
=================================== 1 failed, 231 passed, 1 skipped, 81 warnings, 6 errors in 32.55s ====================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitrot stuff broken because external dependency changes bug Something isn't working coverage unit or flow tests do not notice changes here regression Broke something that was working before.
Projects
None yet
Development

No branches or pull requests

1 participant