2026-02-24 15:40:47,206 - INFO - Domain Default found not creating 2026-02-24 15:40:47,405 - INFO - Project ctest-TestBasicPolicy-30270723 not found, creating it 2026-02-24 15:40:47,893 - INFO - Created Project:ctest-TestBasicPolicy-30270723, ID : 3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:40:49,431 - INFO - ================================================================================ 2026-02-24 15:40:49,432 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-24 15:40:49,432 - 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 2026-02-24 15:40:49,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-24 15:40:49,690 - INFO - Initial checks done. Running the testcase now 2026-02-24 15:40:49,690 - INFO - 2026-02-24 15:40:50,567 - DEBUG - Response for create_network : {'network': {'id': 'ff2c83c8-93c5-4892-bb87-1e5a2c651630', 'name': 'ctest-vn-68032117', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'project_id': '3356f8334fd740b093a819e451cb4279', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-vn-68032117'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:50,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c1144e6-2523-4271-9ccc-edac34e11684', 'name': '', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'network_id': 'ff2c83c8-93c5-4892-bb87-1e5a2c651630', 'ip_version': 4, 'cidr': '190.126.236.0/26', 'allocation_pools': [{'start': '190.126.236.2', 'end': '190.126.236.62'}], 'gateway_ip': '190.126.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.126.236.2', 'tags': [], 'project_id': '3356f8334fd740b093a819e451cb4279'}} 2026-02-24 15:40:50,809 - INFO - Created VN ctest-vn-68032117 2026-02-24 15:40:50,868 - DEBUG - VN ctest-vn-68032117 UUID is ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:51,196 - DEBUG - Response for create_network : {'network': {'id': '0ddf4530-653c-462f-8ad8-fa8b70ba6f7e', 'name': 'ctest-vn-46663468', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'project_id': '3356f8334fd740b093a819e451cb4279', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-vn-46663468'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:51,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe270f53-210f-4613-a0d8-f64494a68abe', 'name': '', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'network_id': '0ddf4530-653c-462f-8ad8-fa8b70ba6f7e', 'ip_version': 4, 'cidr': '189.49.20.0/26', 'allocation_pools': [{'start': '189.49.20.2', 'end': '189.49.20.62'}], 'gateway_ip': '189.49.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.49.20.2', 'tags': [], 'project_id': '3356f8334fd740b093a819e451cb4279'}} 2026-02-24 15:40:51,380 - INFO - Created VN ctest-vn-46663468 2026-02-24 15:40:51,436 - DEBUG - VN ctest-vn-46663468 UUID is 0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:51,557 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117, 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-30270723:ctest-vn-46663468, 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] 2026-02-24 15:40:51,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff2c83c8-93c5-4892-bb87-1e5a2c651630', 'name': 'ctest-vn-68032117', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'project_id': '3356f8334fd740b093a819e451cb4279', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c1144e6-2523-4271-9ccc-edac34e11684'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-vn-68032117'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-policy-allow-all-92515954']], 'subnet_ipam': [{'subnet_cidr': '190.126.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:52,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ddf4530-653c-462f-8ad8-fa8b70ba6f7e', 'name': 'ctest-vn-46663468', 'tenant_id': '3356f8334fd740b093a819e451cb4279', 'project_id': '3356f8334fd740b093a819e451cb4279', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe270f53-210f-4613-a0d8-f64494a68abe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-vn-46663468'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-policy-allow-all-92515954']], 'subnet_ipam': [{'subnet_cidr': '189.49.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:52,288 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:40:52,592 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:40:52,626 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:40:52,639 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:40:52,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:40:52,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:40:52,755 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3a7c737-9afe-49ba-8046-fc52096effe6 2026-02-24 15:40:52,761 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 15:40:52,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:40:52,791 - INFO - Verified VN network id 11 for VN ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,792 - INFO - Verifications in API Server for VN ctest-vn-68032117 passed 2026-02-24 15:40:52,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:40:52,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:40:52,819 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3a7c737-9afe-49ba-8046-fc52096effe6 2026-02-24 15:40:52,831 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30270723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18387216276142770322', 'uuid-lslong': '13512802579589174832'}, 'enable': 'true', 'created': '2026-02-24T15:40:50', 'last-modified': '2026-02-24T15:40:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987599'} 2026-02-24 15:40:52,839 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 15:40:52,839 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68032117 passed 2026-02-24 15:40:52,839 - DEBUG - ====Verifying policy data for ctest-vn-68032117 in API_Server ====== 2026-02-24 15:40:52,839 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:40:52,846 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:40:52,858 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:40:52,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2c83c8-93c5-4892-bb87-1e5a2c651630 2026-02-24 15:40:52,943 - DEBUG - ==>Verifying data for policy with id: 256dde5e-a78a-4563-8220-9ce97e1e460e, fqn: ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-policy-allow-all-92515954'] 2026-02-24 15:40:52,943 - INFO - VN ctest-vn-68032117 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 15:40:52,943 - DEBUG - Verifying the vn in opserver 2026-02-24 15:40:52,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117 virtual network link through opserver 10.0.0.38 2026-02-24 15:40:52,944 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 15:40:53,245 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 15:40:53,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117?flat'} 2026-02-24 15:40:53,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117 is found in opserver 2026-02-24 15:40:53,323 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 15:40:53,328 - DEBUG - VRF ids for VN ctest-vn-68032117: {} 2026-02-24 15:40:53,328 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:40:53,333 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:40:53,345 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:40:53,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:40:53,447 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:40:53,455 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3edb531b-3e0e-40ae-a630-010e2081e30b 2026-02-24 15:40:53,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 15:40:53,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:40:53,488 - INFO - Verified VN network id 12 for VN 0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,488 - INFO - Verifications in API Server for VN ctest-vn-46663468 passed 2026-02-24 15:40:53,488 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:40:53,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:40:53,513 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3edb531b-3e0e-40ae-a630-010e2081e30b 2026-02-24 15:40:53,524 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-46663468', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30270723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '999593716458735151', 'uuid-lslong': '10005022049002221438'}, 'enable': 'true', 'created': '2026-02-24T15:40:51', 'last-modified': '2026-02-24T15:40:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432606'} 2026-02-24 15:40:53,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 15:40:53,530 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46663468 passed 2026-02-24 15:40:53,530 - DEBUG - ====Verifying policy data for ctest-vn-46663468 in API_Server ====== 2026-02-24 15:40:53,530 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:40:53,536 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:40:53,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:40:53,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ddf4530-653c-462f-8ad8-fa8b70ba6f7e 2026-02-24 15:40:53,630 - DEBUG - ==>Verifying data for policy with id: 256dde5e-a78a-4563-8220-9ce97e1e460e, fqn: ['default-domain', 'ctest-TestBasicPolicy-30270723', 'ctest-policy-allow-all-92515954'] 2026-02-24 15:40:53,630 - INFO - VN ctest-vn-46663468 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 15:40:53,630 - DEBUG - Verifying the vn in opserver 2026-02-24 15:40:53,630 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-46663468 virtual network link through opserver 10.0.0.38 2026-02-24 15:40:53,630 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 15:40:53,640 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-46663468', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-46663468?flat'} 2026-02-24 15:40:53,640 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-46663468 is found in opserver 2026-02-24 15:40:53,658 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 15:40:53,663 - DEBUG - VRF ids for VN ctest-vn-46663468: {} 2026-02-24 15:40:53,726 - DEBUG - Services list from nova: [, , ] 2026-02-24 15:40:54,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5393-1) 2026-02-24 15:40:56,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5393-1) 2026-02-24 15:40:56,119 - INFO - Waiting for VM ctest-TestBasicPolicy-30270723-20632559 to be up.. 2026-02-24 15:40:56,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 15:41:01,329 - DEBUG - VM is in ACTIVE state now 2026-02-24 15:41:01,329 - INFO - VM name : ctest-TestBasicPolicy-30270723-20632559 2026-02-24 15:41:01,428 - DEBUG - VM ctest-TestBasicPolicy-30270723-20632559 ID is 2b5760b0-4c34-4c84-bfb7-be6acdafe468 2026-02-24 15:41:01,459 - DEBUG - VM ctest-TestBasicPolicy-30270723-20632559 launched on Node cn-jenkins-deploy-platform-ansible-os-5393-1 2026-02-24 15:41:01,548 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b5760b0-4c34-4c84-bfb7-be6acdafe468 2026-02-24 15:41:01,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/013352e5-dabb-492f-add4-80eb2112ec66 2026-02-24 15:41:04,820 - 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 1007ms') 2026-02-24 15:41:04,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30270723-20632559 failed! 2026-02-24 15:41:04,876 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30270723:ctest-vn-68032117 is 190.126.236.1 and allocation pool is NOT set 2026-02-24 15:41:06,944 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 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 = 1.612/5.908/10.205/4.296 ms') 2026-02-24 15:41:06,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30270723-20632559 passed 2026-02-24 15:41:07,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:41:07,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30270723-20632559, IP 190.126.236.3, Port 22 2026-02-24 15:41:07,257 - DEBUG - VM ctest-TestBasicPolicy-30270723-20632559 is ready for SSH connections 2026-02-24 15:41:07,257 - INFO - Waiting for VM ctest-TestBasicPolicy-30270723-65944453 to be up.. 2026-02-24 15:41:07,353 - DEBUG - VM is in ACTIVE state now 2026-02-24 15:41:07,353 - INFO - VM name : ctest-TestBasicPolicy-30270723-65944453 2026-02-24 15:41:07,434 - DEBUG - VM ctest-TestBasicPolicy-30270723-65944453 ID is b8877787-1b42-4e69-b2d4-8e55625dff6b 2026-02-24 15:41:07,434 - DEBUG - VM ctest-TestBasicPolicy-30270723-65944453 launched on Node cn-jenkins-deploy-platform-ansible-os-5393-1 2026-02-24 15:41:07,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8877787-1b42-4e69-b2d4-8e55625dff6b 2026-02-24 15:41:07,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c865615-eb44-4841-9368-e94d5107de98 2026-02-24 15:41:08,756 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.713/2.890/1.177 ms') 2026-02-24 15:41:08,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30270723-65944453 passed 2026-02-24 15:41:08,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:41:08,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30270723-65944453, IP 189.49.20.3, Port 22 2026-02-24 15:41:09,082 - DEBUG - VM ctest-TestBasicPolicy-30270723-65944453 is ready for SSH connections 2026-02-24 15:41:09,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:41:09,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.49.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 15:41:09,083 - DEBUG - ping -s 56 -c 3 -W 1 189.49.20.3 2026-02-24 15:41:13,082 - DEBUG - PING 189.49.20.3 (189.49.20.3): 56 data bytes 64 bytes from 189.49.20.3: seq=0 ttl=63 time=3.911 ms 64 bytes from 189.49.20.3: seq=1 ttl=63 time=0.998 ms 64 bytes from 189.49.20.3: seq=2 ttl=63 time=1.111 ms --- 189.49.20.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.006/3.911 ms 2026-02-24 15:41:13,082 - INFO - Ping to IP 189.49.20.3 from VM ctest-TestBasicPolicy-30270723-20632559 passed 2026-02-24 15:41:13,255 - DEBUG - Policy Update Response {"network-policy": {"uuid": "256dde5e-a78a-4563-8220-9ce97e1e460e", "href": "http://10.0.0.38:8082/network-policy/256dde5e-a78a-4563-8220-9ce97e1e460e"}} 2026-02-24 15:41:13,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:41:13,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.49.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 15:41:13,256 - DEBUG - ping -s 56 -c 3 -W 1 189.49.20.3 2026-02-24 15:41:16,477 - DEBUG - PING 189.49.20.3 (189.49.20.3): 56 data bytes --- 189.49.20.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-24 15:41:16,477 - WARNING - Ping to IP 189.49.20.3 from VM ctest-TestBasicPolicy-30270723-20632559 failed 2026-02-24 15:41:16,477 - INFO - Deleting VM ctest-TestBasicPolicy-30270723-65944453 2026-02-24 15:41:16,549 - INFO - Deleting VM ctest-TestBasicPolicy-30270723-20632559 2026-02-24 15:41:16,989 - INFO - Deleted policy ctest-policy-allow-all-92515954 2026-02-24 15:41:16,989 - INFO - Deleting VN ctest-vn-46663468 2026-02-24 15:41:17,029 - DEBUG - VN 0ddf4530-653c-462f-8ad8-fa8b70ba6f7e still in use: Unable to complete operation on network 0ddf4530-653c-462f-8ad8-fa8b70ba6f7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-caed2ef1-e448-45fd-8a1f-0fb9774967de'] 2026-02-24 15:41:17,029 - WARNING - Deleting VN ctest-vn-46663468 failed..Will retry 2026-02-24 15:41:19,132 - DEBUG - Response for deleting network () 2026-02-24 15:41:19,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10b0d16c-5fe2-43aa-a3aa-25f2047f79ab 2026-02-24 15:41:19,137 - DEBUG - Response Code: 404 2026-02-24 15:41:19,139 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:41:19,145 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:41:19,197 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:41:19,270 - INFO - Validated that VN ctest-vn-46663468 is not found in API Server 2026-02-24 15:41:19,282 - DEBUG - VN ctest-vn-46663468 is not present in Agent 10.0.0.38 2026-02-24 15:41:19,282 - INFO - Validated that VN ctest-vn-46663468 is not in any agent 2026-02-24 15:41:19,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46663468 info 2026-02-24 15:41:19,296 - INFO - Deleting VN ctest-vn-68032117 2026-02-24 15:41:19,407 - DEBUG - Response for deleting network () 2026-02-24 15:41:19,407 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e80622c9-c5fe-483c-a369-b906423f2f00 2026-02-24 15:41:19,412 - DEBUG - Response Code: 404 2026-02-24 15:41:19,413 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 15:41:19,418 - DEBUG - Requesting: http://10.0.0.38:8082/domain/199b6b8f-63b3-4724-98ce-439ce0ccb072 2026-02-24 15:41:19,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/3356f833-4fd7-40b0-93a8-19e451cb4279 2026-02-24 15:41:19,545 - INFO - Validated that VN ctest-vn-68032117 is not found in API Server 2026-02-24 15:41:19,553 - DEBUG - VN ctest-vn-68032117 is not present in Agent 10.0.0.38 2026-02-24 15:41:19,554 - INFO - Validated that VN ctest-vn-68032117 is not in any agent 2026-02-24 15:41:19,566 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68032117 info 2026-02-24 15:41:19,821 - DEBUG - No XMPP flaps were noticed during the test
2026-02-24 15:41:19,821 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-24 15:41:19,821 - INFO - -------------------------------------------------------------------------------- 2026-02-24 15:41:20,517 - INFO - Deleted project: ctest-TestBasicPolicy-30270723, ID : 3356f833-4fd7-40b0-93a8-19e451cb4279