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

Test topology-on-consumer failure: test_irsync.Test_iRsync #7718

Open
alanking opened this issue Apr 24, 2024 · 0 comments
Open

Test topology-on-consumer failure: test_irsync.Test_iRsync #7718

alanking opened this issue Apr 24, 2024 · 0 comments
Milestone

Comments

@alanking
Copy link
Contributor

Bug Report

iRODS Version, OS and Version

4.3.2

What did you try to do?

Run the following tests in topology on consumer:

  • test_irsync.Test_iRsync.test_irsync_r_coll_to_coll
  • test_irsync.Test_iRsync.test_irsync_r_coll_to_dir
  • test_irsync.Test_iRsync.test_irsync_r_dir_to_coll

Expected behavior

The tests should pass because it passes in every other configuration.

Observed behavior (including steps to reproduce, if applicable)

The tests produce the following error:

<error type="FileNotFoundError" message="[Errno 2] No such file or directory: '/var/lib/irods/Vault/home/alice/2024-04-24Z15:01:19--irods-testing-t5db0kd_/test_irsync_r_dir_to_coll'"><![CDATA[Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_irsync.py", line 106, in test_irsync_r_dir_to_coll
    vault_files_post_irsync = set(os.listdir(os.path.join(self.user0.get_vault_session_path(),
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/irods/Vault/home/alice/2024-04-24Z15:01:19--irods-testing-t5db0kd_/test_irsync_r_dir_to_coll'
]]></error>

The tests assume that they are running on the catalog provider. The tests should be adjusted such that the data objects have replicas on a resource hosted on the local server or skip the vault check in topology if this is not possible.

@alanking alanking added this to the 4.3.3 milestone Apr 24, 2024
@alanking alanking changed the title Test failure: test_irsync.Test_iRsync Test topology-on-consumer failure: test_irsync.Test_iRsync Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant