2025-04-17 02:33:17,595 - INFO - Domain Default found not creating 2025-04-17 02:33:17,789 - INFO - Project ctest-TestBasicPolicy-96527784 not found, creating it 2025-04-17 02:33:18,309 - INFO - Created Project:ctest-TestBasicPolicy-96527784, ID : 3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:19,952 - INFO - ================================================================================ 2025-04-17 02:33:19,952 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-17 02:33:19,952 - 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-04-17 02:33:20,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.14': '0'}} with 2025-04-17 02:33:20,213 - INFO - Initial checks done. Running the testcase now 2025-04-17 02:33:20,213 - INFO - 2025-04-17 02:33:21,075 - DEBUG - Response for create_network : {'network': {'id': '8e65244b-31d0-4d03-9b29-c82c590008d3', 'name': 'ctest-vn-50192854', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'project_id': '3f2029b86be44bd89cf4c598ae891ecc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-vn-50192854'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:33:21,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a1dc2a8-1043-4e96-a5ff-b950c63faa76', 'name': '', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'network_id': '8e65244b-31d0-4d03-9b29-c82c590008d3', 'ip_version': 4, 'cidr': '180.7.14.128/26', 'allocation_pools': [{'start': '180.7.14.130', 'end': '180.7.14.190'}], 'gateway_ip': '180.7.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.7.14.130', 'tags': [], 'project_id': '3f2029b86be44bd89cf4c598ae891ecc'}} 2025-04-17 02:33:21,286 - INFO - Created VN ctest-vn-50192854 2025-04-17 02:33:21,341 - DEBUG - VN ctest-vn-50192854 UUID is 8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:21,713 - DEBUG - Response for create_network : {'network': {'id': 'f193d3e4-b867-40a6-b1d9-93de9d79bcd3', 'name': 'ctest-vn-44870308', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'project_id': '3f2029b86be44bd89cf4c598ae891ecc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-vn-44870308'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:33:21,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f97f0bb4-641f-4b9b-9e84-bf1a0a570759', 'name': '', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'network_id': 'f193d3e4-b867-40a6-b1d9-93de9d79bcd3', 'ip_version': 4, 'cidr': '53.92.97.64/26', 'allocation_pools': [{'start': '53.92.97.66', 'end': '53.92.97.126'}], 'gateway_ip': '53.92.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.92.97.66', 'tags': [], 'project_id': '3f2029b86be44bd89cf4c598ae891ecc'}} 2025-04-17 02:33:21,925 - INFO - Created VN ctest-vn-44870308 2025-04-17 02:33:21,980 - DEBUG - VN ctest-vn-44870308 UUID is f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:22,112 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854, 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-96527784:ctest-vn-44870308, 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-04-17 02:33:22,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e65244b-31d0-4d03-9b29-c82c590008d3', 'name': 'ctest-vn-50192854', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'project_id': '3f2029b86be44bd89cf4c598ae891ecc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a1dc2a8-1043-4e96-a5ff-b950c63faa76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-vn-50192854'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-policy-allow-all-49394750']], 'subnet_ipam': [{'subnet_cidr': '180.7.14.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:33:22,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f193d3e4-b867-40a6-b1d9-93de9d79bcd3', 'name': 'ctest-vn-44870308', 'tenant_id': '3f2029b86be44bd89cf4c598ae891ecc', 'project_id': '3f2029b86be44bd89cf4c598ae891ecc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f97f0bb4-641f-4b9b-9e84-bf1a0a570759'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-vn-44870308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-policy-allow-all-49394750']], 'subnet_ipam': [{'subnet_cidr': '53.92.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:33:22,857 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:23,167 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:23,201 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:23,218 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:23,298 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,311 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,325 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:23,334 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:23,343 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/89b3c636-db4f-48af-99f0-f3dbaae251c0 2025-04-17 02:33:23,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 02:33:23,351 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,364 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:23,389 - INFO - Verified VN network id 8 for VN 8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,389 - INFO - Verifications in API Server for VN ctest-vn-50192854 passed 2025-04-17 02:33:23,389 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,405 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:23,416 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:23,426 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/89b3c636-db4f-48af-99f0-f3dbaae251c0 2025-04-17 02:33:23,443 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96527784', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10260647231410425091', 'uuid-lslong': '11180687642721257683'}, 'enable': 'true', 'created': '2025-04-17T02:33:21', 'last-modified': '2025-04-17T02:33:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.025336'} 2025-04-17 02:33:23,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 02:33:23,451 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50192854 passed 2025-04-17 02:33:23,451 - DEBUG - ====Verifying policy data for ctest-vn-50192854 in API_Server ====== 2025-04-17 02:33:23,451 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:23,459 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:23,472 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:23,557 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8e65244b-31d0-4d03-9b29-c82c590008d3 2025-04-17 02:33:23,572 - DEBUG - ==>Verifying data for policy with id: 1a458220-afc3-49ac-b54c-21a2cf231645, fqn: ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-policy-allow-all-49394750'] 2025-04-17 02:33:23,572 - INFO - VN ctest-vn-50192854 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 02:33:23,572 - DEBUG - Verifying the vn in opserver 2025-04-17 02:33:23,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854 virtual network link through opserver 10.0.0.23 2025-04-17 02:33:23,573 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-17 02:33:23,877 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-17 02:33:23,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854?flat'} 2025-04-17 02:33:23,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854 is found in opserver 2025-04-17 02:33:23,964 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 02:33:23,970 - DEBUG - VRF ids for VN ctest-vn-50192854: {} 2025-04-17 02:33:23,970 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:23,977 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:23,992 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:24,076 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,091 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,103 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:24,112 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:24,121 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6521fec6-4721-43a4-88b3-015d3c361669 2025-04-17 02:33:24,130 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 02:33:24,130 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,142 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:24,162 - INFO - Verified VN network id 9 for VN f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,162 - INFO - Verifications in API Server for VN ctest-vn-44870308 passed 2025-04-17 02:33:24,162 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,174 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:24,183 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:24,193 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6521fec6-4721-43a4-88b3-015d3c361669 2025-04-17 02:33:24,210 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-44870308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96527784', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17407489964016877734', 'uuid-lslong': '12815436798993480915'}, 'enable': 'true', 'created': '2025-04-17T02:33:21', 'last-modified': '2025-04-17T02:33:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.537406'} 2025-04-17 02:33:24,218 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 02:33:24,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44870308 passed 2025-04-17 02:33:24,218 - DEBUG - ====Verifying policy data for ctest-vn-44870308 in API_Server ====== 2025-04-17 02:33:24,218 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:24,225 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:24,239 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:24,320 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f193d3e4-b867-40a6-b1d9-93de9d79bcd3 2025-04-17 02:33:24,333 - DEBUG - ==>Verifying data for policy with id: 1a458220-afc3-49ac-b54c-21a2cf231645, fqn: ['default-domain', 'ctest-TestBasicPolicy-96527784', 'ctest-policy-allow-all-49394750'] 2025-04-17 02:33:24,333 - INFO - VN ctest-vn-44870308 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 02:33:24,333 - DEBUG - Verifying the vn in opserver 2025-04-17 02:33:24,333 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-44870308 virtual network link through opserver 10.0.0.23 2025-04-17 02:33:24,333 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-17 02:33:24,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-44870308', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-44870308?flat'} 2025-04-17 02:33:24,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-44870308 is found in opserver 2025-04-17 02:33:24,367 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 02:33:24,374 - DEBUG - VRF ids for VN ctest-vn-44870308: {} 2025-04-17 02:33:24,443 - DEBUG - Services list from nova: [, , ] 2025-04-17 02:33:25,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3132-1) 2025-04-17 02:33:26,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3132-1) 2025-04-17 02:33:26,983 - INFO - Waiting for VM ctest-TestBasicPolicy-96527784-68473661 to be up.. 2025-04-17 02:33:27,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 02:33:32,197 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:33:32,197 - INFO - VM name : ctest-TestBasicPolicy-96527784-68473661 2025-04-17 02:33:32,306 - DEBUG - VM ctest-TestBasicPolicy-96527784-68473661 ID is b566033c-079b-4401-b2bb-c04f36d0dcea 2025-04-17 02:33:32,333 - DEBUG - VM ctest-TestBasicPolicy-96527784-68473661 launched on Node cn-jenkins-deploy-platform-ansible-os-3132-1 2025-04-17 02:33:32,450 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b566033c-079b-4401-b2bb-c04f36d0dcea 2025-04-17 02:33:32,464 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/89c40bff-4f9d-429c-a990-8563e31cd740 2025-04-17 02:33:35,731 - 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-04-17 02:33:35,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96527784-68473661 failed! 2025-04-17 02:33:35,788 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96527784:ctest-vn-50192854 is 180.7.14.129 and allocation pool is NOT set 2025-04-17 02:33:37,852 - 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=9.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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 = 2.787/6.210/9.634/3.423 ms') 2025-04-17 02:33:37,853 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96527784-68473661 passed 2025-04-17 02:33:38,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:33:38,013 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96527784-68473661, IP 180.7.14.131, Port 22 2025-04-17 02:33:38,179 - DEBUG - VM ctest-TestBasicPolicy-96527784-68473661 is ready for SSH connections 2025-04-17 02:33:38,179 - INFO - Waiting for VM ctest-TestBasicPolicy-96527784-15551910 to be up.. 2025-04-17 02:33:38,287 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:33:38,288 - INFO - VM name : ctest-TestBasicPolicy-96527784-15551910 2025-04-17 02:33:38,392 - DEBUG - VM ctest-TestBasicPolicy-96527784-15551910 ID is 089f8e7c-3efa-4a87-91bc-dc72cb1a3bee 2025-04-17 02:33:38,392 - DEBUG - VM ctest-TestBasicPolicy-96527784-15551910 launched on Node cn-jenkins-deploy-platform-ansible-os-3132-1 2025-04-17 02:33:38,493 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/089f8e7c-3efa-4a87-91bc-dc72cb1a3bee 2025-04-17 02:33:38,506 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e54f1dbb-eeba-4984-b576-c4c0e0383d37 2025-04-17 02:33:39,769 - 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=5.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.228/3.589/5.950/2.361 ms') 2025-04-17 02:33:39,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96527784-15551910 passed 2025-04-17 02:33:39,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:33:39,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96527784-15551910, IP 53.92.97.67, Port 22 2025-04-17 02:33:40,106 - DEBUG - VM ctest-TestBasicPolicy-96527784-15551910 is ready for SSH connections 2025-04-17 02:33:40,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:33:40,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.92.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-17 02:33:40,107 - DEBUG - ping -s 56 -c 3 -W 1 53.92.97.67 2025-04-17 02:33:44,222 - DEBUG - PING 53.92.97.67 (53.92.97.67): 56 data bytes 64 bytes from 53.92.97.67: seq=0 ttl=63 time=5.270 ms 64 bytes from 53.92.97.67: seq=1 ttl=63 time=1.362 ms 64 bytes from 53.92.97.67: seq=2 ttl=63 time=1.265 ms --- 53.92.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.265/2.632/5.270 ms 2025-04-17 02:33:44,223 - INFO - Ping to IP 53.92.97.67 from VM ctest-TestBasicPolicy-96527784-68473661 passed 2025-04-17 02:33:44,416 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a458220-afc3-49ac-b54c-21a2cf231645", "href": "http://10.0.0.23:8082/network-policy/1a458220-afc3-49ac-b54c-21a2cf231645"}} 2025-04-17 02:33:44,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:33:44,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.92.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-17 02:33:44,417 - DEBUG - ping -s 56 -c 3 -W 1 53.92.97.67 2025-04-17 02:33:47,638 - DEBUG - PING 53.92.97.67 (53.92.97.67): 56 data bytes 64 bytes from 53.92.97.67: seq=0 ttl=63 time=1.529 ms --- 53.92.97.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.529/1.529/1.529 ms 2025-04-17 02:33:47,638 - WARNING - Ping to IP 53.92.97.67 from VM ctest-TestBasicPolicy-96527784-68473661 failed 2025-04-17 02:33:47,638 - INFO - Deleting VM ctest-TestBasicPolicy-96527784-15551910 2025-04-17 02:33:47,731 - INFO - Deleting VM ctest-TestBasicPolicy-96527784-68473661 2025-04-17 02:33:48,204 - INFO - Deleted policy ctest-policy-allow-all-49394750 2025-04-17 02:33:48,204 - INFO - Deleting VN ctest-vn-44870308 2025-04-17 02:33:48,272 - DEBUG - VN f193d3e4-b867-40a6-b1d9-93de9d79bcd3 still in use: Unable to complete operation on network f193d3e4-b867-40a6-b1d9-93de9d79bcd3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57c2277d-71e4-4034-95ff-85443b4df00b'] 2025-04-17 02:33:48,272 - WARNING - Deleting VN ctest-vn-44870308 failed..Will retry 2025-04-17 02:33:50,404 - DEBUG - Response for deleting network () 2025-04-17 02:33:50,404 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a0766119-32e3-4dac-b312-68652dead694 2025-04-17 02:33:50,414 - DEBUG - Response Code: 404 2025-04-17 02:33:50,414 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:50,423 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:50,479 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:50,559 - INFO - Validated that VN ctest-vn-44870308 is not found in API Server 2025-04-17 02:33:50,574 - DEBUG - VN ctest-vn-44870308 is not present in Agent 10.0.0.23 2025-04-17 02:33:50,574 - INFO - Validated that VN ctest-vn-44870308 is not in any agent 2025-04-17 02:33:50,595 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44870308 info 2025-04-17 02:33:50,595 - INFO - Deleting VN ctest-vn-50192854 2025-04-17 02:33:50,726 - DEBUG - Response for deleting network () 2025-04-17 02:33:50,727 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/75f3027f-83f1-499e-b33b-fbebf48c5057 2025-04-17 02:33:50,735 - DEBUG - Response Code: 404 2025-04-17 02:33:50,735 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-17 02:33:50,745 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a9199e49-ddf7-4a44-9dbe-b10e2792616c 2025-04-17 02:33:50,804 - DEBUG - Requesting: http://10.0.0.23:8082/project/3f2029b8-6be4-4bd8-9cf4-c598ae891ecc 2025-04-17 02:33:50,883 - INFO - Validated that VN ctest-vn-50192854 is not found in API Server 2025-04-17 02:33:50,900 - DEBUG - VN ctest-vn-50192854 is not present in Agent 10.0.0.23 2025-04-17 02:33:50,900 - INFO - Validated that VN ctest-vn-50192854 is not in any agent 2025-04-17 02:33:50,922 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50192854 info 2025-04-17 02:33:51,186 - DEBUG - No XMPP flaps were noticed during the test 2025-04-17 02:33:51,186 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-04-17 02:33:51,186 - INFO - -------------------------------------------------------------------------------- 2025-04-17 02:33:51,931 - INFO - Deleted project: ctest-TestBasicPolicy-96527784, ID : 3f2029b8-6be4-4bd8-9cf4-c598ae891ecc