2026-06-01 12:02:08,183 - INFO - Domain Default found not creating 2026-06-01 12:02:08,383 - INFO - Project ctest-TestBasicPolicy-92109027 not found, creating it 2026-06-01 12:02:08,882 - INFO - Created Project:ctest-TestBasicPolicy-92109027, ID : 1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:10,459 - INFO - ================================================================================ 2026-06-01 12:02:10,459 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 12:02:10,459 - 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-01 12:02:10,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-01 12:02:10,713 - INFO - Initial checks done. Running the testcase now 2026-06-01 12:02:10,713 - INFO - 2026-06-01 12:02:11,295 - DEBUG - Response for create_network : {'network': {'id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'name': 'ctest-vn-12306925', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-12306925'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 12:02:11,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce5e6c3d-93a8-4fdc-851a-0a31822dd657', 'name': '', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'network_id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'ip_version': 4, 'cidr': '149.34.222.0/26', 'allocation_pools': [{'start': '149.34.222.2', 'end': '149.34.222.62'}], 'gateway_ip': '149.34.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.34.222.2', 'tags': [], 'project_id': '1005e78d0d9440e3b535155a14bd28b8'}} 2026-06-01 12:02:11,533 - INFO - Created VN ctest-vn-12306925 2026-06-01 12:02:11,587 - DEBUG - VN ctest-vn-12306925 UUID is 0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:11,888 - DEBUG - Response for create_network : {'network': {'id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'name': 'ctest-vn-81376405', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-81376405'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 12:02:12,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '28336fdb-3bf2-485f-a672-5c5235b31aa8', 'name': '', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'network_id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'ip_version': 4, 'cidr': '74.12.37.128/26', 'allocation_pools': [{'start': '74.12.37.130', 'end': '74.12.37.190'}], 'gateway_ip': '74.12.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.12.37.130', 'tags': [], 'project_id': '1005e78d0d9440e3b535155a14bd28b8'}} 2026-06-01 12:02:12,100 - INFO - Created VN ctest-vn-81376405 2026-06-01 12:02:12,155 - DEBUG - VN ctest-vn-81376405 UUID is 9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:12,274 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925, 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-92109027:ctest-vn-81376405, 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-01 12:02:12,585 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'name': 'ctest-vn-12306925', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce5e6c3d-93a8-4fdc-851a-0a31822dd657'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-12306925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']], 'subnet_ipam': [{'subnet_cidr': '149.34.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 12:02:12,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'name': 'ctest-vn-81376405', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['28336fdb-3bf2-485f-a672-5c5235b31aa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-81376405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']], 'subnet_ipam': [{'subnet_cidr': '74.12.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 12:02:12,999 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:13,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:13,328 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:13,341 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:13,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,425 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:13,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:13,453 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81432387-6c68-4232-805a-937669b88691 2026-06-01 12:02:13,460 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 12:02:13,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:13,487 - INFO - Verified VN network id 11 for VN 0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,487 - INFO - Verifications in API Server for VN ctest-vn-12306925 passed 2026-06-01 12:02:13,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:13,504 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:13,511 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81432387-6c68-4232-805a-937669b88691 2026-06-01 12:02:13,525 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92109027', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '149128997170269096', 'uuid-lslong': '10546131514672463365'}, 'enable': 'true', 'created': '2026-06-01T12:02:11', 'last-modified': '2026-06-01T12:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960279'} 2026-06-01 12:02:13,531 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 12:02:13,531 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12306925 passed 2026-06-01 12:02:13,531 - DEBUG - ====Verifying policy data for ctest-vn-12306925 in API_Server ====== 2026-06-01 12:02:13,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:13,539 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:13,551 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:13,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05 2026-06-01 12:02:13,631 - DEBUG - ==>Verifying data for policy with id: fc734963-9976-4f34-84c6-23a0abe7a0a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305'] 2026-06-01 12:02:13,631 - INFO - VN ctest-vn-12306925 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 12:02:13,631 - DEBUG - Verifying the vn in opserver 2026-06-01 12:02:13,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925 virtual network link through opserver 10.0.0.50 2026-06-01 12:02:13,631 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-01 12:02:13,934 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-01 12:02:14,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925?flat'} 2026-06-01 12:02:14,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925 is found in opserver 2026-06-01 12:02:14,027 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 12:02:14,031 - DEBUG - VRF ids for VN ctest-vn-12306925: {} 2026-06-01 12:02:14,031 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:14,037 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:14,050 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:14,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,148 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:14,156 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:14,164 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e65d6537-fb68-4865-b00a-05aa16a9813f 2026-06-01 12:02:14,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 12:02:14,170 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:14,194 - INFO - Verified VN network id 12 for VN 9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,194 - INFO - Verifications in API Server for VN ctest-vn-81376405 passed 2026-06-01 12:02:14,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:14,211 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:14,218 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e65d6537-fb68-4865-b00a-05aa16a9813f 2026-06-01 12:02:14,234 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92109027', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11179539966863230425', 'uuid-lslong': '12952622048025986638'}, 'enable': 'true', 'created': '2026-06-01T12:02:11', 'last-modified': '2026-06-01T12:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427067'} 2026-06-01 12:02:14,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 12:02:14,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81376405 passed 2026-06-01 12:02:14,241 - DEBUG - ====Verifying policy data for ctest-vn-81376405 in API_Server ====== 2026-06-01 12:02:14,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:14,247 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:14,258 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:14,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e 2026-06-01 12:02:14,353 - DEBUG - ==>Verifying data for policy with id: fc734963-9976-4f34-84c6-23a0abe7a0a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305'] 2026-06-01 12:02:14,353 - INFO - VN ctest-vn-81376405 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 12:02:14,353 - DEBUG - Verifying the vn in opserver 2026-06-01 12:02:14,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405 virtual network link through opserver 10.0.0.50 2026-06-01 12:02:14,353 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-01 12:02:14,364 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405?flat'} 2026-06-01 12:02:14,364 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405 is found in opserver 2026-06-01 12:02:14,374 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 12:02:14,379 - DEBUG - VRF ids for VN ctest-vn-81376405: {} 2026-06-01 12:02:14,454 - DEBUG - Services list from nova: [, , ] 2026-06-01 12:02:15,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5866-1) 2026-06-01 12:02:16,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5866-1) 2026-06-01 12:02:16,775 - INFO - Waiting for VM ctest-TestBasicPolicy-92109027-59121187 to be up.. 2026-06-01 12:02:16,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 12:02:21,998 - DEBUG - VM is in ACTIVE state now 2026-06-01 12:02:21,999 - INFO - VM name : ctest-TestBasicPolicy-92109027-59121187 2026-06-01 12:02:22,099 - DEBUG - VM ctest-TestBasicPolicy-92109027-59121187 ID is 3372d76f-ce4a-44e4-bce2-048997b13168 2026-06-01 12:02:22,120 - DEBUG - VM ctest-TestBasicPolicy-92109027-59121187 launched on Node cn-jenkins-deploy-platform-ansible-os-5866-1 2026-06-01 12:02:22,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3372d76f-ce4a-44e4-bce2-048997b13168 2026-06-01 12:02:22,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7ad5e401-6602-48f5-ad9a-2ce93b027a3e 2026-06-01 12:02:25,468 - 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 1006ms') 2026-06-01 12:02:25,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92109027-59121187 failed! 2026-06-01 12:02:25,523 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925 is 149.34.222.1 and allocation pool is NOT set 2026-06-01 12:02:27,584 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.750 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 = 0.750/5.078/9.407/4.328 ms') 2026-06-01 12:02:27,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92109027-59121187 passed 2026-06-01 12:02:27,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 12:02:27,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92109027-59121187, IP 149.34.222.3, Port 22 2026-06-01 12:02:27,905 - DEBUG - VM ctest-TestBasicPolicy-92109027-59121187 is ready for SSH connections 2026-06-01 12:02:27,905 - INFO - Waiting for VM ctest-TestBasicPolicy-92109027-61892240 to be up.. 2026-06-01 12:02:28,137 - DEBUG - VM is in ACTIVE state now 2026-06-01 12:02:28,137 - INFO - VM name : ctest-TestBasicPolicy-92109027-61892240 2026-06-01 12:02:28,224 - DEBUG - VM ctest-TestBasicPolicy-92109027-61892240 ID is 1817d00b-a375-4f0e-97be-d83b3c47d68a 2026-06-01 12:02:28,224 - DEBUG - VM ctest-TestBasicPolicy-92109027-61892240 launched on Node cn-jenkins-deploy-platform-ansible-os-5866-1 2026-06-01 12:02:28,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1817d00b-a375-4f0e-97be-d83b3c47d68a 2026-06-01 12:02:28,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e980f86-fd1b-440f-bbd3-13557cf2058f 2026-06-01 12:02:29,563 - 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=3.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.58 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 = 2.582/2.921/3.261/0.339 ms') 2026-06-01 12:02:29,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92109027-61892240 passed 2026-06-01 12:02:29,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 12:02:29,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92109027-61892240, IP 74.12.37.131, Port 22 2026-06-01 12:02:29,888 - DEBUG - VM ctest-TestBasicPolicy-92109027-61892240 is ready for SSH connections 2026-06-01 12:02:29,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 12:02:29,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.12.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-01 12:02:29,889 - DEBUG - ping -s 56 -c 3 -W 1 74.12.37.131 2026-06-01 12:02:33,962 - DEBUG - PING 74.12.37.131 (74.12.37.131): 56 data bytes 64 bytes from 74.12.37.131: seq=0 ttl=63 time=4.002 ms 64 bytes from 74.12.37.131: seq=1 ttl=63 time=1.147 ms 64 bytes from 74.12.37.131: seq=2 ttl=63 time=1.167 ms --- 74.12.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.147/2.105/4.002 ms 2026-06-01 12:02:33,963 - INFO - Ping to IP 74.12.37.131 from VM ctest-TestBasicPolicy-92109027-59121187 passed 2026-06-01 12:02:34,139 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc734963-9976-4f34-84c6-23a0abe7a0a7", "href": "http://10.0.0.50:8082/network-policy/fc734963-9976-4f34-84c6-23a0abe7a0a7"}} 2026-06-01 12:02:34,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 12:02:34,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.12.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-01 12:02:34,139 - DEBUG - ping -s 56 -c 3 -W 1 74.12.37.131 2026-06-01 12:02:37,353 - DEBUG - PING 74.12.37.131 (74.12.37.131): 56 data bytes --- 74.12.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 12:02:37,354 - WARNING - Ping to IP 74.12.37.131 from VM ctest-TestBasicPolicy-92109027-59121187 failed 2026-06-01 12:02:37,354 - INFO - Deleting VM ctest-TestBasicPolicy-92109027-61892240 2026-06-01 12:02:37,442 - INFO - Deleting VM ctest-TestBasicPolicy-92109027-59121187 2026-06-01 12:02:37,843 - INFO - Deleted policy ctest-policy-allow-all-89025305 2026-06-01 12:02:37,844 - INFO - Deleting VN ctest-vn-81376405 2026-06-01 12:02:37,886 - DEBUG - VN 9b25b45e-3d2a-45d9-b3c0-f520727b464e still in use: Unable to complete operation on network 9b25b45e-3d2a-45d9-b3c0-f520727b464e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c930506-b863-4b79-b39d-25235ff1cd8c'] 2026-06-01 12:02:37,886 - WARNING - Deleting VN ctest-vn-81376405 failed..Will retry 2026-06-01 12:02:39,989 - DEBUG - Response for deleting network () 2026-06-01 12:02:39,989 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3 2026-06-01 12:02:39,995 - DEBUG - Response Code: 404 2026-06-01 12:02:39,996 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:40,003 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:40,061 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:40,132 - INFO - Validated that VN ctest-vn-81376405 is not found in API Server 2026-06-01 12:02:40,144 - DEBUG - VN ctest-vn-81376405 is not present in Agent 10.0.0.50 2026-06-01 12:02:40,144 - INFO - Validated that VN ctest-vn-81376405 is not in any agent 2026-06-01 12:02:40,159 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81376405 info 2026-06-01 12:02:40,160 - INFO - Deleting VN ctest-vn-12306925 2026-06-01 12:02:40,276 - DEBUG - Response for deleting network () 2026-06-01 12:02:40,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708 2026-06-01 12:02:40,281 - DEBUG - Response Code: 404 2026-06-01 12:02:40,281 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-01 12:02:40,293 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5 2026-06-01 12:02:40,348 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8 2026-06-01 12:02:40,426 - INFO - Validated that VN ctest-vn-12306925 is not found in API Server 2026-06-01 12:02:40,437 - DEBUG - VN ctest-vn-12306925 is not present in Agent 10.0.0.50 2026-06-01 12:02:40,437 - INFO - Validated that VN ctest-vn-12306925 is not in any agent 2026-06-01 12:02:40,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12306925 info 2026-06-01 12:02:40,710 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 12:02:40,710 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-01 12:02:40,710 - INFO - -------------------------------------------------------------------------------- 2026-06-01 12:02:41,443 - INFO - Deleted project: ctest-TestBasicPolicy-92109027, ID : 1005e78d-0d94-40e3-b535-155a14bd28b8