2025-11-12 05:36:32,390 - INFO - Domain Default found not creating 2025-11-12 05:36:32,523 - INFO - Project ctest-TestBasicPolicy-87940158 not found, creating it 2025-11-12 05:36:32,940 - INFO - Created Project:ctest-TestBasicPolicy-87940158, ID : d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:36:34,306 - INFO - ================================================================================ 2025-11-12 05:36:34,306 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 05:36:34,306 - 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-11-12 05:36:34,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-12 05:36:34,560 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:36:34,560 - INFO - 2025-11-12 05:36:35,085 - DEBUG - Response for create_network : {'network': {'id': 'ba823977-c7e2-421d-bc0d-a068da925333', 'name': 'ctest-vn-54499451', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-vn-54499451'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:36:35,253 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e05c8175-cd7b-412b-8c95-ee40aa6ed592', 'name': '', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'network_id': 'ba823977-c7e2-421d-bc0d-a068da925333', 'ip_version': 4, 'cidr': '32.19.178.192/26', 'allocation_pools': [{'start': '32.19.178.194', 'end': '32.19.178.254'}], 'gateway_ip': '32.19.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.19.178.194', 'tags': [], 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d'}} 2025-11-12 05:36:35,273 - INFO - Created VN ctest-vn-54499451 2025-11-12 05:36:35,323 - DEBUG - VN ctest-vn-54499451 UUID is ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:35,611 - DEBUG - Response for create_network : {'network': {'id': '5163c9f5-7f61-4b99-8efa-71b54600872a', 'name': 'ctest-vn-06173404', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-vn-06173404'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:36:35,779 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e102cb96-4d28-4cf5-bc2b-c96acd22a710', 'name': '', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'network_id': '5163c9f5-7f61-4b99-8efa-71b54600872a', 'ip_version': 4, 'cidr': '85.124.231.192/26', 'allocation_pools': [{'start': '85.124.231.194', 'end': '85.124.231.254'}], 'gateway_ip': '85.124.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.124.231.194', 'tags': [], 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d'}} 2025-11-12 05:36:35,796 - INFO - Created VN ctest-vn-06173404 2025-11-12 05:36:35,855 - DEBUG - VN ctest-vn-06173404 UUID is 5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:35,999 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451, 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-87940158:ctest-vn-06173404, 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-11-12 05:36:36,287 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba823977-c7e2-421d-bc0d-a068da925333', 'name': 'ctest-vn-54499451', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e05c8175-cd7b-412b-8c95-ee40aa6ed592'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-vn-54499451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-policy-allow-all-08261792']], 'subnet_ipam': [{'subnet_cidr': '32.19.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:36:36,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5163c9f5-7f61-4b99-8efa-71b54600872a', 'name': 'ctest-vn-06173404', 'tenant_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'project_id': 'd3b289f2e1664222a8a5b1c95c03bd1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e102cb96-4d28-4cf5-bc2b-c96acd22a710'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-vn-06173404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-policy-allow-all-08261792']], 'subnet_ipam': [{'subnet_cidr': '85.124.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:36:36,691 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:36:36,991 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:36:37,021 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:36:37,032 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:36:37,105 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,128 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:36:37,136 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:36:37,145 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d94b248e-c2eb-4cd8-94e2-9b3b7ac49bba 2025-11-12 05:36:37,152 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 05:36:37,152 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,164 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:36:37,178 - INFO - Verified VN network id 12 for VN ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,178 - INFO - Verifications in API Server for VN ctest-vn-54499451 passed 2025-11-12 05:36:37,178 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,185 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:36:37,191 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:36:37,197 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d94b248e-c2eb-4cd8-94e2-9b3b7ac49bba 2025-11-12 05:36:37,208 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87940158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13439367424644366877', 'uuid-lslong': '13550663226031756083'}, 'enable': 'true', 'created': '2025-11-12T05:36:35', 'last-modified': '2025-11-12T05:36:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943212'} 2025-11-12 05:36:37,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 05:36:37,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54499451 passed 2025-11-12 05:36:37,214 - DEBUG - ====Verifying policy data for ctest-vn-54499451 in API_Server ====== 2025-11-12 05:36:37,214 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:36:37,219 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:36:37,228 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:36:37,299 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ba823977-c7e2-421d-bc0d-a068da925333 2025-11-12 05:36:37,308 - DEBUG - ==>Verifying data for policy with id: a2c35704-1d84-4418-ac8c-10aa0f3e3a1d, fqn: ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-policy-allow-all-08261792'] 2025-11-12 05:36:37,308 - INFO - VN ctest-vn-54499451 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 05:36:37,308 - DEBUG - Verifying the vn in opserver 2025-11-12 05:36:37,308 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451 virtual network link through opserver 10.0.0.22 2025-11-12 05:36:37,309 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 05:36:37,598 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 05:36:37,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451?flat'} 2025-11-12 05:36:37,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451 is found in opserver 2025-11-12 05:36:37,660 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 05:36:37,664 - DEBUG - VRF ids for VN ctest-vn-54499451: {} 2025-11-12 05:36:37,664 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:36:37,668 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:36:37,678 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:36:37,746 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,755 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,763 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:36:37,768 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:36:37,772 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d796453b-78e7-461a-ab04-e3588591f5d8 2025-11-12 05:36:37,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 05:36:37,777 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,783 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:36:37,795 - INFO - Verified VN network id 13 for VN 5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,795 - INFO - Verifications in API Server for VN ctest-vn-06173404 passed 2025-11-12 05:36:37,795 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,803 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:36:37,808 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:36:37,814 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d796453b-78e7-461a-ab04-e3588591f5d8 2025-11-12 05:36:37,823 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-06173404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87940158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5864753196007771033', 'uuid-lslong': '10302672120940889898'}, 'enable': 'true', 'created': '2025-11-12T05:36:35', 'last-modified': '2025-11-12T05:36:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341627'} 2025-11-12 05:36:37,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 05:36:37,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06173404 passed 2025-11-12 05:36:37,829 - DEBUG - ====Verifying policy data for ctest-vn-06173404 in API_Server ====== 2025-11-12 05:36:37,829 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:36:37,834 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:36:37,843 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:36:37,911 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5163c9f5-7f61-4b99-8efa-71b54600872a 2025-11-12 05:36:37,919 - DEBUG - ==>Verifying data for policy with id: a2c35704-1d84-4418-ac8c-10aa0f3e3a1d, fqn: ['default-domain', 'ctest-TestBasicPolicy-87940158', 'ctest-policy-allow-all-08261792'] 2025-11-12 05:36:37,919 - INFO - VN ctest-vn-06173404 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 05:36:37,919 - DEBUG - Verifying the vn in opserver 2025-11-12 05:36:37,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-06173404 virtual network link through opserver 10.0.0.22 2025-11-12 05:36:37,919 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 05:36:37,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-06173404', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-06173404?flat'} 2025-11-12 05:36:37,928 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-06173404 is found in opserver 2025-11-12 05:36:37,936 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 05:36:37,940 - DEBUG - VRF ids for VN ctest-vn-06173404: {} 2025-11-12 05:36:37,994 - DEBUG - Services list from nova: [, , ] 2025-11-12 05:36:38,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1) 2025-11-12 05:36:40,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1) 2025-11-12 05:36:40,001 - INFO - Waiting for VM ctest-TestBasicPolicy-87940158-34700441 to be up.. 2025-11-12 05:36:40,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 05:36:45,167 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:36:45,167 - INFO - VM name : ctest-TestBasicPolicy-87940158-34700441 2025-11-12 05:36:45,315 - DEBUG - VM ctest-TestBasicPolicy-87940158-34700441 ID is 24b72ce9-ace4-4b5d-a786-4722c48b1f3b 2025-11-12 05:36:45,343 - DEBUG - VM ctest-TestBasicPolicy-87940158-34700441 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1 2025-11-12 05:36:45,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/24b72ce9-ace4-4b5d-a786-4722c48b1f3b 2025-11-12 05:36:45,499 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/77f4bc7a-a954-48ec-bc78-cafc62cb34d0 2025-11-12 05:36:48,816 - 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 1012ms') 2025-11-12 05:36:48,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87940158-34700441 failed! 2025-11-12 05:36:48,871 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87940158:ctest-vn-54499451 is 32.19.178.193 and allocation pool is NOT set 2025-11-12 05:36:50,930 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.312 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.312/1.524/2.737/1.212 ms') 2025-11-12 05:36:50,930 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87940158-34700441 passed 2025-11-12 05:36:51,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:36:51,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87940158-34700441, IP 32.19.178.195, Port 22 2025-11-12 05:36:51,239 - DEBUG - VM ctest-TestBasicPolicy-87940158-34700441 is ready for SSH connections 2025-11-12 05:36:51,239 - INFO - Waiting for VM ctest-TestBasicPolicy-87940158-48118753 to be up.. 2025-11-12 05:36:51,305 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:36:51,305 - INFO - VM name : ctest-TestBasicPolicy-87940158-48118753 2025-11-12 05:36:51,368 - DEBUG - VM ctest-TestBasicPolicy-87940158-48118753 ID is 5ef5c7af-3d0f-4f42-bb89-acf0a7466797 2025-11-12 05:36:51,369 - DEBUG - VM ctest-TestBasicPolicy-87940158-48118753 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1 2025-11-12 05:36:51,434 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5ef5c7af-3d0f-4f42-bb89-acf0a7466797 2025-11-12 05:36:51,441 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/150a465d-8895-40af-bfe2-88065f49588b 2025-11-12 05:36:52,678 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.553/2.671/1.117 ms') 2025-11-12 05:36:52,678 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87940158-48118753 passed 2025-11-12 05:36:52,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:36:52,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87940158-48118753, IP 85.124.231.195, Port 22 2025-11-12 05:36:52,994 - DEBUG - VM ctest-TestBasicPolicy-87940158-48118753 is ready for SSH connections 2025-11-12 05:36:52,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:36:52,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.124.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 05:36:52,995 - DEBUG - ping -s 56 -c 3 -W 1 85.124.231.195 2025-11-12 05:36:56,684 - DEBUG - PING 85.124.231.195 (85.124.231.195): 56 data bytes 64 bytes from 85.124.231.195: seq=0 ttl=63 time=3.219 ms 64 bytes from 85.124.231.195: seq=1 ttl=63 time=0.913 ms 64 bytes from 85.124.231.195: seq=2 ttl=63 time=0.725 ms --- 85.124.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.619/3.219 ms 2025-11-12 05:36:56,684 - INFO - Ping to IP 85.124.231.195 from VM ctest-TestBasicPolicy-87940158-34700441 passed 2025-11-12 05:36:56,855 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2c35704-1d84-4418-ac8c-10aa0f3e3a1d", "href": "http://10.0.0.22:8082/network-policy/a2c35704-1d84-4418-ac8c-10aa0f3e3a1d"}} 2025-11-12 05:36:56,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:36:56,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.124.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 05:36:56,855 - DEBUG - ping -s 56 -c 3 -W 1 85.124.231.195 2025-11-12 05:37:00,062 - DEBUG - PING 85.124.231.195 (85.124.231.195): 56 data bytes --- 85.124.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 05:37:00,062 - WARNING - Ping to IP 85.124.231.195 from VM ctest-TestBasicPolicy-87940158-34700441 failed 2025-11-12 05:37:00,062 - INFO - Deleting VM ctest-TestBasicPolicy-87940158-48118753 2025-11-12 05:37:00,129 - INFO - Deleting VM ctest-TestBasicPolicy-87940158-34700441 2025-11-12 05:37:00,484 - INFO - Deleted policy ctest-policy-allow-all-08261792 2025-11-12 05:37:00,485 - INFO - Deleting VN ctest-vn-06173404 2025-11-12 05:37:00,520 - DEBUG - VN 5163c9f5-7f61-4b99-8efa-71b54600872a still in use: Unable to complete operation on network 5163c9f5-7f61-4b99-8efa-71b54600872a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4c9918c-89d7-4b1d-ac02-7b4be11032ed'] 2025-11-12 05:37:00,520 - WARNING - Deleting VN ctest-vn-06173404 failed..Will retry 2025-11-12 05:37:02,607 - DEBUG - Response for deleting network () 2025-11-12 05:37:02,607 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cf86d3bf-a174-45ac-baa9-48909d0d889a 2025-11-12 05:37:02,614 - DEBUG - Response Code: 404 2025-11-12 05:37:02,614 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:37:02,619 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:37:02,672 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:37:02,739 - INFO - Validated that VN ctest-vn-06173404 is not found in API Server 2025-11-12 05:37:02,747 - DEBUG - VN ctest-vn-06173404 is not present in Agent 10.0.0.22 2025-11-12 05:37:02,747 - INFO - Validated that VN ctest-vn-06173404 is not in any agent 2025-11-12 05:37:02,763 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06173404 info 2025-11-12 05:37:02,763 - INFO - Deleting VN ctest-vn-54499451 2025-11-12 05:37:02,853 - DEBUG - Response for deleting network () 2025-11-12 05:37:02,854 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/198b9ecc-2ffd-4078-bd4e-d78436692c8b 2025-11-12 05:37:02,858 - DEBUG - Response Code: 404 2025-11-12 05:37:02,858 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 05:37:02,865 - DEBUG - Requesting: http://10.0.0.22:8082/domain/104012f9-749f-4233-94a0-8a492408f805 2025-11-12 05:37:02,915 - DEBUG - Requesting: http://10.0.0.22:8082/project/d3b289f2-e166-4222-a8a5-b1c95c03bd1d 2025-11-12 05:37:02,984 - INFO - Validated that VN ctest-vn-54499451 is not found in API Server 2025-11-12 05:37:02,994 - DEBUG - VN ctest-vn-54499451 is not present in Agent 10.0.0.22 2025-11-12 05:37:02,994 - INFO - Validated that VN ctest-vn-54499451 is not in any agent 2025-11-12 05:37:03,007 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54499451 info 2025-11-12 05:37:03,259 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 05:37:03,259 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-12 05:37:03,259 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:37:03,911 - INFO - Deleted project: ctest-TestBasicPolicy-87940158, ID : d3b289f2-e166-4222-a8a5-b1c95c03bd1d