2026-06-19 23:04:56,171 - INFO - Domain Default found not creating 2026-06-19 23:04:56,314 - INFO - Project ctest-TestBasicPolicy-94989139 not found, creating it 2026-06-19 23:04:56,765 - INFO - Created Project:ctest-TestBasicPolicy-94989139, ID : 1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:04:58,334 - INFO - ================================================================================ 2026-06-19 23:04:58,334 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 23:04:58,334 - 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-06-19 23:04:58,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-19 23:04:58,589 - INFO - Initial checks done. Running the testcase now 2026-06-19 23:04:58,589 - INFO - 2026-06-19 23:04:59,189 - DEBUG - Response for create_network : {'network': {'id': '2e8781c3-34e1-42ed-932b-4f1090cfc433', 'name': 'ctest-vn-97375114', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'project_id': '1b83cfab744e4b6cb3e353704cebb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-vn-97375114'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:04:59,393 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecd6f367-d43b-49bf-8d0a-b031709fe7cf', 'name': '', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'network_id': '2e8781c3-34e1-42ed-932b-4f1090cfc433', 'ip_version': 4, 'cidr': '60.22.29.64/26', 'allocation_pools': [{'start': '60.22.29.66', 'end': '60.22.29.126'}], 'gateway_ip': '60.22.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.22.29.66', 'tags': [], 'project_id': '1b83cfab744e4b6cb3e353704cebb522'}} 2026-06-19 23:04:59,406 - INFO - Created VN ctest-vn-97375114 2026-06-19 23:04:59,456 - DEBUG - VN ctest-vn-97375114 UUID is 2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:04:59,762 - DEBUG - Response for create_network : {'network': {'id': 'abee5ec0-a928-4bde-9fb7-428444f54ab9', 'name': 'ctest-vn-44558085', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'project_id': '1b83cfab744e4b6cb3e353704cebb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-vn-44558085'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:04:59,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb5e6b3c-49e7-4426-91fc-1060b51dbd76', 'name': '', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'network_id': 'abee5ec0-a928-4bde-9fb7-428444f54ab9', 'ip_version': 4, 'cidr': '11.174.219.192/26', 'allocation_pools': [{'start': '11.174.219.194', 'end': '11.174.219.254'}], 'gateway_ip': '11.174.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.174.219.194', 'tags': [], 'project_id': '1b83cfab744e4b6cb3e353704cebb522'}} 2026-06-19 23:04:59,914 - INFO - Created VN ctest-vn-44558085 2026-06-19 23:04:59,968 - DEBUG - VN ctest-vn-44558085 UUID is abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:00,116 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114, 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-94989139:ctest-vn-44558085, 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-06-19 23:05:00,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e8781c3-34e1-42ed-932b-4f1090cfc433', 'name': 'ctest-vn-97375114', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'project_id': '1b83cfab744e4b6cb3e353704cebb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecd6f367-d43b-49bf-8d0a-b031709fe7cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-vn-97375114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-policy-allow-all-86516214']], 'subnet_ipam': [{'subnet_cidr': '60.22.29.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:05:00,669 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abee5ec0-a928-4bde-9fb7-428444f54ab9', 'name': 'ctest-vn-44558085', 'tenant_id': '1b83cfab744e4b6cb3e353704cebb522', 'project_id': '1b83cfab744e4b6cb3e353704cebb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb5e6b3c-49e7-4426-91fc-1060b51dbd76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-vn-44558085'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-policy-allow-all-86516214']], 'subnet_ipam': [{'subnet_cidr': '11.174.219.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:05:00,816 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:01,229 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:01,258 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:01,273 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:01,343 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,355 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,363 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:01,369 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:01,375 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/270b0aa5-2e96-44f7-95db-e04bc59b7161 2026-06-19 23:05:01,380 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 23:05:01,381 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,389 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:01,403 - INFO - Verified VN network id 11 for VN 2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,403 - INFO - Verifications in API Server for VN ctest-vn-97375114 passed 2026-06-19 23:05:01,403 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,411 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:01,417 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:01,423 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/270b0aa5-2e96-44f7-95db-e04bc59b7161 2026-06-19 23:05:01,433 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94989139', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3352791123006407405', 'uuid-lslong': '10604656680141571123'}, 'enable': 'true', 'created': '2026-06-19T23:04:59', 'last-modified': '2026-06-19T23:05:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055660'} 2026-06-19 23:05:01,439 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 23:05:01,439 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97375114 passed 2026-06-19 23:05:01,439 - DEBUG - ====Verifying policy data for ctest-vn-97375114 in API_Server ====== 2026-06-19 23:05:01,439 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:01,444 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:01,454 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:01,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e8781c3-34e1-42ed-932b-4f1090cfc433 2026-06-19 23:05:01,546 - DEBUG - ==>Verifying data for policy with id: 72a63d40-7e85-4b62-b32c-57483aa36df1, fqn: ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-policy-allow-all-86516214'] 2026-06-19 23:05:01,546 - INFO - VN ctest-vn-97375114 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 23:05:01,546 - DEBUG - Verifying the vn in opserver 2026-06-19 23:05:01,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114 virtual network link through opserver 10.0.0.33 2026-06-19 23:05:01,546 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 23:05:01,912 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 23:05:01,966 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114?flat'} 2026-06-19 23:05:01,966 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114 is found in opserver 2026-06-19 23:05:01,978 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 23:05:01,985 - DEBUG - VRF ids for VN ctest-vn-97375114: {} 2026-06-19 23:05:01,985 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:01,991 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:02,001 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:02,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,092 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,100 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:02,106 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:02,113 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/07f0d2a3-85f5-406b-be1a-3f7331be5769 2026-06-19 23:05:02,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 23:05:02,118 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:02,138 - INFO - Verified VN network id 12 for VN abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,138 - INFO - Verifications in API Server for VN ctest-vn-44558085 passed 2026-06-19 23:05:02,138 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,145 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:02,151 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:02,156 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/07f0d2a3-85f5-406b-be1a-3f7331be5769 2026-06-19 23:05:02,165 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-44558085', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94989139', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12388943806507535326', 'uuid-lslong': '11508740508628634297'}, 'enable': 'true', 'created': '2026-06-19T23:04:59', 'last-modified': '2026-06-19T23:05:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535793'} 2026-06-19 23:05:02,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 23:05:02,170 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44558085 passed 2026-06-19 23:05:02,171 - DEBUG - ====Verifying policy data for ctest-vn-44558085 in API_Server ====== 2026-06-19 23:05:02,171 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:02,175 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:02,185 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:02,262 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abee5ec0-a928-4bde-9fb7-428444f54ab9 2026-06-19 23:05:02,274 - DEBUG - ==>Verifying data for policy with id: 72a63d40-7e85-4b62-b32c-57483aa36df1, fqn: ['default-domain', 'ctest-TestBasicPolicy-94989139', 'ctest-policy-allow-all-86516214'] 2026-06-19 23:05:02,274 - INFO - VN ctest-vn-44558085 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 23:05:02,274 - DEBUG - Verifying the vn in opserver 2026-06-19 23:05:02,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-44558085 virtual network link through opserver 10.0.0.33 2026-06-19 23:05:02,274 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 23:05:02,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-44558085', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-44558085?flat'} 2026-06-19 23:05:02,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-44558085 is found in opserver 2026-06-19 23:05:02,296 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 23:05:02,302 - DEBUG - VRF ids for VN ctest-vn-44558085: {} 2026-06-19 23:05:02,360 - DEBUG - Services list from nova: [, , ] 2026-06-19 23:05:03,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6008-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6008-1) 2026-06-19 23:05:04,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6008-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6008-1) 2026-06-19 23:05:04,647 - INFO - Waiting for VM ctest-TestBasicPolicy-94989139-21086496 to be up.. 2026-06-19 23:05:04,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:05:09,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:05:14,863 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:05:14,863 - INFO - VM name : ctest-TestBasicPolicy-94989139-21086496 2026-06-19 23:05:14,924 - DEBUG - VM ctest-TestBasicPolicy-94989139-21086496 ID is 82884b24-41e7-473f-84dd-4055a0e5645d 2026-06-19 23:05:14,942 - DEBUG - VM ctest-TestBasicPolicy-94989139-21086496 launched on Node cn-jenkins-deploy-platform-ansible-os-6008-1 2026-06-19 23:05:15,009 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/82884b24-41e7-473f-84dd-4055a0e5645d 2026-06-19 23:05:15,016 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cb6880fd-3861-4ede-86b8-7cbe7fcfae73 2026-06-19 23:05:18,256 - 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') 2026-06-19 23:05:18,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94989139-21086496 failed! 2026-06-19 23:05:18,312 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94989139:ctest-vn-97375114 is 60.22.29.65 and allocation pool is NOT set 2026-06-19 23:05:20,375 - 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=8.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.344 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.344/4.284/8.225/3.940 ms') 2026-06-19 23:05:20,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94989139-21086496 passed 2026-06-19 23:05:20,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:05:20,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94989139-21086496, IP 60.22.29.67, Port 22 2026-06-19 23:05:20,690 - DEBUG - VM ctest-TestBasicPolicy-94989139-21086496 is ready for SSH connections 2026-06-19 23:05:20,690 - INFO - Waiting for VM ctest-TestBasicPolicy-94989139-44015831 to be up.. 2026-06-19 23:05:20,769 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:05:20,769 - INFO - VM name : ctest-TestBasicPolicy-94989139-44015831 2026-06-19 23:05:20,839 - DEBUG - VM ctest-TestBasicPolicy-94989139-44015831 ID is 9281a5ca-0713-45d1-a96c-2934193db84d 2026-06-19 23:05:20,839 - DEBUG - VM ctest-TestBasicPolicy-94989139-44015831 launched on Node cn-jenkins-deploy-platform-ansible-os-6008-1 2026-06-19 23:05:20,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9281a5ca-0713-45d1-a96c-2934193db84d 2026-06-19 23:05:20,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2fe62e95-5640-431d-a819-e158ddf32a98 2026-06-19 23:05:22,163 - 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=11.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/5.842/11.339/5.497 ms') 2026-06-19 23:05:22,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94989139-44015831 passed 2026-06-19 23:05:22,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:05:22,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94989139-44015831, IP 11.174.219.195, Port 22 2026-06-19 23:05:22,479 - DEBUG - VM ctest-TestBasicPolicy-94989139-44015831 is ready for SSH connections 2026-06-19 23:05:22,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:05:22,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.174.219.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 23:05:22,479 - DEBUG - ping -s 56 -c 3 -W 1 11.174.219.195 2026-06-19 23:05:26,485 - DEBUG - PING 11.174.219.195 (11.174.219.195): 56 data bytes 64 bytes from 11.174.219.195: seq=0 ttl=63 time=3.932 ms 64 bytes from 11.174.219.195: seq=1 ttl=63 time=0.794 ms 64 bytes from 11.174.219.195: seq=2 ttl=63 time=1.030 ms --- 11.174.219.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/1.918/3.932 ms 2026-06-19 23:05:26,485 - INFO - Ping to IP 11.174.219.195 from VM ctest-TestBasicPolicy-94989139-21086496 passed 2026-06-19 23:05:26,664 - DEBUG - Policy Update Response {"network-policy": {"uuid": "72a63d40-7e85-4b62-b32c-57483aa36df1", "href": "http://10.0.0.33:8082/network-policy/72a63d40-7e85-4b62-b32c-57483aa36df1"}} 2026-06-19 23:05:26,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:05:26,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.174.219.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 23:05:26,664 - DEBUG - ping -s 56 -c 3 -W 1 11.174.219.195 2026-06-19 23:05:29,779 - DEBUG - PING 11.174.219.195 (11.174.219.195): 56 data bytes 64 bytes from 11.174.219.195: seq=0 ttl=63 time=1.376 ms --- 11.174.219.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.376/1.376/1.376 ms 2026-06-19 23:05:29,779 - WARNING - Ping to IP 11.174.219.195 from VM ctest-TestBasicPolicy-94989139-21086496 failed 2026-06-19 23:05:29,779 - INFO - Deleting VM ctest-TestBasicPolicy-94989139-44015831 2026-06-19 23:05:29,848 - INFO - Deleting VM ctest-TestBasicPolicy-94989139-21086496 2026-06-19 23:05:30,161 - INFO - Deleted policy ctest-policy-allow-all-86516214 2026-06-19 23:05:30,162 - INFO - Deleting VN ctest-vn-44558085 2026-06-19 23:05:30,192 - DEBUG - VN abee5ec0-a928-4bde-9fb7-428444f54ab9 still in use: Unable to complete operation on network abee5ec0-a928-4bde-9fb7-428444f54ab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b8fbc0b-d7b7-4261-9216-89a2d374623c'] 2026-06-19 23:05:30,192 - WARNING - Deleting VN ctest-vn-44558085 failed..Will retry 2026-06-19 23:05:32,299 - DEBUG - Response for deleting network () 2026-06-19 23:05:32,299 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d6637d9-966b-4ccf-9e37-27619990d21c 2026-06-19 23:05:32,306 - DEBUG - Response Code: 404 2026-06-19 23:05:32,306 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:32,311 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:32,370 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:32,447 - INFO - Validated that VN ctest-vn-44558085 is not found in API Server 2026-06-19 23:05:32,457 - DEBUG - VN ctest-vn-44558085 is not present in Agent 10.0.0.33 2026-06-19 23:05:32,457 - INFO - Validated that VN ctest-vn-44558085 is not in any agent 2026-06-19 23:05:32,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44558085 info 2026-06-19 23:05:32,477 - INFO - Deleting VN ctest-vn-97375114 2026-06-19 23:05:32,577 - DEBUG - Response for deleting network () 2026-06-19 23:05:32,577 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb1758c2-1b35-4665-98c1-6487192d2573 2026-06-19 23:05:32,583 - DEBUG - Response Code: 404 2026-06-19 23:05:32,583 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 23:05:32,588 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7e804cfb-3ed2-487b-938a-b371f32b643d 2026-06-19 23:05:32,641 - DEBUG - Requesting: http://10.0.0.33:8082/project/1b83cfab-744e-4b6c-b3e3-53704cebb522 2026-06-19 23:05:32,710 - INFO - Validated that VN ctest-vn-97375114 is not found in API Server 2026-06-19 23:05:32,719 - DEBUG - VN ctest-vn-97375114 is not present in Agent 10.0.0.33 2026-06-19 23:05:32,719 - INFO - Validated that VN ctest-vn-97375114 is not in any agent 2026-06-19 23:05:32,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97375114 info 2026-06-19 23:05:32,985 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 23:05:32,985 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-19 23:05:32,985 - INFO - -------------------------------------------------------------------------------- 2026-06-19 23:05:33,743 - INFO - Deleted project: ctest-TestBasicPolicy-94989139, ID : 1b83cfab-744e-4b6c-b3e3-53704cebb522