2025-07-24 02:27:16,408 - INFO - Domain Default found not creating 2025-07-24 02:27:16,592 - INFO - Project ctest-TestBasicPolicy-31786924 not found, creating it 2025-07-24 02:27:17,114 - INFO - Created Project:ctest-TestBasicPolicy-31786924, ID : 6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:18,724 - INFO - ================================================================================ 2025-07-24 02:27:18,724 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-24 02:27:18,724 - 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-24 02:27:18,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-24 02:27:18,991 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:27:18,991 - INFO - 2025-07-24 02:27:19,579 - DEBUG - Response for create_network : {'network': {'id': '4e81acf2-b8ce-4314-9d92-f6a1cd6501b8', 'name': 'ctest-vn-56571079', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'project_id': '6100d9714ba54999a5f0befadc4cd0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-vn-56571079'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:19,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd237727d-cb05-47d1-a283-1c4e7aa72ad5', 'name': '', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'network_id': '4e81acf2-b8ce-4314-9d92-f6a1cd6501b8', 'ip_version': 4, 'cidr': '167.132.145.64/26', 'allocation_pools': [{'start': '167.132.145.66', 'end': '167.132.145.126'}], 'gateway_ip': '167.132.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.132.145.66', 'tags': [], 'project_id': '6100d9714ba54999a5f0befadc4cd0de'}} 2025-07-24 02:27:19,803 - INFO - Created VN ctest-vn-56571079 2025-07-24 02:27:19,860 - DEBUG - VN ctest-vn-56571079 UUID is 4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:20,207 - DEBUG - Response for create_network : {'network': {'id': 'bc150e3d-1468-4e21-a055-8ade389d11c0', 'name': 'ctest-vn-70254272', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'project_id': '6100d9714ba54999a5f0befadc4cd0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-vn-70254272'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:20,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '02672882-337a-481f-b931-10a612f796d8', 'name': '', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'network_id': 'bc150e3d-1468-4e21-a055-8ade389d11c0', 'ip_version': 4, 'cidr': '182.0.229.192/26', 'allocation_pools': [{'start': '182.0.229.194', 'end': '182.0.229.254'}], 'gateway_ip': '182.0.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.0.229.194', 'tags': [], 'project_id': '6100d9714ba54999a5f0befadc4cd0de'}} 2025-07-24 02:27:20,465 - INFO - Created VN ctest-vn-70254272 2025-07-24 02:27:20,520 - DEBUG - VN ctest-vn-70254272 UUID is bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:20,654 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079, 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-31786924:ctest-vn-70254272, 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-24 02:27:20,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e81acf2-b8ce-4314-9d92-f6a1cd6501b8', 'name': 'ctest-vn-56571079', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'project_id': '6100d9714ba54999a5f0befadc4cd0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d237727d-cb05-47d1-a283-1c4e7aa72ad5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-vn-56571079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-policy-allow-all-86473740']], 'subnet_ipam': [{'subnet_cidr': '167.132.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:21,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc150e3d-1468-4e21-a055-8ade389d11c0', 'name': 'ctest-vn-70254272', 'tenant_id': '6100d9714ba54999a5f0befadc4cd0de', 'project_id': '6100d9714ba54999a5f0befadc4cd0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02672882-337a-481f-b931-10a612f796d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-vn-70254272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-policy-allow-all-86473740']], 'subnet_ipam': [{'subnet_cidr': '182.0.229.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:21,448 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:21,770 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:21,810 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:21,831 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:21,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:21,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:21,938 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:21,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:21,957 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7283ae0d-402c-4d04-b23d-18435d0bbde2 2025-07-24 02:27:21,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:27:21,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:21,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:21,998 - INFO - Verified VN network id 11 for VN 4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:21,998 - INFO - Verifications in API Server for VN ctest-vn-56571079 passed 2025-07-24 02:27:21,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:22,013 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:22,022 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:22,031 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7283ae0d-402c-4d04-b23d-18435d0bbde2 2025-07-24 02:27:22,047 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31786924', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5656992765436642068', 'uuid-lslong': '11354408785350558136'}, 'enable': 'true', 'created': '2025-07-24T02:27:19', 'last-modified': '2025-07-24T02:27:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.086704'} 2025-07-24 02:27:22,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:27:22,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56571079 passed 2025-07-24 02:27:22,054 - DEBUG - ====Verifying policy data for ctest-vn-56571079 in API_Server ====== 2025-07-24 02:27:22,054 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:22,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:22,076 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:22,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4e81acf2-b8ce-4314-9d92-f6a1cd6501b8 2025-07-24 02:27:22,173 - DEBUG - ==>Verifying data for policy with id: b00a1202-26a9-4a3e-a23e-0e965b477d5b, fqn: ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-policy-allow-all-86473740'] 2025-07-24 02:27:22,173 - INFO - VN ctest-vn-56571079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:27:22,173 - DEBUG - Verifying the vn in opserver 2025-07-24 02:27:22,173 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079 virtual network link through opserver 10.0.0.50 2025-07-24 02:27:22,174 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-24 02:27:22,486 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-24 02:27:22,556 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079?flat'} 2025-07-24 02:27:22,556 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079 is found in opserver 2025-07-24 02:27:22,570 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:27:22,577 - DEBUG - VRF ids for VN ctest-vn-56571079: {} 2025-07-24 02:27:22,578 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:22,585 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:22,607 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:22,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,704 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,716 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:22,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:22,736 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6bb55210-15e1-430d-b236-e5d6abf77d9f 2025-07-24 02:27:22,746 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:27:22,746 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,757 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:22,777 - INFO - Verified VN network id 12 for VN bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,777 - INFO - Verifications in API Server for VN ctest-vn-70254272 passed 2025-07-24 02:27:22,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,793 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:22,804 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:22,814 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6bb55210-15e1-430d-b236-e5d6abf77d9f 2025-07-24 02:27:22,832 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-70254272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31786924', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13552754309139549729', 'uuid-lslong': '11553293106126066112'}, 'enable': 'true', 'created': '2025-07-24T02:27:20', 'last-modified': '2025-07-24T02:27:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616946'} 2025-07-24 02:27:22,840 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:27:22,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70254272 passed 2025-07-24 02:27:22,841 - DEBUG - ====Verifying policy data for ctest-vn-70254272 in API_Server ====== 2025-07-24 02:27:22,841 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:22,848 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:22,864 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:22,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc150e3d-1468-4e21-a055-8ade389d11c0 2025-07-24 02:27:22,953 - DEBUG - ==>Verifying data for policy with id: b00a1202-26a9-4a3e-a23e-0e965b477d5b, fqn: ['default-domain', 'ctest-TestBasicPolicy-31786924', 'ctest-policy-allow-all-86473740'] 2025-07-24 02:27:22,953 - INFO - VN ctest-vn-70254272 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:27:22,953 - DEBUG - Verifying the vn in opserver 2025-07-24 02:27:22,953 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-70254272 virtual network link through opserver 10.0.0.50 2025-07-24 02:27:22,953 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-24 02:27:22,967 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-70254272', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-70254272?flat'} 2025-07-24 02:27:22,967 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-70254272 is found in opserver 2025-07-24 02:27:22,981 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:27:22,987 - DEBUG - VRF ids for VN ctest-vn-70254272: {} 2025-07-24 02:27:23,060 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:27:24,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:27:25,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:27:25,397 - INFO - Waiting for VM ctest-TestBasicPolicy-31786924-77355186 to be up.. 2025-07-24 02:27:25,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:27:30,581 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:27:30,581 - INFO - VM name : ctest-TestBasicPolicy-31786924-77355186 2025-07-24 02:27:30,677 - DEBUG - VM ctest-TestBasicPolicy-31786924-77355186 ID is 07daeec1-8476-4d24-8a2a-b26633e5ccd8 2025-07-24 02:27:30,701 - DEBUG - VM ctest-TestBasicPolicy-31786924-77355186 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:27:30,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/07daeec1-8476-4d24-8a2a-b26633e5ccd8 2025-07-24 02:27:30,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c0bde1c8-e886-482d-8e40-e488ef59572d 2025-07-24 02:27:34,078 - 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 1014ms') 2025-07-24 02:27:34,078 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31786924-77355186 failed! 2025-07-24 02:27:34,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31786924:ctest-vn-56571079 is 167.132.145.65 and allocation pool is NOT set 2025-07-24 02:27:36,202 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/4.422/8.326/3.903 ms') 2025-07-24 02:27:36,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31786924-77355186 passed 2025-07-24 02:27:36,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:27:36,360 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31786924-77355186, IP 167.132.145.67, Port 22 2025-07-24 02:27:36,517 - DEBUG - VM ctest-TestBasicPolicy-31786924-77355186 is ready for SSH connections 2025-07-24 02:27:36,517 - INFO - Waiting for VM ctest-TestBasicPolicy-31786924-38464060 to be up.. 2025-07-24 02:27:36,617 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:27:36,617 - INFO - VM name : ctest-TestBasicPolicy-31786924-38464060 2025-07-24 02:27:36,708 - DEBUG - VM ctest-TestBasicPolicy-31786924-38464060 ID is 95cae6a3-07cc-426c-bbdf-cde64e0fde5a 2025-07-24 02:27:36,709 - DEBUG - VM ctest-TestBasicPolicy-31786924-38464060 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:27:36,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/95cae6a3-07cc-426c-bbdf-cde64e0fde5a 2025-07-24 02:27:36,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/09be2095-0cbc-4f09-bdcf-99be72808104 2025-07-24 02:27:38,097 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.94 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.930/2.932/2.935/0.002 ms') 2025-07-24 02:27:38,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31786924-38464060 passed 2025-07-24 02:27:38,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:27:38,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31786924-38464060, IP 182.0.229.195, Port 22 2025-07-24 02:27:38,407 - DEBUG - VM ctest-TestBasicPolicy-31786924-38464060 is ready for SSH connections 2025-07-24 02:27:38,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:27:38,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.0.229.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:27:38,408 - DEBUG - ping -s 56 -c 3 -W 1 182.0.229.195 2025-07-24 02:27:42,474 - DEBUG - PING 182.0.229.195 (182.0.229.195): 56 data bytes 64 bytes from 182.0.229.195: seq=0 ttl=63 time=4.607 ms 64 bytes from 182.0.229.195: seq=1 ttl=63 time=1.027 ms 64 bytes from 182.0.229.195: seq=2 ttl=63 time=1.036 ms --- 182.0.229.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.027/2.223/4.607 ms 2025-07-24 02:27:42,474 - INFO - Ping to IP 182.0.229.195 from VM ctest-TestBasicPolicy-31786924-77355186 passed 2025-07-24 02:27:42,668 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b00a1202-26a9-4a3e-a23e-0e965b477d5b", "href": "http://10.0.0.50:8082/network-policy/b00a1202-26a9-4a3e-a23e-0e965b477d5b"}} 2025-07-24 02:27:42,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:27:42,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.0.229.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:27:42,668 - DEBUG - ping -s 56 -c 3 -W 1 182.0.229.195 2025-07-24 02:27:45,889 - DEBUG - PING 182.0.229.195 (182.0.229.195): 56 data bytes --- 182.0.229.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-24 02:27:45,890 - WARNING - Ping to IP 182.0.229.195 from VM ctest-TestBasicPolicy-31786924-77355186 failed 2025-07-24 02:27:45,890 - INFO - Deleting VM ctest-TestBasicPolicy-31786924-38464060 2025-07-24 02:27:45,979 - INFO - Deleting VM ctest-TestBasicPolicy-31786924-77355186 2025-07-24 02:27:46,458 - INFO - Deleted policy ctest-policy-allow-all-86473740 2025-07-24 02:27:46,458 - INFO - Deleting VN ctest-vn-70254272 2025-07-24 02:27:46,503 - DEBUG - VN bc150e3d-1468-4e21-a055-8ade389d11c0 still in use: Unable to complete operation on network bc150e3d-1468-4e21-a055-8ade389d11c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84afa6f8-d997-419c-992f-1046f3573c08'] 2025-07-24 02:27:46,503 - WARNING - Deleting VN ctest-vn-70254272 failed..Will retry 2025-07-24 02:27:48,642 - DEBUG - Response for deleting network () 2025-07-24 02:27:48,642 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c9f6cb3-d810-4d93-a5bb-4224e4e0221f 2025-07-24 02:27:48,652 - DEBUG - Response Code: 404 2025-07-24 02:27:48,652 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:48,660 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:48,721 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:48,805 - INFO - Validated that VN ctest-vn-70254272 is not found in API Server 2025-07-24 02:27:48,820 - DEBUG - VN ctest-vn-70254272 is not present in Agent 10.0.0.50 2025-07-24 02:27:48,820 - INFO - Validated that VN ctest-vn-70254272 is not in any agent 2025-07-24 02:27:48,840 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70254272 info 2025-07-24 02:27:48,840 - INFO - Deleting VN ctest-vn-56571079 2025-07-24 02:27:48,968 - DEBUG - Response for deleting network () 2025-07-24 02:27:48,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/413af2cc-0039-4d75-a115-b7cb19897a91 2025-07-24 02:27:48,976 - DEBUG - Response Code: 404 2025-07-24 02:27:48,976 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-24 02:27:48,982 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8ce4b32a-1f3b-43f0-a6b5-c82ec0c5a34b 2025-07-24 02:27:49,040 - DEBUG - Requesting: http://10.0.0.50:8082/project/6100d971-4ba5-4999-a5f0-befadc4cd0de 2025-07-24 02:27:49,123 - INFO - Validated that VN ctest-vn-56571079 is not found in API Server 2025-07-24 02:27:49,138 - DEBUG - VN ctest-vn-56571079 is not present in Agent 10.0.0.50 2025-07-24 02:27:49,139 - INFO - Validated that VN ctest-vn-56571079 is not in any agent 2025-07-24 02:27:49,160 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56571079 info 2025-07-24 02:27:49,419 - DEBUG - No XMPP flaps were noticed during the test 2025-07-24 02:27:49,419 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-07-24 02:27:49,419 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:27:50,172 - INFO - Deleted project: ctest-TestBasicPolicy-31786924, ID : 6100d971-4ba5-4999-a5f0-befadc4cd0de