2025-12-08 19:26:11,052 - INFO - Domain Default found not creating 2025-12-08 19:26:11,221 - INFO - Project ctest-TestBasicPolicy-78538099 not found, creating it 2025-12-08 19:26:11,677 - INFO - Created Project:ctest-TestBasicPolicy-78538099, ID : ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:13,167 - INFO - ================================================================================ 2025-12-08 19:26:13,167 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 19:26:13,167 - 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-12-08 19:26:13,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 19:26:13,428 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:26:13,428 - INFO - 2025-12-08 19:26:13,971 - DEBUG - Response for create_network : {'network': {'id': 'cf930bb2-3302-4d1d-8283-7ca24bbb4a67', 'name': 'ctest-vn-67794001', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-vn-67794001'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:26:14,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '2905f10e-07e9-444d-99e7-f8be8aa180b1', 'name': '', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'network_id': 'cf930bb2-3302-4d1d-8283-7ca24bbb4a67', 'ip_version': 4, 'cidr': '43.164.135.64/26', 'allocation_pools': [{'start': '43.164.135.66', 'end': '43.164.135.126'}], 'gateway_ip': '43.164.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.164.135.66', 'tags': [], 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8'}} 2025-12-08 19:26:14,204 - INFO - Created VN ctest-vn-67794001 2025-12-08 19:26:14,258 - DEBUG - VN ctest-vn-67794001 UUID is cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:14,577 - DEBUG - Response for create_network : {'network': {'id': '7847c173-7b77-4c22-af67-cb8bbed2c6dc', 'name': 'ctest-vn-32805568', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-vn-32805568'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:26:14,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '13eb4850-8e9f-4b5c-a4a5-73b85033f1ec', 'name': '', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'network_id': '7847c173-7b77-4c22-af67-cb8bbed2c6dc', 'ip_version': 4, 'cidr': '4.15.54.64/26', 'allocation_pools': [{'start': '4.15.54.66', 'end': '4.15.54.126'}], 'gateway_ip': '4.15.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.15.54.66', 'tags': [], 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8'}} 2025-12-08 19:26:14,771 - INFO - Created VN ctest-vn-32805568 2025-12-08 19:26:14,826 - DEBUG - VN ctest-vn-32805568 UUID is 7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:14,945 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001, 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-78538099:ctest-vn-32805568, 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-12-08 19:26:15,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf930bb2-3302-4d1d-8283-7ca24bbb4a67', 'name': 'ctest-vn-67794001', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2905f10e-07e9-444d-99e7-f8be8aa180b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-vn-67794001'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-policy-allow-all-81559739']], 'subnet_ipam': [{'subnet_cidr': '43.164.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:26:15,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7847c173-7b77-4c22-af67-cb8bbed2c6dc', 'name': 'ctest-vn-32805568', 'tenant_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'project_id': 'ebf922caf3e1497891448cfc91c3e9f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13eb4850-8e9f-4b5c-a4a5-73b85033f1ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-vn-32805568'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-policy-allow-all-81559739']], 'subnet_ipam': [{'subnet_cidr': '4.15.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:26:15,634 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:15,929 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:15,959 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:15,970 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:16,045 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:16,069 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:16,076 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c3cc9a0-d2a2-4c71-84f8-3f4f21527116 2025-12-08 19:26:16,082 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 19:26:16,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,091 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:16,108 - INFO - Verified VN network id 11 for VN cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,109 - INFO - Verifications in API Server for VN ctest-vn-67794001 passed 2025-12-08 19:26:16,109 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,118 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:16,124 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:16,131 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c3cc9a0-d2a2-4c71-84f8-3f4f21527116 2025-12-08 19:26:16,142 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78538099', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14957311647415422237', 'uuid-lslong': '9404497483376839271'}, 'enable': 'true', 'created': '2025-12-08T19:26:13', 'last-modified': '2025-12-08T19:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934456'} 2025-12-08 19:26:16,149 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 19:26:16,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67794001 passed 2025-12-08 19:26:16,149 - DEBUG - ====Verifying policy data for ctest-vn-67794001 in API_Server ====== 2025-12-08 19:26:16,149 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:16,155 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:16,165 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:16,237 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf930bb2-3302-4d1d-8283-7ca24bbb4a67 2025-12-08 19:26:16,246 - DEBUG - ==>Verifying data for policy with id: 6274f25a-2dda-4601-a38f-fce82e36cee0, fqn: ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-policy-allow-all-81559739'] 2025-12-08 19:26:16,246 - INFO - VN ctest-vn-67794001 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 19:26:16,246 - DEBUG - Verifying the vn in opserver 2025-12-08 19:26:16,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001 virtual network link through opserver 10.0.0.33 2025-12-08 19:26:16,246 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 19:26:16,542 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 19:26:16,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001?flat'} 2025-12-08 19:26:16,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001 is found in opserver 2025-12-08 19:26:16,605 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 19:26:16,608 - DEBUG - VRF ids for VN ctest-vn-67794001: {} 2025-12-08 19:26:16,609 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:16,613 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:16,622 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:16,689 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,699 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,709 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:16,716 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:16,724 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d3cb1ea1-cfa5-4dc6-a2a8-45e9ee9ea62a 2025-12-08 19:26:16,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 19:26:16,732 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,742 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:16,755 - INFO - Verified VN network id 12 for VN 7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,755 - INFO - Verifications in API Server for VN ctest-vn-32805568 passed 2025-12-08 19:26:16,755 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,766 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:16,780 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:16,789 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d3cb1ea1-cfa5-4dc6-a2a8-45e9ee9ea62a 2025-12-08 19:26:16,802 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-32805568', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78538099', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8667108709634624546', 'uuid-lslong': '12639294680300963548'}, 'enable': 'true', 'created': '2025-12-08T19:26:14', 'last-modified': '2025-12-08T19:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363037'} 2025-12-08 19:26:16,807 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 19:26:16,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32805568 passed 2025-12-08 19:26:16,808 - DEBUG - ====Verifying policy data for ctest-vn-32805568 in API_Server ====== 2025-12-08 19:26:16,808 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:16,814 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:16,824 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:16,894 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7847c173-7b77-4c22-af67-cb8bbed2c6dc 2025-12-08 19:26:16,904 - DEBUG - ==>Verifying data for policy with id: 6274f25a-2dda-4601-a38f-fce82e36cee0, fqn: ['default-domain', 'ctest-TestBasicPolicy-78538099', 'ctest-policy-allow-all-81559739'] 2025-12-08 19:26:16,904 - INFO - VN ctest-vn-32805568 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 19:26:16,904 - DEBUG - Verifying the vn in opserver 2025-12-08 19:26:16,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-32805568 virtual network link through opserver 10.0.0.33 2025-12-08 19:26:16,904 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 19:26:16,914 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-32805568', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-32805568?flat'} 2025-12-08 19:26:16,914 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-32805568 is found in opserver 2025-12-08 19:26:16,926 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 19:26:16,932 - DEBUG - VRF ids for VN ctest-vn-32805568: {} 2025-12-08 19:26:16,993 - DEBUG - Services list from nova: [, , ] 2025-12-08 19:26:18,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:26:19,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:26:19,221 - INFO - Waiting for VM ctest-TestBasicPolicy-78538099-31378991 to be up.. 2025-12-08 19:26:19,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 19:26:24,393 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:26:24,393 - INFO - VM name : ctest-TestBasicPolicy-78538099-31378991 2025-12-08 19:26:24,466 - DEBUG - VM ctest-TestBasicPolicy-78538099-31378991 ID is fafc63d5-b3ed-46e6-a7a0-0c416b182e66 2025-12-08 19:26:24,487 - DEBUG - VM ctest-TestBasicPolicy-78538099-31378991 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:26:24,566 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fafc63d5-b3ed-46e6-a7a0-0c416b182e66 2025-12-08 19:26:24,575 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e97d8d5f-778d-4e71-b522-78171c89de45 2025-12-08 19:26:27,821 - 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') 2025-12-08 19:26:27,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78538099-31378991 failed! 2025-12-08 19:26:27,874 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78538099:ctest-vn-67794001 is 43.164.135.65 and allocation pool is NOT set 2025-12-08 19:26:29,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=8.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.783 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.783/4.646/8.509/3.863 ms') 2025-12-08 19:26:29,931 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78538099-31378991 passed 2025-12-08 19:26:30,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:26:30,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78538099-31378991, IP 43.164.135.67, Port 22 2025-12-08 19:26:30,245 - DEBUG - VM ctest-TestBasicPolicy-78538099-31378991 is ready for SSH connections 2025-12-08 19:26:30,246 - INFO - Waiting for VM ctest-TestBasicPolicy-78538099-03353031 to be up.. 2025-12-08 19:26:30,315 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:26:30,315 - INFO - VM name : ctest-TestBasicPolicy-78538099-03353031 2025-12-08 19:26:30,384 - DEBUG - VM ctest-TestBasicPolicy-78538099-03353031 ID is ee1cee20-c25d-453b-8925-35057ed3f0d6 2025-12-08 19:26:30,384 - DEBUG - VM ctest-TestBasicPolicy-78538099-03353031 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:26:30,455 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ee1cee20-c25d-453b-8925-35057ed3f0d6 2025-12-08 19:26:30,463 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cab2da8d-ac62-41dc-b26a-a1edebc443df 2025-12-08 19:26:31,699 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.478/2.000/3.523/1.522 ms') 2025-12-08 19:26:31,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78538099-03353031 passed 2025-12-08 19:26:31,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:26:31,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78538099-03353031, IP 4.15.54.67, Port 22 2025-12-08 19:26:32,009 - DEBUG - VM ctest-TestBasicPolicy-78538099-03353031 is ready for SSH connections 2025-12-08 19:26:32,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:26:32,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.15.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 19:26:32,010 - DEBUG - ping -s 56 -c 3 -W 1 4.15.54.67 2025-12-08 19:26:36,040 - DEBUG - PING 4.15.54.67 (4.15.54.67): 56 data bytes 64 bytes from 4.15.54.67: seq=0 ttl=63 time=3.377 ms 64 bytes from 4.15.54.67: seq=1 ttl=63 time=1.064 ms 64 bytes from 4.15.54.67: seq=2 ttl=63 time=1.158 ms --- 4.15.54.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/1.866/3.377 ms 2025-12-08 19:26:36,040 - INFO - Ping to IP 4.15.54.67 from VM ctest-TestBasicPolicy-78538099-31378991 passed 2025-12-08 19:26:36,221 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6274f25a-2dda-4601-a38f-fce82e36cee0", "href": "http://10.0.0.33:8082/network-policy/6274f25a-2dda-4601-a38f-fce82e36cee0"}} 2025-12-08 19:26:36,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:26:36,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.15.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 19:26:36,222 - DEBUG - ping -s 56 -c 3 -W 1 4.15.54.67 2025-12-08 19:26:39,427 - DEBUG - PING 4.15.54.67 (4.15.54.67): 56 data bytes --- 4.15.54.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 19:26:39,427 - WARNING - Ping to IP 4.15.54.67 from VM ctest-TestBasicPolicy-78538099-31378991 failed 2025-12-08 19:26:39,427 - INFO - Deleting VM ctest-TestBasicPolicy-78538099-03353031 2025-12-08 19:26:39,502 - INFO - Deleting VM ctest-TestBasicPolicy-78538099-31378991 2025-12-08 19:26:39,931 - INFO - Deleted policy ctest-policy-allow-all-81559739 2025-12-08 19:26:39,932 - INFO - Deleting VN ctest-vn-32805568 2025-12-08 19:26:39,974 - DEBUG - VN 7847c173-7b77-4c22-af67-cb8bbed2c6dc still in use: Unable to complete operation on network 7847c173-7b77-4c22-af67-cb8bbed2c6dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12da37d6-d06c-4e97-8a97-52d35e7efe31'] 2025-12-08 19:26:39,974 - WARNING - Deleting VN ctest-vn-32805568 failed..Will retry 2025-12-08 19:26:42,086 - DEBUG - Response for deleting network () 2025-12-08 19:26:42,086 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dddd7ec-29c9-4fef-ba5e-55598f6163c8 2025-12-08 19:26:42,092 - DEBUG - Response Code: 404 2025-12-08 19:26:42,092 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:42,098 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:42,151 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:42,225 - INFO - Validated that VN ctest-vn-32805568 is not found in API Server 2025-12-08 19:26:42,235 - DEBUG - VN ctest-vn-32805568 is not present in Agent 10.0.0.33 2025-12-08 19:26:42,235 - INFO - Validated that VN ctest-vn-32805568 is not in any agent 2025-12-08 19:26:42,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32805568 info 2025-12-08 19:26:42,249 - INFO - Deleting VN ctest-vn-67794001 2025-12-08 19:26:42,357 - DEBUG - Response for deleting network () 2025-12-08 19:26:42,357 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5c338b33-2843-4dae-b1fd-cd0528e526bf 2025-12-08 19:26:42,364 - DEBUG - Response Code: 404 2025-12-08 19:26:42,365 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 19:26:42,370 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9c656358-8480-48e7-9a0a-01645e62912b 2025-12-08 19:26:42,423 - DEBUG - Requesting: http://10.0.0.33:8082/project/ebf922ca-f3e1-4978-9144-8cfc91c3e9f8 2025-12-08 19:26:42,494 - INFO - Validated that VN ctest-vn-67794001 is not found in API Server 2025-12-08 19:26:42,504 - DEBUG - VN ctest-vn-67794001 is not present in Agent 10.0.0.33 2025-12-08 19:26:42,504 - INFO - Validated that VN ctest-vn-67794001 is not in any agent 2025-12-08 19:26:42,515 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67794001 info 2025-12-08 19:26:42,782 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 19:26:42,782 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-08 19:26:42,782 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:26:43,429 - INFO - Deleted project: ctest-TestBasicPolicy-78538099, ID : ebf922ca-f3e1-4978-9144-8cfc91c3e9f8