2025-08-25 14:16:28,835 - INFO - Domain Default found not creating 2025-08-25 14:16:28,958 - INFO - Project ctest-TestBasicPolicy-52503936 not found, creating it 2025-08-25 14:16:29,390 - INFO - Created Project:ctest-TestBasicPolicy-52503936, ID : 132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:30,848 - INFO - ================================================================================ 2025-08-25 14:16:30,848 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 14:16:30,849 - 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-08-25 14:16:31,107 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-25 14:16:31,107 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:16:31,107 - INFO - 2025-08-25 14:16:31,650 - DEBUG - Response for create_network : {'network': {'id': '03e5dea9-2267-421e-b131-a3d06cafd15f', 'name': 'ctest-vn-14417558', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'project_id': '132abaf198574e8b9136d1337175eab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-vn-14417558'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:16:31,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '48637457-98ca-4f3e-af5e-be69bbcdde73', 'name': '', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'network_id': '03e5dea9-2267-421e-b131-a3d06cafd15f', 'ip_version': 4, 'cidr': '19.1.226.192/26', 'allocation_pools': [{'start': '19.1.226.194', 'end': '19.1.226.254'}], 'gateway_ip': '19.1.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.1.226.194', 'tags': [], 'project_id': '132abaf198574e8b9136d1337175eab9'}} 2025-08-25 14:16:31,856 - INFO - Created VN ctest-vn-14417558 2025-08-25 14:16:31,905 - DEBUG - VN ctest-vn-14417558 UUID is 03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:32,244 - DEBUG - Response for create_network : {'network': {'id': 'ef6b17b3-a5c8-490b-99ea-bc986f12de80', 'name': 'ctest-vn-08539422', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'project_id': '132abaf198574e8b9136d1337175eab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-vn-08539422'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:16:32,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'def2e939-0601-45f8-97ad-da599e7c31b9', 'name': '', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'network_id': 'ef6b17b3-a5c8-490b-99ea-bc986f12de80', 'ip_version': 4, 'cidr': '215.36.72.128/26', 'allocation_pools': [{'start': '215.36.72.130', 'end': '215.36.72.190'}], 'gateway_ip': '215.36.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.36.72.130', 'tags': [], 'project_id': '132abaf198574e8b9136d1337175eab9'}} 2025-08-25 14:16:32,479 - INFO - Created VN ctest-vn-08539422 2025-08-25 14:16:32,529 - DEBUG - VN ctest-vn-08539422 UUID is ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:32,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558, 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-52503936:ctest-vn-08539422, 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-08-25 14:16:32,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03e5dea9-2267-421e-b131-a3d06cafd15f', 'name': 'ctest-vn-14417558', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'project_id': '132abaf198574e8b9136d1337175eab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48637457-98ca-4f3e-af5e-be69bbcdde73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-vn-14417558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-policy-allow-all-88981884']], 'subnet_ipam': [{'subnet_cidr': '19.1.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:16:33,284 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef6b17b3-a5c8-490b-99ea-bc986f12de80', 'name': 'ctest-vn-08539422', 'tenant_id': '132abaf198574e8b9136d1337175eab9', 'project_id': '132abaf198574e8b9136d1337175eab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['def2e939-0601-45f8-97ad-da599e7c31b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-vn-08539422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-policy-allow-all-88981884']], 'subnet_ipam': [{'subnet_cidr': '215.36.72.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:16:33,433 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:33,741 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:33,768 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:33,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:33,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:33,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:33,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:33,880 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:33,886 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6fc7042e-9749-4fbe-836b-41f84f552ad7 2025-08-25 14:16:33,892 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 14:16:33,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:33,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:33,914 - INFO - Verified VN network id 12 for VN 03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:33,914 - INFO - Verifications in API Server for VN ctest-vn-14417558 passed 2025-08-25 14:16:33,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:33,924 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:33,930 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:33,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6fc7042e-9749-4fbe-836b-41f84f552ad7 2025-08-25 14:16:33,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52503936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '280875369788555806', 'uuid-lslong': '12768166534144053599'}, 'enable': 'true', 'created': '2025-08-25T14:16:31', 'last-modified': '2025-08-25T14:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999606'} 2025-08-25 14:16:33,955 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 14:16:33,955 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14417558 passed 2025-08-25 14:16:33,956 - DEBUG - ====Verifying policy data for ctest-vn-14417558 in API_Server ====== 2025-08-25 14:16:33,956 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:33,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:33,971 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:34,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03e5dea9-2267-421e-b131-a3d06cafd15f 2025-08-25 14:16:34,056 - DEBUG - ==>Verifying data for policy with id: 98851c6d-3fac-424f-b6bd-5fabb41d73de, fqn: ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-policy-allow-all-88981884'] 2025-08-25 14:16:34,057 - INFO - VN ctest-vn-14417558 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 14:16:34,057 - DEBUG - Verifying the vn in opserver 2025-08-25 14:16:34,057 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558 virtual network link through opserver 10.0.0.38 2025-08-25 14:16:34,057 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 14:16:34,349 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 14:16:34,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558?flat'} 2025-08-25 14:16:34,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558 is found in opserver 2025-08-25 14:16:34,420 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 14:16:34,427 - DEBUG - VRF ids for VN ctest-vn-14417558: {} 2025-08-25 14:16:34,427 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:34,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:34,448 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:34,523 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:34,550 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:34,557 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db6a4c85-089e-4c49-a87d-feccce0a85a5 2025-08-25 14:16:34,564 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 14:16:34,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,574 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:34,590 - INFO - Verified VN network id 13 for VN ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,590 - INFO - Verifications in API Server for VN ctest-vn-08539422 passed 2025-08-25 14:16:34,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,602 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:34,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:34,620 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db6a4c85-089e-4c49-a87d-feccce0a85a5 2025-08-25 14:16:34,633 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-08539422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52503936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17251908857920768267', 'uuid-lslong': '11090884395237826176'}, 'enable': 'true', 'created': '2025-08-25T14:16:32', 'last-modified': '2025-08-25T14:16:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433536'} 2025-08-25 14:16:34,640 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 14:16:34,640 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08539422 passed 2025-08-25 14:16:34,640 - DEBUG - ====Verifying policy data for ctest-vn-08539422 in API_Server ====== 2025-08-25 14:16:34,640 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:34,646 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:34,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:34,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef6b17b3-a5c8-490b-99ea-bc986f12de80 2025-08-25 14:16:34,751 - DEBUG - ==>Verifying data for policy with id: 98851c6d-3fac-424f-b6bd-5fabb41d73de, fqn: ['default-domain', 'ctest-TestBasicPolicy-52503936', 'ctest-policy-allow-all-88981884'] 2025-08-25 14:16:34,751 - INFO - VN ctest-vn-08539422 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 14:16:34,751 - DEBUG - Verifying the vn in opserver 2025-08-25 14:16:34,751 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-08539422 virtual network link through opserver 10.0.0.38 2025-08-25 14:16:34,751 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 14:16:34,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-08539422', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-08539422?flat'} 2025-08-25 14:16:34,760 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-08539422 is found in opserver 2025-08-25 14:16:34,771 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 14:16:34,776 - DEBUG - VRF ids for VN ctest-vn-08539422: {} 2025-08-25 14:16:34,827 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:16:35,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:16:37,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:16:37,006 - INFO - Waiting for VM ctest-TestBasicPolicy-52503936-10280527 to be up.. 2025-08-25 14:16:37,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:16:42,187 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:16:42,187 - INFO - VM name : ctest-TestBasicPolicy-52503936-10280527 2025-08-25 14:16:42,285 - DEBUG - VM ctest-TestBasicPolicy-52503936-10280527 ID is dc16c429-47ec-472e-b964-609ee3a3ea2b 2025-08-25 14:16:42,303 - DEBUG - VM ctest-TestBasicPolicy-52503936-10280527 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:16:42,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dc16c429-47ec-472e-b964-609ee3a3ea2b 2025-08-25 14:16:42,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bd793493-076d-43f4-af0e-87a9f635bc30 2025-08-25 14:16:45,648 - 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 1032ms') 2025-08-25 14:16:45,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52503936-10280527 failed! 2025-08-25 14:16:45,721 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52503936:ctest-vn-14417558 is 19.1.226.193 and allocation pool is NOT set 2025-08-25 14:16:47,781 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.381/1.589/2.797/1.208 ms') 2025-08-25 14:16:47,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52503936-10280527 passed 2025-08-25 14:16:47,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:16:47,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52503936-10280527, IP 19.1.226.195, Port 22 2025-08-25 14:16:48,107 - DEBUG - VM ctest-TestBasicPolicy-52503936-10280527 is ready for SSH connections 2025-08-25 14:16:48,107 - INFO - Waiting for VM ctest-TestBasicPolicy-52503936-24956195 to be up.. 2025-08-25 14:16:48,183 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:16:48,183 - INFO - VM name : ctest-TestBasicPolicy-52503936-24956195 2025-08-25 14:16:48,258 - DEBUG - VM ctest-TestBasicPolicy-52503936-24956195 ID is 3ae6c0b8-69b8-457d-88f1-90baf5f906f5 2025-08-25 14:16:48,258 - DEBUG - VM ctest-TestBasicPolicy-52503936-24956195 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:16:48,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3ae6c0b8-69b8-457d-88f1-90baf5f906f5 2025-08-25 14:16:48,334 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/01ac324a-8a77-418e-8f1a-259f5f2182c8 2025-08-25 14:16:49,577 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.574/2.741/1.166 ms') 2025-08-25 14:16:49,577 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52503936-24956195 passed 2025-08-25 14:16:49,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:16:49,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52503936-24956195, IP 215.36.72.131, Port 22 2025-08-25 14:16:49,876 - DEBUG - VM ctest-TestBasicPolicy-52503936-24956195 is ready for SSH connections 2025-08-25 14:16:49,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:16:49,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.36.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:16:49,877 - DEBUG - ping -s 56 -c 3 -W 1 215.36.72.131 2025-08-25 14:16:53,536 - DEBUG - PING 215.36.72.131 (215.36.72.131): 56 data bytes 64 bytes from 215.36.72.131: seq=0 ttl=63 time=3.211 ms 64 bytes from 215.36.72.131: seq=1 ttl=63 time=0.760 ms 64 bytes from 215.36.72.131: seq=2 ttl=63 time=0.818 ms --- 215.36.72.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.596/3.211 ms 2025-08-25 14:16:53,536 - INFO - Ping to IP 215.36.72.131 from VM ctest-TestBasicPolicy-52503936-10280527 passed 2025-08-25 14:16:53,745 - DEBUG - Policy Update Response {"network-policy": {"uuid": "98851c6d-3fac-424f-b6bd-5fabb41d73de", "href": "http://10.0.0.38:8082/network-policy/98851c6d-3fac-424f-b6bd-5fabb41d73de"}} 2025-08-25 14:16:53,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:16:53,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.36.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:16:53,745 - DEBUG - ping -s 56 -c 3 -W 1 215.36.72.131 2025-08-25 14:16:57,009 - DEBUG - PING 215.36.72.131 (215.36.72.131): 56 data bytes --- 215.36.72.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 14:16:57,009 - WARNING - Ping to IP 215.36.72.131 from VM ctest-TestBasicPolicy-52503936-10280527 failed 2025-08-25 14:16:57,009 - INFO - Deleting VM ctest-TestBasicPolicy-52503936-24956195 2025-08-25 14:16:57,070 - INFO - Deleting VM ctest-TestBasicPolicy-52503936-10280527 2025-08-25 14:16:57,445 - INFO - Deleted policy ctest-policy-allow-all-88981884 2025-08-25 14:16:57,445 - INFO - Deleting VN ctest-vn-08539422 2025-08-25 14:16:57,477 - DEBUG - VN ef6b17b3-a5c8-490b-99ea-bc986f12de80 still in use: Unable to complete operation on network ef6b17b3-a5c8-490b-99ea-bc986f12de80. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67c2e1a8-52f5-4b05-99d4-76865877c18f'] 2025-08-25 14:16:57,477 - WARNING - Deleting VN ctest-vn-08539422 failed..Will retry 2025-08-25 14:16:59,580 - DEBUG - Response for deleting network () 2025-08-25 14:16:59,581 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5967e37-fc82-4743-9c95-429a826f6447 2025-08-25 14:16:59,586 - DEBUG - Response Code: 404 2025-08-25 14:16:59,586 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:59,591 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:59,647 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:59,718 - INFO - Validated that VN ctest-vn-08539422 is not found in API Server 2025-08-25 14:16:59,729 - DEBUG - VN ctest-vn-08539422 is not present in Agent 10.0.0.38 2025-08-25 14:16:59,729 - INFO - Validated that VN ctest-vn-08539422 is not in any agent 2025-08-25 14:16:59,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08539422 info 2025-08-25 14:16:59,744 - INFO - Deleting VN ctest-vn-14417558 2025-08-25 14:16:59,840 - DEBUG - Response for deleting network () 2025-08-25 14:16:59,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31fbcbdb-b3f4-4102-9f09-882cbfaa2c36 2025-08-25 14:16:59,850 - DEBUG - Response Code: 404 2025-08-25 14:16:59,851 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 14:16:59,856 - DEBUG - Requesting: http://10.0.0.38:8082/domain/838f4595-933f-4db7-a90d-cb2979b9e6b9 2025-08-25 14:16:59,915 - DEBUG - Requesting: http://10.0.0.38:8082/project/132abaf1-9857-4e8b-9136-d1337175eab9 2025-08-25 14:16:59,992 - INFO - Validated that VN ctest-vn-14417558 is not found in API Server 2025-08-25 14:17:00,004 - DEBUG - VN ctest-vn-14417558 is not present in Agent 10.0.0.38 2025-08-25 14:17:00,004 - INFO - Validated that VN ctest-vn-14417558 is not in any agent 2025-08-25 14:17:00,021 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14417558 info 2025-08-25 14:17:00,283 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 14:17:00,283 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-25 14:17:00,283 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:17:00,956 - INFO - Deleted project: ctest-TestBasicPolicy-52503936, ID : 132abaf1-9857-4e8b-9136-d1337175eab9