GUI acceptance tests using environment deployed from packages.

Build: #2402 failed

Job: Oneprovider symlinks failed

Stages & jobs

  1. Acceptance Test

file symlink is malformed after removing target file[1oz 1op deployed]: Test case result

The below summarizes the result of the test " file symlink is malformed after removing target file[1oz 1op deployed]" in build 2,402 of Onedata Products - gui acceptance pkg - Chrome oneprovider symlinks.
Description
file symlink is malformed after removing target file[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_symlinks
Method
test_file_symlink_is_malformed_after_removing_target_file[1oz_1op_deployed]
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

test setup failure
env_description_abs_path = '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COSL/onedata/tests/gui/environments/1oz_1op_deployed.yaml'
hosts = {}
request = <SubRequest 'maybe_start_env' for <Function 'test_user_creates_symbolic_link_of_file_in_the_same_directory_in_file_browser_and_checks_its_presence[1oz_1op_deployed]'>>
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-COSL/onedata/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:191: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:238: in start_test_env
    result = start_environment(
tests/utils/environment_utils.py:55: in start_environment
    setup_hosts_cfg(hosts, request)
tests/utils/environment_utils.py:160: in setup_hosts_cfg
    pods_cfg = get_pods_config()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def get_pods_config():
        pods_json = get_pods_with_kubectl()['items']
        pods = {}
        for pod in pods_json:
            pod_data = pod['metadata']
            pod_title = pod_data['name']
            pod_name = pod_data['labels'].get('app', None)
            pod_service_type = pod_data['labels'].get('component', None)
            pod_service_name = pod_data['labels'].get('chart', None)
            pod_namespace = pod_data['namespace']
>           pod_ip = pod['status']['podIP']
E           KeyError: 'podIP'

tests/utils/environment_utils.py:331: KeyError