2025-12-04 02:53:00,527 - INFO - Domain Default found not creating 2025-12-04 02:53:00,711 - INFO - Project ctest-TestBasicPolicy-99710022 not found, creating it 2025-12-04 02:53:01,261 - INFO - Created Project:ctest-TestBasicPolicy-99710022, ID : 7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:53:02,811 - INFO - ================================================================================ 2025-12-04 02:53:02,812 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-04 02:53:02,812 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-12-04 02:53:04,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.254': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.209': '0'}} with 2025-12-04 02:53:04,098 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:53:04,098 - INFO - 2025-12-04 02:53:04,807 - DEBUG - Response for create_network : {'network': {'id': '331ca2d4-9d8d-4e4b-ba14-0c7036c71863', 'name': 'ctest-vn-58491907', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'project_id': '7e68f009004945d1a726cde7fdd6d28b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-vn-58491907'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:53:05,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f751361-fe3e-4e54-8cb3-4077464d07d4', 'name': '', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'network_id': '331ca2d4-9d8d-4e4b-ba14-0c7036c71863', 'ip_version': 4, 'cidr': '85.204.4.0/26', 'allocation_pools': [{'start': '85.204.4.2', 'end': '85.204.4.62'}], 'gateway_ip': '85.204.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.204.4.2', 'tags': [], 'project_id': '7e68f009004945d1a726cde7fdd6d28b'}} 2025-12-04 02:53:05,123 - INFO - Created VN ctest-vn-58491907 2025-12-04 02:53:05,137 - DEBUG - VN ctest-vn-58491907 UUID is 331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:05,546 - DEBUG - Response for create_network : {'network': {'id': 'fe6507e4-87fc-4592-b3dd-21de4b5e3e77', 'name': 'ctest-vn-07564061', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'project_id': '7e68f009004945d1a726cde7fdd6d28b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-vn-07564061'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:53:05,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dfd49e3-6ac7-453e-8069-20d7eb4c93bb', 'name': '', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'network_id': 'fe6507e4-87fc-4592-b3dd-21de4b5e3e77', 'ip_version': 4, 'cidr': '177.40.71.192/26', 'allocation_pools': [{'start': '177.40.71.194', 'end': '177.40.71.254'}], 'gateway_ip': '177.40.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.40.71.194', 'tags': [], 'project_id': '7e68f009004945d1a726cde7fdd6d28b'}} 2025-12-04 02:53:05,827 - INFO - Created VN ctest-vn-07564061 2025-12-04 02:53:05,839 - DEBUG - VN ctest-vn-07564061 UUID is fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:05,929 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-12-04 02:53:06,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '331ca2d4-9d8d-4e4b-ba14-0c7036c71863', 'name': 'ctest-vn-58491907', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'project_id': '7e68f009004945d1a726cde7fdd6d28b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f751361-fe3e-4e54-8cb3-4077464d07d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-vn-58491907'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-policy-allow-all-93369219']], 'subnet_ipam': [{'subnet_cidr': '85.204.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:53:06,464 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe6507e4-87fc-4592-b3dd-21de4b5e3e77', 'name': 'ctest-vn-07564061', 'tenant_id': '7e68f009004945d1a726cde7fdd6d28b', 'project_id': '7e68f009004945d1a726cde7fdd6d28b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dfd49e3-6ac7-453e-8069-20d7eb4c93bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-vn-07564061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-policy-allow-all-93369219']], 'subnet_ipam': [{'subnet_cidr': '177.40.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:53:06,559 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:53:06,926 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:53:06,959 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:53:06,973 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:53:07,070 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,083 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,094 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:53:07,103 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:53:07,111 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9f9e2cef-b410-4947-af39-57a9c7e7e484 2025-12-04 02:53:07,123 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:53:07,123 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,142 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:53:07,159 - INFO - Verified VN network id 13 for VN 331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,159 - INFO - Verifications in API Server for VN ctest-vn-58491907 passed 2025-12-04 02:53:07,159 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,172 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:53:07,182 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:53:07,192 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9f9e2cef-b410-4947-af39-57a9c7e7e484 2025-12-04 02:53:07,208 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3682997629342273099', 'uuid-lslong': '13408355666683697251'}, 'enable': 'true', 'created': '2025-12-04T02:53:04', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989163'} 2025-12-04 02:53:07,216 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:53:07,223 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3682997629342273099', 'uuid-lslong': '13408355666683697251'}, 'enable': 'true', 'created': '2025-12-04T02:53:04', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000361'} 2025-12-04 02:53:07,230 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:53:07,235 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3682997629342273099', 'uuid-lslong': '13408355666683697251'}, 'enable': 'true', 'created': '2025-12-04T02:53:04', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015884'} 2025-12-04 02:53:07,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:53:07,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58491907 passed 2025-12-04 02:53:07,245 - DEBUG - ====Verifying policy data for ctest-vn-58491907 in API_Server ====== 2025-12-04 02:53:07,245 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:53:07,252 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:53:07,265 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:53:07,382 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/331ca2d4-9d8d-4e4b-ba14-0c7036c71863 2025-12-04 02:53:07,392 - DEBUG - ==>Verifying data for policy with id: 60186a7b-303b-4d4e-8d4d-3e1793fb8c5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-policy-allow-all-93369219'] 2025-12-04 02:53:07,392 - INFO - VN ctest-vn-58491907 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:53:07,392 - DEBUG - Verifying the vn in opserver 2025-12-04 02:53:07,392 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 virtual network link through opserver 10.0.0.27 2025-12-04 02:53:07,392 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-04 02:53:07,691 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-04 02:53:07,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907?flat'} 2025-12-04 02:53:07,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 virtual network link through opserver 10.0.0.33 2025-12-04 02:53:07,756 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-04 02:53:08,055 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-04 02:53:08,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907?flat'} 2025-12-04 02:53:08,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 virtual network link through opserver 10.0.0.23 2025-12-04 02:53:08,127 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-04 02:53:08,427 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-04 02:53:08,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907?flat'} 2025-12-04 02:53:08,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is found in opserver 2025-12-04 02:53:08,525 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:53:08,538 - DEBUG - VRF ids for VN ctest-vn-58491907: {} 2025-12-04 02:53:08,538 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:53:08,547 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:53:08,563 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:53:08,676 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:08,697 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:08,708 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:53:08,718 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:53:08,745 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e42a3557-f230-4157-8615-2f62cd7c95ac 2025-12-04 02:53:08,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:53:08,760 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:08,771 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:53:08,789 - INFO - Verified VN network id 14 for VN fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:08,789 - INFO - Verifications in API Server for VN ctest-vn-07564061 passed 2025-12-04 02:53:08,789 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:08,801 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:53:08,811 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:53:08,819 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e42a3557-f230-4157-8615-2f62cd7c95ac 2025-12-04 02:53:08,841 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18331066536396866962', 'uuid-lslong': '12960552541273079415'}, 'enable': 'true', 'created': '2025-12-04T02:53:05', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.414634'} 2025-12-04 02:53:08,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:53:08,855 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18331066536396866962', 'uuid-lslong': '12960552541273079415'}, 'enable': 'true', 'created': '2025-12-04T02:53:05', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.418396'} 2025-12-04 02:53:08,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:53:08,870 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99710022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18331066536396866962', 'uuid-lslong': '12960552541273079415'}, 'enable': 'true', 'created': '2025-12-04T02:53:05', 'last-modified': '2025-12-04T02:53:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.441940'} 2025-12-04 02:53:08,876 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:53:08,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07564061 passed 2025-12-04 02:53:08,877 - DEBUG - ====Verifying policy data for ctest-vn-07564061 in API_Server ====== 2025-12-04 02:53:08,877 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:53:08,884 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:53:08,900 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:53:08,993 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/fe6507e4-87fc-4592-b3dd-21de4b5e3e77 2025-12-04 02:53:09,004 - DEBUG - ==>Verifying data for policy with id: 60186a7b-303b-4d4e-8d4d-3e1793fb8c5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-99710022', 'ctest-policy-allow-all-93369219'] 2025-12-04 02:53:09,004 - INFO - VN ctest-vn-07564061 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:53:09,004 - DEBUG - Verifying the vn in opserver 2025-12-04 02:53:09,004 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061 virtual network link through opserver 10.0.0.27 2025-12-04 02:53:09,004 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-04 02:53:09,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061?flat'} 2025-12-04 02:53:09,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061 virtual network link through opserver 10.0.0.33 2025-12-04 02:53:09,070 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-04 02:53:09,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061?flat'} 2025-12-04 02:53:09,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061 virtual network link through opserver 10.0.0.23 2025-12-04 02:53:09,143 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-04 02:53:09,222 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061?flat'} 2025-12-04 02:53:09,222 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-07564061 is found in opserver 2025-12-04 02:53:09,246 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:53:09,259 - DEBUG - VRF ids for VN ctest-vn-07564061: {} 2025-12-04 02:53:09,320 - DEBUG - Services list from nova: [, , , ] 2025-12-04 02:53:10,578 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-1) 2025-12-04 02:53:12,150 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-2) 2025-12-04 02:53:12,150 - INFO - Waiting for VM ctest-TestBasicPolicy-99710022-57764081 to be up.. 2025-12-04 02:53:12,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:53:17,342 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:53:17,342 - INFO - VM name : ctest-TestBasicPolicy-99710022-57764081 2025-12-04 02:53:17,423 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 ID is 36a9e583-071b-4621-8408-b6eae3783400 2025-12-04 02:53:17,450 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 launched on Node an-jenkins-deploy-platform-ansible-os-4840-1 2025-12-04 02:53:17,533 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/36a9e583-071b-4621-8408-b6eae3783400 2025-12-04 02:53:17,831 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/36a9e583-071b-4621-8408-b6eae3783400 2025-12-04 02:53:17,863 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ce7e6e19-f815-46dd-828d-116dd1f97b06 2025-12-04 02:53:21,021 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-12-04 02:53:21,021 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:21,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:25,119 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-12-04 02:53:25,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:25,133 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:29,223 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-12-04 02:53:29,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:29,239 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:33,321 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-12-04 02:53:33,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:33,336 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:37,406 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2025-12-04 02:53:37,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:37,422 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:41,507 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-12-04 02:53:41,508 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:41,524 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:45,603 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-12-04 02:53:45,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:45,617 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:49,702 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-12-04 02:53:49,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:49,716 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:53,792 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-04 02:53:53,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 failed! 2025-12-04 02:53:53,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99710022:ctest-vn-58491907 is 85.204.4.1 and allocation pool is NOT set 2025-12-04 02:53:57,886 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=13.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 13.803/13.803/13.803/0.000 ms') 2025-12-04 02:53:57,887 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-57764081 passed 2025-12-04 02:53:57,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:53:57,962 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:53:58,030 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:53:58,117 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:03,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:03,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:03,186 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:03,281 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:08,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:08,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:08,372 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:08,460 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:13,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:13,461 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:13,541 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:13,626 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:18,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:18,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:18,694 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:18,777 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:23,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:23,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:23,856 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:23,939 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:28,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:28,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:29,016 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:29,100 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:34,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:34,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:34,171 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:34,254 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:39,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:39,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:39,343 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:39,426 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:44,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:44,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:44,494 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:44,579 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:49,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:49,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:49,646 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:49,733 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:54,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:54,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:54,802 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:54:54,919 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:54:59,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:54:59,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:54:59,987 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:00,086 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:05,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:05,087 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:05,154 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:05,240 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:10,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:10,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:10,311 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:10,449 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:15,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:15,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:15,529 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:15,609 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:20,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:20,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:20,679 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:20,793 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:25,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:25,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:25,863 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:25,952 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:30,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:30,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:31,023 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:31,123 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:36,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:36,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:36,190 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:36,279 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:41,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:41,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:41,350 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:41,442 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:46,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:46,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:46,511 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:46,602 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:51,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:51,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:51,671 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:51,778 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:55:56,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:55:56,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:55:56,847 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:55:56,943 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:56:01,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:01,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:56:02,014 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:56:02,107 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:56:07,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:07,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:56:07,174 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:56:07,259 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:56:12,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:12,260 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-57764081, IP 85.204.4.3, Port 22 2025-12-04 02:56:12,430 - DEBUG - VM ctest-TestBasicPolicy-99710022-57764081 is ready for SSH connections 2025-12-04 02:56:12,430 - INFO - Waiting for VM ctest-TestBasicPolicy-99710022-83205231 to be up.. 2025-12-04 02:56:12,517 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:56:12,517 - INFO - VM name : ctest-TestBasicPolicy-99710022-83205231 2025-12-04 02:56:12,599 - DEBUG - VM ctest-TestBasicPolicy-99710022-83205231 ID is fc644ffc-1613-4ea9-ab10-990a58a977e7 2025-12-04 02:56:12,599 - DEBUG - VM ctest-TestBasicPolicy-99710022-83205231 launched on Node an-jenkins-deploy-platform-ansible-os-4840-2 2025-12-04 02:56:12,680 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fc644ffc-1613-4ea9-ab10-990a58a977e7 2025-12-04 02:56:12,692 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cc26d25d-0a8f-4f3c-8e08-ad806acd56bc 2025-12-04 02:56:13,854 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.409/3.043/5.678/2.634 ms') 2025-12-04 02:56:13,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99710022-83205231 passed 2025-12-04 02:56:13,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:13,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99710022-83205231, IP 177.40.71.195, Port 22 2025-12-04 02:56:14,091 - DEBUG - VM ctest-TestBasicPolicy-99710022-83205231 is ready for SSH connections 2025-12-04 02:56:14,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:14,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.40.71.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-04 02:56:14,091 - DEBUG - ping -s 56 -c 3 -W 1 177.40.71.195 2025-12-04 02:56:37,966 - DEBUG - PING 177.40.71.195 (177.40.71.195) 56(84) bytes of data. 64 bytes from 177.40.71.195: icmp_req=1 ttl=63 time=6.76 ms 64 bytes from 177.40.71.195: icmp_req=2 ttl=63 time=1.34 ms 64 bytes from 177.40.71.195: icmp_req=3 ttl=63 time=1.23 ms --- 177.40.71.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.232/3.114/6.767/2.583 ms 2025-12-04 02:56:37,966 - INFO - Ping to IP 177.40.71.195 from VM ctest-TestBasicPolicy-99710022-57764081 passed 2025-12-04 02:56:38,209 - DEBUG - Policy Update Response {"network-policy": {"uuid": "60186a7b-303b-4d4e-8d4d-3e1793fb8c5e", "href": "http://10.0.0.23:8082/network-policy/60186a7b-303b-4d4e-8d4d-3e1793fb8c5e"}} 2025-12-04 02:56:38,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:56:38,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.40.71.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-04 02:56:38,209 - DEBUG - ping -s 56 -c 3 -W 1 177.40.71.195 2025-12-04 02:56:41,980 - DEBUG - PING 177.40.71.195 (177.40.71.195) 56(84) bytes of data. --- 177.40.71.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2001ms 2025-12-04 02:56:41,980 - WARNING - Ping to IP 177.40.71.195 from VM ctest-TestBasicPolicy-99710022-57764081 failed 2025-12-04 02:56:41,980 - INFO - Deleting VM ctest-TestBasicPolicy-99710022-83205231 2025-12-04 02:56:42,059 - INFO - Deleting VM ctest-TestBasicPolicy-99710022-57764081 2025-12-04 02:56:42,567 - INFO - Deleted policy ctest-policy-allow-all-93369219 2025-12-04 02:56:42,567 - INFO - Deleting VN ctest-vn-07564061 2025-12-04 02:56:42,636 - DEBUG - VN fe6507e4-87fc-4592-b3dd-21de4b5e3e77 still in use: Unable to complete operation on network fe6507e4-87fc-4592-b3dd-21de4b5e3e77. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ff2c2d8-6232-4923-9ff2-4085d794e4ea'] 2025-12-04 02:56:42,637 - WARNING - Deleting VN ctest-vn-07564061 failed..Will retry 2025-12-04 02:56:44,805 - DEBUG - Response for deleting network () 2025-12-04 02:56:44,805 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/43c8f375-ed6c-4f13-ac79-adeba29b525d 2025-12-04 02:56:44,812 - DEBUG - Response Code: 404 2025-12-04 02:56:44,812 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:56:44,827 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:56:44,842 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:56:44,946 - INFO - Validated that VN ctest-vn-07564061 is not found in API Server 2025-12-04 02:56:44,957 - DEBUG - VN ctest-vn-07564061 is not present in Agent 10.0.0.22 2025-12-04 02:56:44,967 - DEBUG - VN ctest-vn-07564061 is not present in Agent 10.0.0.130 2025-12-04 02:56:44,967 - INFO - Validated that VN ctest-vn-07564061 is not in any agent 2025-12-04 02:56:44,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07564061 info 2025-12-04 02:56:44,995 - INFO - Deleting VN ctest-vn-58491907 2025-12-04 02:56:45,225 - DEBUG - Response for deleting network () 2025-12-04 02:56:45,225 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3b64c4ed-b38e-4883-a146-0860965c047d 2025-12-04 02:56:45,232 - DEBUG - Response Code: 404 2025-12-04 02:56:45,232 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-04 02:56:45,242 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890 2025-12-04 02:56:45,255 - DEBUG - Requesting: http://10.0.0.27:8082/project/7e68f009-0049-45d1-a726-cde7fdd6d28b 2025-12-04 02:56:45,350 - INFO - Validated that VN ctest-vn-58491907 is not found in API Server 2025-12-04 02:56:45,364 - DEBUG - VN ctest-vn-58491907 is not present in Agent 10.0.0.22 2025-12-04 02:56:45,375 - DEBUG - VN ctest-vn-58491907 is not present in Agent 10.0.0.130 2025-12-04 02:56:45,375 - INFO - Validated that VN ctest-vn-58491907 is not in any agent 2025-12-04 02:56:45,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58491907 info 2025-12-04 02:56:46,701 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:56:46,701 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:03:44] 2025-12-04 02:56:46,701 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:56:47,525 - INFO - Deleted project: ctest-TestBasicPolicy-99710022, ID : 7e68f009-0049-45d1-a726-cde7fdd6d28b