2025-10-27 02:42:17,506 - INFO - Domain Default found not creating 2025-10-27 02:42:17,682 - INFO - Project ctest-TestBasicPolicy-95976252 not found, creating it 2025-10-27 02:42:18,150 - INFO - Created Project:ctest-TestBasicPolicy-95976252, ID : c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:42:19,695 - INFO - ================================================================================ 2025-10-27 02:42:19,695 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 02:42:19,695 - 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-10-27 02:42:20,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-10-27 02:42:21,000 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:42:21,000 - INFO - 2025-10-27 02:42:21,677 - DEBUG - Response for create_network : {'network': {'id': 'b4579d88-c38f-4e05-8807-e3174a9f57ef', 'name': 'ctest-vn-32639492', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-vn-32639492'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:42:21,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5049cba-3eb3-4032-a119-7bd14326afa5', 'name': '', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'network_id': 'b4579d88-c38f-4e05-8807-e3174a9f57ef', 'ip_version': 4, 'cidr': '212.230.147.0/26', 'allocation_pools': [{'start': '212.230.147.2', 'end': '212.230.147.62'}], 'gateway_ip': '212.230.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.230.147.2', 'tags': [], 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6'}} 2025-10-27 02:42:21,987 - INFO - Created VN ctest-vn-32639492 2025-10-27 02:42:21,999 - DEBUG - VN ctest-vn-32639492 UUID is b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:22,323 - DEBUG - Response for create_network : {'network': {'id': 'baf867b4-8433-4d4b-907e-cbf9caa31d8e', 'name': 'ctest-vn-47609207', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-vn-47609207'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:42:22,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '962e4326-5c2e-4633-ab65-3f4305fc7ac9', 'name': '', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'network_id': 'baf867b4-8433-4d4b-907e-cbf9caa31d8e', 'ip_version': 4, 'cidr': '28.79.45.0/26', 'allocation_pools': [{'start': '28.79.45.2', 'end': '28.79.45.62'}], 'gateway_ip': '28.79.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.79.45.2', 'tags': [], 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6'}} 2025-10-27 02:42:22,605 - INFO - Created VN ctest-vn-47609207 2025-10-27 02:42:22,621 - DEBUG - VN ctest-vn-47609207 UUID is baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:22,701 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492, 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-95976252:ctest-vn-47609207, 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-10-27 02:42:23,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4579d88-c38f-4e05-8807-e3174a9f57ef', 'name': 'ctest-vn-32639492', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5049cba-3eb3-4032-a119-7bd14326afa5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-vn-32639492'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-policy-allow-all-17394874']], 'subnet_ipam': [{'subnet_cidr': '212.230.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:42:23,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'baf867b4-8433-4d4b-907e-cbf9caa31d8e', 'name': 'ctest-vn-47609207', 'tenant_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'project_id': 'c161ef09d4c240b3a7f38180e2928ca6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['962e4326-5c2e-4633-ab65-3f4305fc7ac9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-vn-47609207'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-policy-allow-all-17394874']], 'subnet_ipam': [{'subnet_cidr': '28.79.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:42:23,315 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:42:23,616 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:42:23,933 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:42:23,950 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:42:24,042 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,058 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,069 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:42:24,078 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:42:24,087 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/eb3ceab6-1a6b-43ff-8dc9-e7412833c26e 2025-10-27 02:42:24,096 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:42:24,096 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,108 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:42:24,129 - INFO - Verified VN network id 15 for VN b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,129 - INFO - Verifications in API Server for VN ctest-vn-32639492 passed 2025-10-27 02:42:24,130 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,142 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:42:24,151 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:42:24,163 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/eb3ceab6-1a6b-43ff-8dc9-e7412833c26e 2025-10-27 02:42:24,177 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995028460522917381', 'uuid-lslong': '9802052803170883567'}, 'enable': 'true', 'created': '2025-10-27T02:42:21', 'last-modified': '2025-10-27T02:42:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.194610'} 2025-10-27 02:42:24,183 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:42:24,188 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995028460522917381', 'uuid-lslong': '9802052803170883567'}, 'enable': 'true', 'created': '2025-10-27T02:42:21', 'last-modified': '2025-10-27T02:42:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.198865'} 2025-10-27 02:42:24,194 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:42:24,199 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995028460522917381', 'uuid-lslong': '9802052803170883567'}, 'enable': 'true', 'created': '2025-10-27T02:42:21', 'last-modified': '2025-10-27T02:42:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.214085'} 2025-10-27 02:42:24,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:42:24,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32639492 passed 2025-10-27 02:42:24,206 - DEBUG - ====Verifying policy data for ctest-vn-32639492 in API_Server ====== 2025-10-27 02:42:24,206 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:42:24,214 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:42:24,230 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:42:24,342 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b4579d88-c38f-4e05-8807-e3174a9f57ef 2025-10-27 02:42:24,352 - DEBUG - ==>Verifying data for policy with id: 0bbdd7c1-f36d-474a-b86d-ce1d0dca591e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-policy-allow-all-17394874'] 2025-10-27 02:42:24,352 - INFO - VN ctest-vn-32639492 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:42:24,353 - DEBUG - Verifying the vn in opserver 2025-10-27 02:42:24,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 virtual network link through opserver 10.0.0.249 2025-10-27 02:42:24,353 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 02:42:24,651 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 02:42:24,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492?flat'} 2025-10-27 02:42:24,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 virtual network link through opserver 10.0.0.33 2025-10-27 02:42:24,729 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 02:42:25,030 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 02:42:25,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492?flat'} 2025-10-27 02:42:25,094 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 virtual network link through opserver 10.0.0.129 2025-10-27 02:42:25,094 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-27 02:42:25,391 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-27 02:42:25,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492?flat'} 2025-10-27 02:42:25,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is found in opserver 2025-10-27 02:42:25,472 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:42:25,481 - DEBUG - VRF ids for VN ctest-vn-32639492: {} 2025-10-27 02:42:25,481 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:42:25,488 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:42:25,499 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:42:25,589 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,600 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,610 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:42:25,617 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:42:25,626 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5f054b96-1074-495e-89d8-9b77ddf1ab80 2025-10-27 02:42:25,635 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:42:25,635 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,646 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:42:25,667 - INFO - Verified VN network id 16 for VN baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,668 - INFO - Verifications in API Server for VN ctest-vn-47609207 passed 2025-10-27 02:42:25,668 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,680 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:42:25,689 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:42:25,698 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5f054b96-1074-495e-89d8-9b77ddf1ab80 2025-10-27 02:42:25,713 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13472632310288567627', 'uuid-lslong': '10411983662234148238'}, 'enable': 'true', 'created': '2025-10-27T02:42:22', 'last-modified': '2025-10-27T02:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.547953'} 2025-10-27 02:42:25,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:42:25,726 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13472632310288567627', 'uuid-lslong': '10411983662234148238'}, 'enable': 'true', 'created': '2025-10-27T02:42:22', 'last-modified': '2025-10-27T02:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.564810'} 2025-10-27 02:42:25,733 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:42:25,738 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95976252', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13472632310288567627', 'uuid-lslong': '10411983662234148238'}, 'enable': 'true', 'created': '2025-10-27T02:42:22', 'last-modified': '2025-10-27T02:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.576794'} 2025-10-27 02:42:25,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:42:25,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47609207 passed 2025-10-27 02:42:25,745 - DEBUG - ====Verifying policy data for ctest-vn-47609207 in API_Server ====== 2025-10-27 02:42:25,745 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:42:25,752 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:42:25,765 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:42:25,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/baf867b4-8433-4d4b-907e-cbf9caa31d8e 2025-10-27 02:42:25,882 - DEBUG - ==>Verifying data for policy with id: 0bbdd7c1-f36d-474a-b86d-ce1d0dca591e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95976252', 'ctest-policy-allow-all-17394874'] 2025-10-27 02:42:25,882 - INFO - VN ctest-vn-47609207 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:42:25,882 - DEBUG - Verifying the vn in opserver 2025-10-27 02:42:25,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 virtual network link through opserver 10.0.0.249 2025-10-27 02:42:25,882 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 02:42:25,944 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207?flat'} 2025-10-27 02:42:25,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 virtual network link through opserver 10.0.0.33 2025-10-27 02:42:25,944 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 02:42:26,009 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207?flat'} 2025-10-27 02:42:26,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 virtual network link through opserver 10.0.0.129 2025-10-27 02:42:26,009 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-27 02:42:26,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207?flat'} 2025-10-27 02:42:26,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is found in opserver 2025-10-27 02:42:26,090 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:42:26,100 - DEBUG - VRF ids for VN ctest-vn-47609207: {} 2025-10-27 02:42:26,174 - DEBUG - Services list from nova: [, , , ] 2025-10-27 02:42:27,303 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2) 2025-10-27 02:42:28,653 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-1) 2025-10-27 02:42:28,653 - INFO - Waiting for VM ctest-TestBasicPolicy-95976252-55681234 to be up.. 2025-10-27 02:42:28,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:42:33,847 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:42:33,847 - INFO - VM name : ctest-TestBasicPolicy-95976252-55681234 2025-10-27 02:42:33,935 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 ID is 39ada3e3-a4d1-4e2b-98bd-4c063d8f0114 2025-10-27 02:42:33,970 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 launched on Node an-jenkins-deploy-platform-ansible-os-4489-2 2025-10-27 02:42:34,062 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/39ada3e3-a4d1-4e2b-98bd-4c063d8f0114 2025-10-27 02:42:34,366 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/39ada3e3-a4d1-4e2b-98bd-4c063d8f0114 2025-10-27 02:42:34,409 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1b774894-59db-4f83-915a-87f4e508eb08 2025-10-27 02:42:37,593 - 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 1015ms') 2025-10-27 02:42:37,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:37,616 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:42:41,696 - 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 1013ms') 2025-10-27 02:42:41,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:41,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:42:45,786 - 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-10-27 02:42:45,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:45,801 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:42:49,887 - 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 1027ms') 2025-10-27 02:42:49,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:49,902 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:42:53,974 - 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 1015ms') 2025-10-27 02:42:53,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:53,989 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:42:58,073 - 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 1027ms') 2025-10-27 02:42:58,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:42:58,087 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:43:02,166 - 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-10-27 02:43:02,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:43:02,182 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:43:06,272 - 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 1021ms') 2025-10-27 02:43:06,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 failed! 2025-10-27 02:43:06,287 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-32639492 is 212.230.147.1 and allocation pool is NOT set 2025-10-27 02:43:08,351 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.704/4.724/5.744/1.020 ms') 2025-10-27 02:43:08,352 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-55681234 passed 2025-10-27 02:43:08,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:43:08,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-55681234, IP 212.230.147.3, Port 22 2025-10-27 02:43:08,491 - 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-10-27 02:43:08,595 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:43:13,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:43:13,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-55681234, IP 212.230.147.3, Port 22 2025-10-27 02:43:13,653 - 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-10-27 02:43:13,768 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:43:18,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:43:18,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-55681234, IP 212.230.147.3, Port 22 2025-10-27 02:43:18,836 - 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-10-27 02:43:18,921 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:43:23,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:43:23,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-55681234, IP 212.230.147.3, Port 22 2025-10-27 02:43:23,992 - 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-10-27 02:43:24,074 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:43:29,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:43:29,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-55681234, IP 212.230.147.3, Port 22 2025-10-27 02:43:29,253 - DEBUG - VM ctest-TestBasicPolicy-95976252-55681234 is ready for SSH connections 2025-10-27 02:43:29,253 - INFO - Waiting for VM ctest-TestBasicPolicy-95976252-81823513 to be up.. 2025-10-27 02:43:29,342 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:43:29,342 - INFO - VM name : ctest-TestBasicPolicy-95976252-81823513 2025-10-27 02:43:29,431 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 ID is 9f96d8b3-817d-483d-bdd7-262af2895fdb 2025-10-27 02:43:29,432 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 launched on Node an-jenkins-deploy-platform-ansible-os-4489-1 2025-10-27 02:43:29,522 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9f96d8b3-817d-483d-bdd7-262af2895fdb 2025-10-27 02:43:29,532 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/63c79154-b888-415b-a13c-bb130ff5ae69 2025-10-27 02:43:32,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-10-27 02:43:32,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:32,719 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:36,801 - 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 1023ms') 2025-10-27 02:43:36,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:36,817 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:40,900 - 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 1019ms') 2025-10-27 02:43:40,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:40,915 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:44,993 - 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 1019ms') 2025-10-27 02:43:44,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:45,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:49,091 - 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-10-27 02:43:49,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:49,107 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:53,185 - 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-10-27 02:43:53,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:53,198 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:43:57,282 - 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 1021ms') 2025-10-27 02:43:57,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:43:57,296 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:01,378 - 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-10-27 02:44:01,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:01,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:05,469 - 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-10-27 02:44:05,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:05,482 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:09,574 - 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-10-27 02:44:09,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:09,590 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:13,671 - 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 1010ms') 2025-10-27 02:44:13,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:13,691 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:17,793 - 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 1031ms') 2025-10-27 02:44:17,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:17,806 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:21,894 - 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 1023ms') 2025-10-27 02:44:21,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:21,910 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:25,987 - 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-10-27 02:44:25,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:26,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:30,081 - 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-10-27 02:44:30,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:30,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:34,181 - 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-10-27 02:44:34,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:34,196 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:38,275 - 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-10-27 02:44:38,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:38,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:42,373 - 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-10-27 02:44:42,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:42,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:46,473 - 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-10-27 02:44:46,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:46,491 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:50,565 - 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-10-27 02:44:50,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:50,579 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:54,653 - 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-10-27 02:44:54,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:54,669 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:44:58,756 - 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-10-27 02:44:58,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:44:58,773 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:02,852 - 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 1015ms') 2025-10-27 02:45:02,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:02,867 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:06,945 - 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-10-27 02:45:06,945 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:06,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:11,042 - 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-10-27 02:45:11,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:11,058 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:15,142 - 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-10-27 02:45:15,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:15,162 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:19,231 - 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 1001ms') 2025-10-27 02:45:19,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:19,247 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:23,329 - 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-10-27 02:45:23,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:23,349 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:27,427 - 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-10-27 02:45:27,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:27,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:31,524 - 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-10-27 02:45:31,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:31,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:35,615 - 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-10-27 02:45:35,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:35,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:39,715 - 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 1010ms') 2025-10-27 02:45:39,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:39,729 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:43,809 - 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-10-27 02:45:43,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 failed! 2025-10-27 02:45:43,824 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95976252:ctest-vn-47609207 is 28.79.45.1 and allocation pool is NOT set 2025-10-27 02:45:45,893 - 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=15.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.192/9.496/15.800/6.304 ms') 2025-10-27 02:45:45,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95976252-81823513 passed 2025-10-27 02:45:45,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:45:45,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-81823513, IP 28.79.45.3, Port 22 2025-10-27 02:45:46,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-10-27 02:45:46,178 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:45:51,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:45:51,179 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-81823513, IP 28.79.45.3, Port 22 2025-10-27 02:45:51,246 - 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-10-27 02:45:51,332 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:45:56,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:45:56,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-81823513, IP 28.79.45.3, Port 22 2025-10-27 02:45:56,401 - 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-10-27 02:45:56,487 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:46:01,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:46:01,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95976252-81823513, IP 28.79.45.3, Port 22 2025-10-27 02:46:01,662 - DEBUG - VM ctest-TestBasicPolicy-95976252-81823513 is ready for SSH connections 2025-10-27 02:46:01,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:46:01,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.79.45.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 02:46:01,662 - DEBUG - ping -s 56 -c 3 -W 1 28.79.45.3 2025-10-27 02:46:47,919 - DEBUG - PING 28.79.45.3 (28.79.45.3) 56(84) bytes of data. 64 bytes from 28.79.45.3: icmp_req=1 ttl=63 time=8.80 ms 64 bytes from 28.79.45.3: icmp_req=2 ttl=63 time=1.16 ms 64 bytes from 28.79.45.3: icmp_req=3 ttl=63 time=1.98 ms --- 28.79.45.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.169/3.983/8.800/3.422 ms 2025-10-27 02:46:47,919 - INFO - Ping to IP 28.79.45.3 from VM ctest-TestBasicPolicy-95976252-55681234 passed 2025-10-27 02:46:48,157 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0bbdd7c1-f36d-474a-b86d-ce1d0dca591e", "href": "http://10.0.0.129:8082/network-policy/0bbdd7c1-f36d-474a-b86d-ce1d0dca591e"}} 2025-10-27 02:46:48,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:46:48,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.79.45.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 02:46:48,157 - DEBUG - ping -s 56 -c 3 -W 1 28.79.45.3 2025-10-27 02:46:51,637 - DEBUG - PING 28.79.45.3 (28.79.45.3) 56(84) bytes of data. 64 bytes from 28.79.45.3: icmp_req=1 ttl=63 time=3.07 ms --- 28.79.45.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2011ms rtt min/avg/max/mdev = 3.074/3.074/3.074/0.000 ms 2025-10-27 02:46:51,637 - WARNING - Ping to IP 28.79.45.3 from VM ctest-TestBasicPolicy-95976252-55681234 failed 2025-10-27 02:46:51,637 - INFO - Deleting VM ctest-TestBasicPolicy-95976252-81823513 2025-10-27 02:46:51,706 - INFO - Deleting VM ctest-TestBasicPolicy-95976252-55681234 2025-10-27 02:46:52,162 - INFO - Deleted policy ctest-policy-allow-all-17394874 2025-10-27 02:46:52,162 - INFO - Deleting VN ctest-vn-47609207 2025-10-27 02:46:52,209 - DEBUG - VN baf867b4-8433-4d4b-907e-cbf9caa31d8e still in use: Unable to complete operation on network baf867b4-8433-4d4b-907e-cbf9caa31d8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83b31141-7c95-4536-9ab5-806abd7b38bf'] 2025-10-27 02:46:52,209 - WARNING - Deleting VN ctest-vn-47609207 failed..Will retry 2025-10-27 02:46:54,406 - DEBUG - Response for deleting network () 2025-10-27 02:46:54,407 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5d3c43e-f7a0-456c-b900-e2a60ed866d5 2025-10-27 02:46:54,413 - DEBUG - Response Code: 404 2025-10-27 02:46:54,413 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:46:54,424 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:46:54,488 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:46:54,590 - INFO - Validated that VN ctest-vn-47609207 is not found in API Server 2025-10-27 02:46:54,600 - DEBUG - VN ctest-vn-47609207 is not present in Agent 10.0.0.130 2025-10-27 02:46:54,612 - DEBUG - VN ctest-vn-47609207 is not present in Agent 10.0.0.131 2025-10-27 02:46:54,612 - INFO - Validated that VN ctest-vn-47609207 is not in any agent 2025-10-27 02:46:54,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47609207 info 2025-10-27 02:46:54,644 - INFO - Deleting VN ctest-vn-32639492 2025-10-27 02:46:54,779 - DEBUG - Response for deleting network () 2025-10-27 02:46:54,779 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/52dc35c9-f4d6-4b2c-b8be-883dab35a962 2025-10-27 02:46:54,792 - DEBUG - Response Code: 404 2025-10-27 02:46:54,792 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 02:46:54,803 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 02:46:54,825 - DEBUG - Requesting: http://10.0.0.249:8082/project/c161ef09-d4c2-40b3-a7f3-8180e2928ca6 2025-10-27 02:46:54,934 - INFO - Validated that VN ctest-vn-32639492 is not found in API Server 2025-10-27 02:46:54,946 - DEBUG - VN ctest-vn-32639492 is not present in Agent 10.0.0.130 2025-10-27 02:46:54,958 - DEBUG - VN ctest-vn-32639492 is not present in Agent 10.0.0.131 2025-10-27 02:46:54,958 - INFO - Validated that VN ctest-vn-32639492 is not in any agent 2025-10-27 02:46:54,994 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32639492 info 2025-10-27 02:46:56,300 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:46:56,301 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:04:37]
2025-10-27 02:46:56,301 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:46:57,077 - INFO - Deleted project: ctest-TestBasicPolicy-95976252, ID : c161ef09-d4c2-40b3-a7f3-8180e2928ca6