Build: #43 failed
Job: LUMA multiprovider tests failed
user cannot remove file using client if he is not its owner: Test case result
The below summarizes the result of the test " user cannot remove file using client if he is not its owner" in build 43 of Onedata Products - mixed acceptance pkg - feature-VFS-4500-luma-acceptance-one-env-tests-develop - LUMA multiprovider tests.
- Description
- user cannot remove file using client if he is not its owner
- Test class
- mixed_oneclient.scenarios.test_luma_multiprovider
- Method
- test_user_cannot_remove_file_using_client_if_he_is_not_its_owner
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
RuntimeError: Error when executing command "kubectl exec dev-oneclient-krakow-669d959fd8-qp2xf -- rm /mnt/oneclient/marie/krk-pl-par-c/dir/file1": rm: cannot remove '/mnt/oneclient/marie/krk-pl-par-c/dir/file1': Permission denied command terminated with exit code 1 ; request = <FixtureRequest for <Function 'test_user_cannot_remove_file_using_client_if_he_is_not_its_owner'>> from tests.gui.steps.modal import * > from tests.gui.steps.oneprovider_common import * tests/mixed_oneclient/scenarios/test_luma_multiprovider.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function step_func(**kwargs) tests/mixed_oneclient/steps/oneclient/common.py:122: in remove_file_or_directory do_rm(path, pod_name, force=force, recursive=rec, should_fail=should_fail) tests/utils/oneclient_utils.py:47: in do_rm should_fail=should_fail) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['kubectl', 'exec', 'dev-oneclient-krakow-669d959fd8-qp2xf', '--', 'rm', '/mnt/oneclient/marie/krk-pl-par-c/dir/file1'] error = None, should_fail = False def execute_command(cmd, error=None, should_fail=False): process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, err = process.communicate() if (process.returncode != 0) ^ should_fail: raise RuntimeError('{}: {}; {}'.format(error, err, output) if error else 'Command did not fail: {}, Err: {}, Output: {}' .format(' '.join(cmd), err, output) if should_fail else 'Error when executing command ' > '"{}": {}; {}'.format(' '.join(cmd), err, output)) E RuntimeError: Error when executing command "kubectl exec dev-oneclient-krakow-669d959fd8-qp2xf -- rm /mnt/oneclient/marie/krk-pl-par-c/dir/file1": rm: cannot remove '/mnt/oneclient/marie/krk-pl-par-c/dir/file1': Permission denied E command terminated with exit code 1 E ; tests/utils/acceptance_utils.py:69: RuntimeError