2025-07-21 02:25:02,334 - INFO - Domain Default found not creating 2025-07-21 02:25:02,474 - INFO - Project ctest-TestBasicPolicy-62031222 not found, creating it 2025-07-21 02:25:02,938 - INFO - Created Project:ctest-TestBasicPolicy-62031222, ID : 0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:04,438 - INFO - ================================================================================ 2025-07-21 02:25:04,438 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 02:25:04,439 - 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-07-21 02:25:04,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-07-21 02:25:04,706 - INFO - Initial checks done. Running the testcase now 2025-07-21 02:25:04,706 - INFO - 2025-07-21 02:25:05,276 - DEBUG - Response for create_network : {'network': {'id': '967592cb-7fff-42be-b647-474d5641459d', 'name': 'ctest-vn-55179396', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-vn-55179396'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:25:05,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efd4e13c-ec50-440f-bf11-dc0ee1475a15', 'name': '', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'network_id': '967592cb-7fff-42be-b647-474d5641459d', 'ip_version': 4, 'cidr': '18.74.158.0/26', 'allocation_pools': [{'start': '18.74.158.2', 'end': '18.74.158.62'}], 'gateway_ip': '18.74.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.74.158.2', 'tags': [], 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff'}} 2025-07-21 02:25:05,457 - INFO - Created VN ctest-vn-55179396 2025-07-21 02:25:05,513 - DEBUG - VN ctest-vn-55179396 UUID is 967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:05,812 - DEBUG - Response for create_network : {'network': {'id': 'f88eb5a6-fee4-4143-b849-c5928d8d3437', 'name': 'ctest-vn-04333026', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-vn-04333026'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:25:06,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '386fa8d4-e83f-4275-b539-0b95a24a8d1d', 'name': '', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'network_id': 'f88eb5a6-fee4-4143-b849-c5928d8d3437', 'ip_version': 4, 'cidr': '165.63.249.64/26', 'allocation_pools': [{'start': '165.63.249.66', 'end': '165.63.249.126'}], 'gateway_ip': '165.63.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.63.249.66', 'tags': [], 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff'}} 2025-07-21 02:25:06,035 - INFO - Created VN ctest-vn-04333026 2025-07-21 02:25:06,089 - DEBUG - VN ctest-vn-04333026 UUID is f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:06,201 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396, 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-62031222:ctest-vn-04333026, 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-07-21 02:25:06,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '967592cb-7fff-42be-b647-474d5641459d', 'name': 'ctest-vn-55179396', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['efd4e13c-ec50-440f-bf11-dc0ee1475a15'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-vn-55179396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-policy-allow-all-28398809']], 'subnet_ipam': [{'subnet_cidr': '18.74.158.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:25:06,770 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f88eb5a6-fee4-4143-b849-c5928d8d3437', 'name': 'ctest-vn-04333026', 'tenant_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'project_id': '0ed3a033386047b1a41a28f5eac0b4ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['386fa8d4-e83f-4275-b539-0b95a24a8d1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-vn-04333026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-policy-allow-all-28398809']], 'subnet_ipam': [{'subnet_cidr': '165.63.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:25:06,945 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:07,247 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:07,282 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:07,296 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:07,374 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,388 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,398 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:07,405 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:07,413 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4655787f-64db-435f-8efa-9ec54c59d382 2025-07-21 02:25:07,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:25:07,422 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,433 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:07,448 - INFO - Verified VN network id 8 for VN 967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,448 - INFO - Verifications in API Server for VN ctest-vn-55179396 passed 2025-07-21 02:25:07,448 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,459 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:07,468 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:07,476 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4655787f-64db-435f-8efa-9ec54c59d382 2025-07-21 02:25:07,490 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62031222', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10841733080687788734', 'uuid-lslong': '13134545235734513053'}, 'enable': 'true', 'created': '2025-07-21T02:25:05', 'last-modified': '2025-07-21T02:25:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990149'} 2025-07-21 02:25:07,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:25:07,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55179396 passed 2025-07-21 02:25:07,497 - DEBUG - ====Verifying policy data for ctest-vn-55179396 in API_Server ====== 2025-07-21 02:25:07,497 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:07,503 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:07,518 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:07,594 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/967592cb-7fff-42be-b647-474d5641459d 2025-07-21 02:25:07,605 - DEBUG - ==>Verifying data for policy with id: 80a1a02f-631d-4dd7-9b35-958dd4cf333e, fqn: ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-policy-allow-all-28398809'] 2025-07-21 02:25:07,605 - INFO - VN ctest-vn-55179396 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:25:07,605 - DEBUG - Verifying the vn in opserver 2025-07-21 02:25:07,605 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396 virtual network link through opserver 10.0.0.242 2025-07-21 02:25:07,606 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-21 02:25:07,901 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-21 02:25:07,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396?flat'} 2025-07-21 02:25:07,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396 is found in opserver 2025-07-21 02:25:07,970 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:25:07,976 - DEBUG - VRF ids for VN ctest-vn-55179396: {} 2025-07-21 02:25:07,976 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:07,982 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:07,995 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:08,074 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,087 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,098 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:08,106 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:08,113 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6f240386-b64f-43b8-9e2b-6ae24c771709 2025-07-21 02:25:08,121 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:25:08,121 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,133 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:08,148 - INFO - Verified VN network id 9 for VN f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,148 - INFO - Verifications in API Server for VN ctest-vn-04333026 passed 2025-07-21 02:25:08,148 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,159 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:08,165 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:08,173 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6f240386-b64f-43b8-9e2b-6ae24c771709 2025-07-21 02:25:08,188 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-04333026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62031222', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17910452496944611651', 'uuid-lslong': '13279362209509356599'}, 'enable': 'true', 'created': '2025-07-21T02:25:05', 'last-modified': '2025-07-21T02:25:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448165'} 2025-07-21 02:25:08,194 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:25:08,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04333026 passed 2025-07-21 02:25:08,194 - DEBUG - ====Verifying policy data for ctest-vn-04333026 in API_Server ====== 2025-07-21 02:25:08,194 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:08,202 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:08,215 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:08,298 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f88eb5a6-fee4-4143-b849-c5928d8d3437 2025-07-21 02:25:08,308 - DEBUG - ==>Verifying data for policy with id: 80a1a02f-631d-4dd7-9b35-958dd4cf333e, fqn: ['default-domain', 'ctest-TestBasicPolicy-62031222', 'ctest-policy-allow-all-28398809'] 2025-07-21 02:25:08,308 - INFO - VN ctest-vn-04333026 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:25:08,308 - DEBUG - Verifying the vn in opserver 2025-07-21 02:25:08,308 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-04333026 virtual network link through opserver 10.0.0.242 2025-07-21 02:25:08,308 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-21 02:25:08,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-04333026', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-04333026?flat'} 2025-07-21 02:25:08,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-04333026 is found in opserver 2025-07-21 02:25:08,330 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:25:08,335 - DEBUG - VRF ids for VN ctest-vn-04333026: {} 2025-07-21 02:25:08,388 - DEBUG - Services list from nova: [, , ] 2025-07-21 02:25:09,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3676-1) 2025-07-21 02:25:10,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3676-1) 2025-07-21 02:25:10,646 - INFO - Waiting for VM ctest-TestBasicPolicy-62031222-10464426 to be up.. 2025-07-21 02:25:10,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 02:25:15,811 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:25:15,812 - INFO - VM name : ctest-TestBasicPolicy-62031222-10464426 2025-07-21 02:25:15,887 - DEBUG - VM ctest-TestBasicPolicy-62031222-10464426 ID is 0aa99b60-bf44-4cfe-92bf-668afbb8562a 2025-07-21 02:25:15,907 - DEBUG - VM ctest-TestBasicPolicy-62031222-10464426 launched on Node cn-jenkins-deploy-platform-ansible-os-3676-1 2025-07-21 02:25:15,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0aa99b60-bf44-4cfe-92bf-668afbb8562a 2025-07-21 02:25:15,994 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1574e6a0-b40b-4170-a3f1-2d6300ff2677 2025-07-21 02:25:19,266 - 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-07-21 02:25:19,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62031222-10464426 failed! 2025-07-21 02:25:19,321 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62031222:ctest-vn-55179396 is 18.74.158.1 and allocation pool is NOT set 2025-07-21 02:25:21,381 - 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=7.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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 = 0.459/3.914/7.370/3.455 ms') 2025-07-21 02:25:21,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62031222-10464426 passed 2025-07-21 02:25:21,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:25:21,537 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62031222-10464426, IP 18.74.158.3, Port 22 2025-07-21 02:25:21,693 - DEBUG - VM ctest-TestBasicPolicy-62031222-10464426 is ready for SSH connections 2025-07-21 02:25:21,693 - INFO - Waiting for VM ctest-TestBasicPolicy-62031222-54319608 to be up.. 2025-07-21 02:25:21,792 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:25:21,792 - INFO - VM name : ctest-TestBasicPolicy-62031222-54319608 2025-07-21 02:25:21,873 - DEBUG - VM ctest-TestBasicPolicy-62031222-54319608 ID is c0f9ee5b-34e4-4b34-9a0f-27dc0c442639 2025-07-21 02:25:21,873 - DEBUG - VM ctest-TestBasicPolicy-62031222-54319608 launched on Node cn-jenkins-deploy-platform-ansible-os-3676-1 2025-07-21 02:25:21,971 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c0f9ee5b-34e4-4b34-9a0f-27dc0c442639 2025-07-21 02:25:21,981 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/de4f8f61-3e7a-4efc-a473-966709d8dced 2025-07-21 02:25:23,229 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.563/2.431/4.299/1.868 ms') 2025-07-21 02:25:23,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62031222-54319608 passed 2025-07-21 02:25:23,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:25:23,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62031222-54319608, IP 165.63.249.67, Port 22 2025-07-21 02:25:23,545 - DEBUG - VM ctest-TestBasicPolicy-62031222-54319608 is ready for SSH connections 2025-07-21 02:25:23,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:25:23,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.63.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-21 02:25:23,545 - DEBUG - ping -s 56 -c 3 -W 1 165.63.249.67 2025-07-21 02:25:27,207 - DEBUG - PING 165.63.249.67 (165.63.249.67): 56 data bytes 64 bytes from 165.63.249.67: seq=0 ttl=63 time=3.556 ms 64 bytes from 165.63.249.67: seq=1 ttl=63 time=0.976 ms 64 bytes from 165.63.249.67: seq=2 ttl=63 time=1.041 ms --- 165.63.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/1.857/3.556 ms 2025-07-21 02:25:27,207 - INFO - Ping to IP 165.63.249.67 from VM ctest-TestBasicPolicy-62031222-10464426 passed 2025-07-21 02:25:27,409 - DEBUG - Policy Update Response {"network-policy": {"uuid": "80a1a02f-631d-4dd7-9b35-958dd4cf333e", "href": "http://10.0.0.242:8082/network-policy/80a1a02f-631d-4dd7-9b35-958dd4cf333e"}} 2025-07-21 02:25:27,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:25:27,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.63.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-21 02:25:27,409 - DEBUG - ping -s 56 -c 3 -W 1 165.63.249.67 2025-07-21 02:25:30,613 - DEBUG - PING 165.63.249.67 (165.63.249.67): 56 data bytes 64 bytes from 165.63.249.67: seq=0 ttl=63 time=1.864 ms --- 165.63.249.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.864/1.864/1.864 ms 2025-07-21 02:25:30,613 - WARNING - Ping to IP 165.63.249.67 from VM ctest-TestBasicPolicy-62031222-10464426 failed 2025-07-21 02:25:30,613 - INFO - Deleting VM ctest-TestBasicPolicy-62031222-54319608 2025-07-21 02:25:30,684 - INFO - Deleting VM ctest-TestBasicPolicy-62031222-10464426 2025-07-21 02:25:31,189 - INFO - Deleted policy ctest-policy-allow-all-28398809 2025-07-21 02:25:31,189 - INFO - Deleting VN ctest-vn-04333026 2025-07-21 02:25:31,276 - DEBUG - VN f88eb5a6-fee4-4143-b849-c5928d8d3437 still in use: Unable to complete operation on network f88eb5a6-fee4-4143-b849-c5928d8d3437. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24d084b5-0f25-4998-9cee-59c1c5bb5712'] 2025-07-21 02:25:31,276 - WARNING - Deleting VN ctest-vn-04333026 failed..Will retry 2025-07-21 02:25:33,392 - DEBUG - Response for deleting network () 2025-07-21 02:25:33,392 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/286d9db6-600e-4395-8752-db8a5620df29 2025-07-21 02:25:33,402 - DEBUG - Response Code: 404 2025-07-21 02:25:33,403 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:33,408 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:33,464 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:33,554 - INFO - Validated that VN ctest-vn-04333026 is not found in API Server 2025-07-21 02:25:33,569 - DEBUG - VN ctest-vn-04333026 is not present in Agent 10.0.0.242 2025-07-21 02:25:33,569 - INFO - Validated that VN ctest-vn-04333026 is not in any agent 2025-07-21 02:25:33,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04333026 info 2025-07-21 02:25:33,586 - INFO - Deleting VN ctest-vn-55179396 2025-07-21 02:25:33,710 - DEBUG - Response for deleting network () 2025-07-21 02:25:33,711 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b9e471d-77ee-43da-bd4d-1a3c7452c842 2025-07-21 02:25:33,716 - DEBUG - Response Code: 404 2025-07-21 02:25:33,716 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-21 02:25:33,722 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4af40b2f-28a5-456b-96cb-033647403708 2025-07-21 02:25:33,779 - DEBUG - Requesting: http://10.0.0.242:8082/project/0ed3a033-3860-47b1-a41a-28f5eac0b4ff 2025-07-21 02:25:33,856 - INFO - Validated that VN ctest-vn-55179396 is not found in API Server 2025-07-21 02:25:33,868 - DEBUG - VN ctest-vn-55179396 is not present in Agent 10.0.0.242 2025-07-21 02:25:33,868 - INFO - Validated that VN ctest-vn-55179396 is not in any agent 2025-07-21 02:25:33,887 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55179396 info 2025-07-21 02:25:34,152 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 02:25:34,152 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-21 02:25:34,154 - INFO - -------------------------------------------------------------------------------- 2025-07-21 02:25:34,858 - INFO - Deleted project: ctest-TestBasicPolicy-62031222, ID : 0ed3a033-3860-47b1-a41a-28f5eac0b4ff