2025-07-23 15:56:32,729 - INFO - Domain Default found not creating 2025-07-23 15:56:32,889 - INFO - Project ctest-TestBasicPolicy-63236450 not found, creating it 2025-07-23 15:56:33,362 - INFO - Created Project:ctest-TestBasicPolicy-63236450, ID : 9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:56:34,825 - INFO - ================================================================================ 2025-07-23 15:56:34,825 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 15:56:34,825 - 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-07-23 15:56:35,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-07-23 15:56:35,090 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:56:35,090 - INFO - 2025-07-23 15:56:35,651 - DEBUG - Response for create_network : {'network': {'id': 'dae7189d-b569-4568-a9a7-eb84d7df2dbe', 'name': 'ctest-vn-79841529', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'project_id': '9ef79c38941d46259bd59c6976f39d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-vn-79841529'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:56:35,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec3932a9-e665-4fe4-aa30-3905025f98a7', 'name': '', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'network_id': 'dae7189d-b569-4568-a9a7-eb84d7df2dbe', 'ip_version': 4, 'cidr': '100.157.185.64/26', 'allocation_pools': [{'start': '100.157.185.66', 'end': '100.157.185.126'}], 'gateway_ip': '100.157.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.157.185.66', 'tags': [], 'project_id': '9ef79c38941d46259bd59c6976f39d59'}} 2025-07-23 15:56:35,876 - INFO - Created VN ctest-vn-79841529 2025-07-23 15:56:35,931 - DEBUG - VN ctest-vn-79841529 UUID is dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:36,229 - DEBUG - Response for create_network : {'network': {'id': '5c916305-782c-42b9-bbe7-a557dbdcc8a0', 'name': 'ctest-vn-35021960', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'project_id': '9ef79c38941d46259bd59c6976f39d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-vn-35021960'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:56:36,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd048ee09-bd44-46df-a20f-1dba6dc6dcf8', 'name': '', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'network_id': '5c916305-782c-42b9-bbe7-a557dbdcc8a0', 'ip_version': 4, 'cidr': '223.21.214.192/26', 'allocation_pools': [{'start': '223.21.214.194', 'end': '223.21.214.254'}], 'gateway_ip': '223.21.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.21.214.194', 'tags': [], 'project_id': '9ef79c38941d46259bd59c6976f39d59'}} 2025-07-23 15:56:36,476 - INFO - Created VN ctest-vn-35021960 2025-07-23 15:56:36,531 - DEBUG - VN ctest-vn-35021960 UUID is 5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:36,651 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529, 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-63236450:ctest-vn-35021960, 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-07-23 15:56:36,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dae7189d-b569-4568-a9a7-eb84d7df2dbe', 'name': 'ctest-vn-79841529', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'project_id': '9ef79c38941d46259bd59c6976f39d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec3932a9-e665-4fe4-aa30-3905025f98a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-vn-79841529'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-policy-allow-all-24963257']], 'subnet_ipam': [{'subnet_cidr': '100.157.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:56:37,229 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c916305-782c-42b9-bbe7-a557dbdcc8a0', 'name': 'ctest-vn-35021960', 'tenant_id': '9ef79c38941d46259bd59c6976f39d59', 'project_id': '9ef79c38941d46259bd59c6976f39d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d048ee09-bd44-46df-a20f-1dba6dc6dcf8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-vn-35021960'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-policy-allow-all-24963257']], 'subnet_ipam': [{'subnet_cidr': '223.21.214.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:56:37,403 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:56:37,697 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:56:37,725 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:56:37,741 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:56:37,818 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:37,830 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:37,840 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:56:37,849 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:56:37,856 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9fee005-0175-4e2a-90f4-c407adca4c56 2025-07-23 15:56:37,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 15:56:37,864 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:37,875 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:56:37,891 - INFO - Verified VN network id 9 for VN dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:37,891 - INFO - Verifications in API Server for VN ctest-vn-79841529 passed 2025-07-23 15:56:37,891 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:37,905 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:56:37,912 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:56:37,920 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9fee005-0175-4e2a-90f4-c407adca4c56 2025-07-23 15:56:37,932 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63236450', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15773603285520958824', 'uuid-lslong': '12224998669310438846'}, 'enable': 'true', 'created': '2025-07-23T15:56:35', 'last-modified': '2025-07-23T15:56:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993099'} 2025-07-23 15:56:37,939 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 15:56:37,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79841529 passed 2025-07-23 15:56:37,939 - DEBUG - ====Verifying policy data for ctest-vn-79841529 in API_Server ====== 2025-07-23 15:56:37,940 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:56:37,945 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:56:37,958 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:56:38,034 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dae7189d-b569-4568-a9a7-eb84d7df2dbe 2025-07-23 15:56:38,049 - DEBUG - ==>Verifying data for policy with id: 9ed16f35-df2e-4bc6-8ac5-96da76255411, fqn: ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-policy-allow-all-24963257'] 2025-07-23 15:56:38,049 - INFO - VN ctest-vn-79841529 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 15:56:38,049 - DEBUG - Verifying the vn in opserver 2025-07-23 15:56:38,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529 virtual network link through opserver 10.0.0.19 2025-07-23 15:56:38,049 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 15:56:38,342 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 15:56:38,403 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529?flat'} 2025-07-23 15:56:38,403 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529 is found in opserver 2025-07-23 15:56:38,416 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 15:56:38,422 - DEBUG - VRF ids for VN ctest-vn-79841529: {} 2025-07-23 15:56:38,422 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:56:38,428 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:56:38,442 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:56:38,518 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,534 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,546 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:56:38,557 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:56:38,572 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/11022fb2-9a3f-48c1-a34e-4ddf6f7447cb 2025-07-23 15:56:38,581 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 15:56:38,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,595 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:56:38,614 - INFO - Verified VN network id 10 for VN 5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,614 - INFO - Verifications in API Server for VN ctest-vn-35021960 passed 2025-07-23 15:56:38,614 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,634 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:56:38,644 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:56:38,656 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/11022fb2-9a3f-48c1-a34e-4ddf6f7447cb 2025-07-23 15:56:38,671 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-35021960', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63236450', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6670221398254568121', 'uuid-lslong': '13539972601482102944'}, 'enable': 'true', 'created': '2025-07-23T15:56:36', 'last-modified': '2025-07-23T15:56:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474936'} 2025-07-23 15:56:38,678 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 15:56:38,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35021960 passed 2025-07-23 15:56:38,678 - DEBUG - ====Verifying policy data for ctest-vn-35021960 in API_Server ====== 2025-07-23 15:56:38,678 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:56:38,685 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:56:38,699 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:56:38,777 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5c916305-782c-42b9-bbe7-a557dbdcc8a0 2025-07-23 15:56:38,788 - DEBUG - ==>Verifying data for policy with id: 9ed16f35-df2e-4bc6-8ac5-96da76255411, fqn: ['default-domain', 'ctest-TestBasicPolicy-63236450', 'ctest-policy-allow-all-24963257'] 2025-07-23 15:56:38,789 - INFO - VN ctest-vn-35021960 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 15:56:38,789 - DEBUG - Verifying the vn in opserver 2025-07-23 15:56:38,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-35021960 virtual network link through opserver 10.0.0.19 2025-07-23 15:56:38,789 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 15:56:38,801 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-35021960', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-35021960?flat'} 2025-07-23 15:56:38,801 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-35021960 is found in opserver 2025-07-23 15:56:38,813 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 15:56:38,819 - DEBUG - VRF ids for VN ctest-vn-35021960: {} 2025-07-23 15:56:38,882 - DEBUG - Services list from nova: [, , ] 2025-07-23 15:56:39,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:56:41,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:56:41,111 - INFO - Waiting for VM ctest-TestBasicPolicy-63236450-64089603 to be up.. 2025-07-23 15:56:41,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 15:56:46,303 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:56:46,303 - INFO - VM name : ctest-TestBasicPolicy-63236450-64089603 2025-07-23 15:56:46,398 - DEBUG - VM ctest-TestBasicPolicy-63236450-64089603 ID is a756cfdf-f561-4e5c-aed1-73d892a6d10f 2025-07-23 15:56:46,418 - DEBUG - VM ctest-TestBasicPolicy-63236450-64089603 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:56:46,498 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a756cfdf-f561-4e5c-aed1-73d892a6d10f 2025-07-23 15:56:46,511 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b5ee2935-7ab3-4926-923e-162f93d91782 2025-07-23 15:56:49,779 - 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-07-23 15:56:49,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63236450-64089603 failed! 2025-07-23 15:56:49,835 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63236450:ctest-vn-79841529 is 100.157.185.65 and allocation pool is NOT set 2025-07-23 15:56:51,900 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 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 = 2.747/5.881/9.016/3.134 ms') 2025-07-23 15:56:51,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63236450-64089603 passed 2025-07-23 15:56:52,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:56:52,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63236450-64089603, IP 100.157.185.67, Port 22 2025-07-23 15:56:52,225 - DEBUG - VM ctest-TestBasicPolicy-63236450-64089603 is ready for SSH connections 2025-07-23 15:56:52,225 - INFO - Waiting for VM ctest-TestBasicPolicy-63236450-17860872 to be up.. 2025-07-23 15:56:52,398 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:56:52,398 - INFO - VM name : ctest-TestBasicPolicy-63236450-17860872 2025-07-23 15:56:52,470 - DEBUG - VM ctest-TestBasicPolicy-63236450-17860872 ID is eaee0537-4c31-4eb8-be9b-bb2f0e9d1bae 2025-07-23 15:56:52,470 - DEBUG - VM ctest-TestBasicPolicy-63236450-17860872 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:56:52,540 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/eaee0537-4c31-4eb8-be9b-bb2f0e9d1bae 2025-07-23 15:56:52,549 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c1e8a102-077d-4ee0-a28c-16e8c1dda2ed 2025-07-23 15:56:53,798 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.691 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.691/1.833/2.975/1.142 ms') 2025-07-23 15:56:53,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63236450-17860872 passed 2025-07-23 15:56:53,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:56:53,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63236450-17860872, IP 223.21.214.195, Port 22 2025-07-23 15:56:54,110 - DEBUG - VM ctest-TestBasicPolicy-63236450-17860872 is ready for SSH connections 2025-07-23 15:56:54,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:56:54,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.21.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:56:54,110 - DEBUG - ping -s 56 -c 3 -W 1 223.21.214.195 2025-07-23 15:56:58,206 - DEBUG - PING 223.21.214.195 (223.21.214.195): 56 data bytes 64 bytes from 223.21.214.195: seq=0 ttl=63 time=4.144 ms 64 bytes from 223.21.214.195: seq=1 ttl=63 time=0.823 ms 64 bytes from 223.21.214.195: seq=2 ttl=63 time=1.185 ms --- 223.21.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.050/4.144 ms 2025-07-23 15:56:58,207 - INFO - Ping to IP 223.21.214.195 from VM ctest-TestBasicPolicy-63236450-64089603 passed 2025-07-23 15:56:58,395 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9ed16f35-df2e-4bc6-8ac5-96da76255411", "href": "http://10.0.0.19:8082/network-policy/9ed16f35-df2e-4bc6-8ac5-96da76255411"}} 2025-07-23 15:56:58,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:56:58,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.21.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:56:58,395 - DEBUG - ping -s 56 -c 3 -W 1 223.21.214.195 2025-07-23 15:57:01,619 - DEBUG - PING 223.21.214.195 (223.21.214.195): 56 data bytes --- 223.21.214.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 15:57:01,619 - WARNING - Ping to IP 223.21.214.195 from VM ctest-TestBasicPolicy-63236450-64089603 failed 2025-07-23 15:57:01,619 - INFO - Deleting VM ctest-TestBasicPolicy-63236450-17860872 2025-07-23 15:57:01,688 - INFO - Deleting VM ctest-TestBasicPolicy-63236450-64089603 2025-07-23 15:57:02,124 - INFO - Deleted policy ctest-policy-allow-all-24963257 2025-07-23 15:57:02,124 - INFO - Deleting VN ctest-vn-35021960 2025-07-23 15:57:02,169 - DEBUG - VN 5c916305-782c-42b9-bbe7-a557dbdcc8a0 still in use: Unable to complete operation on network 5c916305-782c-42b9-bbe7-a557dbdcc8a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b5d3af6-e043-4be5-9a06-1ff5911fb54f'] 2025-07-23 15:57:02,170 - WARNING - Deleting VN ctest-vn-35021960 failed..Will retry 2025-07-23 15:57:04,280 - DEBUG - Response for deleting network () 2025-07-23 15:57:04,281 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f30dc700-a82c-4133-b43a-0f2bca1e87e3 2025-07-23 15:57:04,288 - DEBUG - Response Code: 404 2025-07-23 15:57:04,288 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:57:04,295 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:57:04,350 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:57:04,425 - INFO - Validated that VN ctest-vn-35021960 is not found in API Server 2025-07-23 15:57:04,439 - DEBUG - VN ctest-vn-35021960 is not present in Agent 10.0.0.19 2025-07-23 15:57:04,439 - INFO - Validated that VN ctest-vn-35021960 is not in any agent 2025-07-23 15:57:04,459 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35021960 info 2025-07-23 15:57:04,459 - INFO - Deleting VN ctest-vn-79841529 2025-07-23 15:57:04,578 - DEBUG - Response for deleting network () 2025-07-23 15:57:04,579 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24846a6b-1be3-47d0-a72f-c2e50295dd2c 2025-07-23 15:57:04,586 - DEBUG - Response Code: 404 2025-07-23 15:57:04,586 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 15:57:04,592 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d65b1b04-0716-43bd-8fa5-c3e2338f0bd4 2025-07-23 15:57:04,644 - DEBUG - Requesting: http://10.0.0.19:8082/project/9ef79c38-941d-4625-9bd5-9c6976f39d59 2025-07-23 15:57:04,717 - INFO - Validated that VN ctest-vn-79841529 is not found in API Server 2025-07-23 15:57:04,729 - DEBUG - VN ctest-vn-79841529 is not present in Agent 10.0.0.19 2025-07-23 15:57:04,729 - INFO - Validated that VN ctest-vn-79841529 is not in any agent 2025-07-23 15:57:04,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79841529 info 2025-07-23 15:57:05,006 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 15:57:05,006 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-07-23 15:57:05,007 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:57:05,726 - INFO - Deleted project: ctest-TestBasicPolicy-63236450, ID : 9ef79c38-941d-4625-9bd5-9c6976f39d59