GUI acceptance tests using environment deployed from packages.
Build: #2438 failed
Job: Metadata failed
user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory details-dir1]: Test case result
The below summarizes the result of the test " user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory details-dir1]" in build 2,438 of Onedata Products - gui acceptance pkg - Chrome POSIX tests.
- Description
- user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory details-dir1]
- Test class
- gui.scenarios.test_oneprovider_posix
- Method
- test_user_fails_to_change_item_type_permissions_because_of_lack_in_privileges_posix[1oz_1op_deployed-Directory details-dir1]
- Jira Issue
-
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
test setup failure scenario_path = '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CPT/onedata-acceptance/tests/gui/environments/1oz_1op_deployed.yaml' request = <SubRequest 'maybe_start_env' for <Function 'test_user_fails_to_change_item_type_permissions_because_of_lack_in_privileges_posix[1oz_1op_deployed-Directory details-dir1]'>> hosts = {}, patch_path = '', users = {}, test_config = {} def start_environment(scenario_path, request, hosts, patch_path, users, test_config): attempts = 0 local = request.config.getoption('--local') up_args = parse_up_args(request, test_config) up_args.extend(['{}'.format(scenario_path)]) wait_args = parse_wait_args(request) patch_args = parse_patch_args(request, patch_path) if patch_path else [] dep_status = {} started = False while not started and attempts < START_ENV_MAX_RETRIES: try: maybe_setup_helm() > run_onenv_command('init', cwd=None, onenv_path='one_env/onenv') tests/utils/environment_utils.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ command = 'init', args = None, fail_with_error = True, sudo = False return_output = True, cwd = None, onenv_path = 'one_env/onenv' def run_onenv_command(command, args=None, fail_with_error=True, sudo=False, return_output=True, cwd='one_env', onenv_path='./onenv'): if sudo: cmd = ['sudo', onenv_path, command] else: cmd = [onenv_path, command] if args: cmd.extend(args) > return run_command(cmd, fail_with_error=fail_with_error, return_output=return_output, cwd=cwd) tests/utils/onenv_utils.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['one_env/onenv', 'init'], fail_with_error = True, return_output = True cwd = None, verbose = True def run_command(cmd, fail_with_error=True, return_output=True, cwd=None, verbose=True): if verbose: print('Running command: {}'.format(cmd)) proc = sp.Popen(cmd, stdout=sp.PIPE, stderr=sp.PIPE, cwd=cwd) output, err = proc.communicate() if verbose: sys.stdout.write(output.decode('utf-8')) sys.stderr.write(err.decode('utf-8')) if proc.returncode != 0 and fail_with_error: > raise OnenvError('Environment error.\n' 'Command: {} failed.\n' 'Captured output: {}'.format(cmd, output)) E tests.utils.onenv_utils.OnenvError: Environment error. E Command: ['one_env/onenv', 'init'] failed. E Captured output: b'version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"}\nERROR: timeout waiting for helm init\n' tests/utils/onenv_utils.py:48: OnenvError During handling of the above exception, another exception occurred: env_description_abs_path = '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CPT/onedata-acceptance/tests/gui/environments/1oz_1op_deployed.yaml' hosts = {} request = <SubRequest 'maybe_start_env' for <Function 'test_user_fails_to_change_item_type_permissions_because_of_lack_in_privileges_posix[1oz_1op_deployed-Directory details-dir1]'>> env_desc = {'oneprovider-1': {'batchConfig': {'createUsers': False}}, 'onezone': {'batchConfig': {'createUsers': False}}, 'scenario': 'scenario-1oz-1op', 'spaces': False} users = {} previous_env = {'env_path': '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CPT/onedata-acceptance/tests/gui/environments/1oz_1op_deployed.yaml'} test_config = {} @pytest.fixture(scope='session', autouse=True) def maybe_start_env(env_description_abs_path, hosts, request, env_desc, users, previous_env, test_config): test_type = get_test_type(request) if _should_start_new_env(env_description_abs_path, previous_env): > start_test_env(request, test_type, env_desc, hosts, users, env_description_abs_path, test_config, previous_env) tests/conftest.py:238: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/conftest.py:285: in start_test_env result = start_environment( tests/utils/environment_utils.py:79: in start_environment clean_env() tests/utils/environment_utils.py:411: in clean_env run_onenv_command('clean', ['-a', '-s', '-d', '-v']) tests/utils/onenv_utils.py:34: in run_onenv_command return run_command(cmd, fail_with_error=fail_with_error, return_output=return_output, cwd=cwd) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['./onenv', 'clean', '-a', '-s', '-d', '-v'], fail_with_error = True return_output = True, cwd = 'one_env', verbose = True def run_command(cmd, fail_with_error=True, return_output=True, cwd=None, verbose=True): if verbose: print('Running command: {}'.format(cmd)) proc = sp.Popen(cmd, stdout=sp.PIPE, stderr=sp.PIPE, cwd=cwd) output, err = proc.communicate() if verbose: sys.stdout.write(output.decode('utf-8')) sys.stderr.write(err.decode('utf-8')) if proc.returncode != 0 and fail_with_error: > raise OnenvError('Environment error.\n' 'Command: {} failed.\n' 'Captured output: {}'.format(cmd, output)) E tests.utils.onenv_utils.OnenvError: Environment error. E Command: ['./onenv', 'clean', '-a', '-s', '-d', '-v'] failed. E Captured output: b"Command '['kubectl', 'label', 'ns', 'default', 'sidecar-injection=disabled', '--overwrite']' returned non-zero exit status 1.\nCaptured stdout and stderr:\n---------------------------\n\nThe connection to the server 10.87.23.8:8443 was refused - did you specify the right host or port?\n\n\n---------------------------\n" tests/utils/onenv_utils.py:48: OnenvError