Build: #43 failed
Job: LUMA multiprovider tests failed
user not in luma cannot create file: Test case result
The below summarizes the result of the test " user not in luma cannot create file" in build 43 of Onedata Products - mixed acceptance pkg - feature-VFS-4500-luma-acceptance-one-env-tests-develop - LUMA multiprovider tests.
- Description
- user not in luma cannot create file
- Test class
- mixed_oneclient.scenarios.test_luma_multiprovider
- Method
- test_user_not_in_luma_cannot_create_file
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: File file2 exists on client client2 when it shouldn't: ; -rw-r--r-- 1 891478 1224852 0 Sep 14 14:17 /mnt/oneclient/joe/krk-pl-par-c/file2 request = <FixtureRequest for <Function 'test_user_not_in_luma_cannot_create_file'>> > from tests.mixed_oneclient.steps.luma.common import * tests/mixed_oneclient/scenarios/test_luma_multiprovider.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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:93: in assert_files_exist .format(filename, client)) <decorator-gen-402>:2: in do_ls ??? tests/gui/utils/generic.py:110: in wrapper return fun(*args, **kwargs) tests/utils/oneclient_utils.py:22: in do_ls should_fail=should_fail, error=error).split('\n') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['kubectl', 'exec', 'dev-oneclient-paris-6b66f954bb-btk6l', '--', 'ls', '-Ald', ...] error = "File file2 exists on client client2 when it shouldn't" should_fail = True 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: File file2 exists on client client2 when it shouldn't: ; -rw-r--r-- 1 891478 1224852 0 Sep 14 14:17 /mnt/oneclient/joe/krk-pl-par-c/file2 tests/utils/acceptance_utils.py:69: RuntimeError