2025-01-07 09:33:37,973 - INFO - Domain Default found not creating 2025-01-07 09:33:38,138 - INFO - Project ctest-TestBasicPolicy-54024663 not found, creating it 2025-01-07 09:33:38,680 - INFO - Created Project:ctest-TestBasicPolicy-54024663, ID : 0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:33:40,362 - INFO - ================================================================================ 2025-01-07 09:33:40,362 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 09:33:40,362 - 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-01-07 09:33:40,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-07 09:33:40,626 - INFO - Initial checks done. Running the testcase now 2025-01-07 09:33:40,626 - INFO - 2025-01-07 09:33:41,214 - DEBUG - Response for create_network : {'network': {'id': 'ee316c83-569e-4fc1-b2e8-09679ebb1925', 'name': 'ctest-vn-52723370', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'project_id': '0cfa779c23584df0a00b457b92f2f459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-vn-52723370'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:41,374 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5b536b0-def2-496a-9555-7868bbbf2a2d', 'name': '', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'network_id': 'ee316c83-569e-4fc1-b2e8-09679ebb1925', 'ip_version': 4, 'cidr': '81.15.220.64/26', 'allocation_pools': [{'start': '81.15.220.66', 'end': '81.15.220.126'}], 'gateway_ip': '81.15.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.15.220.66', 'tags': [], 'project_id': '0cfa779c23584df0a00b457b92f2f459'}} 2025-01-07 09:33:41,395 - INFO - Created VN ctest-vn-52723370 2025-01-07 09:33:41,449 - DEBUG - VN ctest-vn-52723370 UUID is ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:41,789 - DEBUG - Response for create_network : {'network': {'id': 'f87daa10-d94e-449a-9181-32aee29c43be', 'name': 'ctest-vn-89334435', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'project_id': '0cfa779c23584df0a00b457b92f2f459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-vn-89334435'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:42,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '8da008fa-4f32-456a-9de2-2e5d93e5a1db', 'name': '', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'network_id': 'f87daa10-d94e-449a-9181-32aee29c43be', 'ip_version': 4, 'cidr': '64.144.76.64/26', 'allocation_pools': [{'start': '64.144.76.66', 'end': '64.144.76.126'}], 'gateway_ip': '64.144.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.144.76.66', 'tags': [], 'project_id': '0cfa779c23584df0a00b457b92f2f459'}} 2025-01-07 09:33:42,032 - INFO - Created VN ctest-vn-89334435 2025-01-07 09:33:42,085 - DEBUG - VN ctest-vn-89334435 UUID is f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:42,208 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370, 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-54024663:ctest-vn-89334435, 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-01-07 09:33:42,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee316c83-569e-4fc1-b2e8-09679ebb1925', 'name': 'ctest-vn-52723370', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'project_id': '0cfa779c23584df0a00b457b92f2f459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b5b536b0-def2-496a-9555-7868bbbf2a2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-vn-52723370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-policy-allow-all-66184993']], 'subnet_ipam': [{'subnet_cidr': '81.15.220.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:42,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f87daa10-d94e-449a-9181-32aee29c43be', 'name': 'ctest-vn-89334435', 'tenant_id': '0cfa779c23584df0a00b457b92f2f459', 'project_id': '0cfa779c23584df0a00b457b92f2f459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8da008fa-4f32-456a-9de2-2e5d93e5a1db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-vn-89334435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-policy-allow-all-66184993']], 'subnet_ipam': [{'subnet_cidr': '64.144.76.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:43,001 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:33:43,316 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:33:43,348 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:33:43,363 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:33:43,440 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,454 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,467 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:33:43,478 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:33:43,486 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/ded277d5-368b-4139-9ed9-04e8ae23d437 2025-01-07 09:33:43,493 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 09:33:43,493 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,503 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:33:43,519 - INFO - Verified VN network id 8 for VN ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,519 - INFO - Verifications in API Server for VN ctest-vn-52723370 passed 2025-01-07 09:33:43,519 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,531 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:33:43,539 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:33:43,547 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/ded277d5-368b-4139-9ed9-04e8ae23d437 2025-01-07 09:33:43,560 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54024663', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17163618966235402177', 'uuid-lslong': '12891564273997388069'}, 'enable': 'true', 'created': '2025-01-07T09:33:41', 'last-modified': '2025-01-07T09:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056390'} 2025-01-07 09:33:43,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 09:33:43,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52723370 passed 2025-01-07 09:33:43,567 - DEBUG - ====Verifying policy data for ctest-vn-52723370 in API_Server ====== 2025-01-07 09:33:43,568 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:33:43,575 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:33:43,589 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:33:43,669 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ee316c83-569e-4fc1-b2e8-09679ebb1925 2025-01-07 09:33:43,680 - DEBUG - ==>Verifying data for policy with id: 18615054-e80f-4a4a-aa95-844b843bda2f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-policy-allow-all-66184993'] 2025-01-07 09:33:43,680 - INFO - VN ctest-vn-52723370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 09:33:43,680 - DEBUG - Verifying the vn in opserver 2025-01-07 09:33:43,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370 virtual network link through opserver 10.0.0.31 2025-01-07 09:33:43,680 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 09:33:43,974 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 09:33:44,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370?flat'} 2025-01-07 09:33:44,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370 is found in opserver 2025-01-07 09:33:44,049 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 09:33:44,057 - DEBUG - VRF ids for VN ctest-vn-52723370: {} 2025-01-07 09:33:44,057 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:33:44,064 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:33:44,076 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:33:44,149 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,164 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,175 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:33:44,184 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:33:44,192 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/89988fbb-140a-45a7-bf31-f28b4c2a3cd9 2025-01-07 09:33:44,199 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 09:33:44,199 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,209 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:33:44,226 - INFO - Verified VN network id 9 for VN f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,226 - INFO - Verifications in API Server for VN ctest-vn-89334435 passed 2025-01-07 09:33:44,227 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,239 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:33:44,248 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:33:44,257 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/89988fbb-140a-45a7-bf31-f28b4c2a3cd9 2025-01-07 09:33:44,275 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-89334435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54024663', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17905654682836944026', 'uuid-lslong': '10484717134202815422'}, 'enable': 'true', 'created': '2025-01-07T09:33:41', 'last-modified': '2025-01-07T09:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505768'} 2025-01-07 09:33:44,283 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 09:33:44,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89334435 passed 2025-01-07 09:33:44,284 - DEBUG - ====Verifying policy data for ctest-vn-89334435 in API_Server ====== 2025-01-07 09:33:44,284 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:33:44,290 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:33:44,303 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:33:44,381 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/f87daa10-d94e-449a-9181-32aee29c43be 2025-01-07 09:33:44,393 - DEBUG - ==>Verifying data for policy with id: 18615054-e80f-4a4a-aa95-844b843bda2f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54024663', 'ctest-policy-allow-all-66184993'] 2025-01-07 09:33:44,393 - INFO - VN ctest-vn-89334435 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 09:33:44,393 - DEBUG - Verifying the vn in opserver 2025-01-07 09:33:44,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-89334435 virtual network link through opserver 10.0.0.31 2025-01-07 09:33:44,393 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 09:33:44,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-89334435', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-89334435?flat'} 2025-01-07 09:33:44,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-89334435 is found in opserver 2025-01-07 09:33:44,416 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 09:33:44,422 - DEBUG - VRF ids for VN ctest-vn-89334435: {} 2025-01-07 09:33:44,488 - DEBUG - Services list from nova: [, , ] 2025-01-07 09:33:45,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:33:46,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:33:46,963 - INFO - Waiting for VM ctest-TestBasicPolicy-54024663-38642457 to be up.. 2025-01-07 09:33:47,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 09:33:52,167 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:33:52,167 - INFO - VM name : ctest-TestBasicPolicy-54024663-38642457 2025-01-07 09:33:52,257 - DEBUG - VM ctest-TestBasicPolicy-54024663-38642457 ID is ae16757c-8ed5-4e9b-874c-3da5040ca00c 2025-01-07 09:33:52,278 - DEBUG - VM ctest-TestBasicPolicy-54024663-38642457 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:33:52,369 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ae16757c-8ed5-4e9b-874c-3da5040ca00c 2025-01-07 09:33:52,380 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f9708dce-c15f-4e7c-8713-9a25d4d034a2 2025-01-07 09:33:55,642 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-01-07 09:33:55,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54024663-38642457 failed! 2025-01-07 09:33:55,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54024663:ctest-vn-52723370 is 81.15.220.65 and allocation pool is NOT set 2025-01-07 09:33:57,771 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/4.844/9.342/4.497 ms') 2025-01-07 09:33:57,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54024663-38642457 passed 2025-01-07 09:33:57,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:33:57,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54024663-38642457, IP 81.15.220.67, Port 22 2025-01-07 09:33:58,096 - DEBUG - VM ctest-TestBasicPolicy-54024663-38642457 is ready for SSH connections 2025-01-07 09:33:58,096 - INFO - Waiting for VM ctest-TestBasicPolicy-54024663-47245114 to be up.. 2025-01-07 09:33:58,208 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:33:58,208 - INFO - VM name : ctest-TestBasicPolicy-54024663-47245114 2025-01-07 09:33:58,305 - DEBUG - VM ctest-TestBasicPolicy-54024663-47245114 ID is 6314c880-e4c7-4b19-8287-bc32b8fd5065 2025-01-07 09:33:58,306 - DEBUG - VM ctest-TestBasicPolicy-54024663-47245114 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:33:58,404 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6314c880-e4c7-4b19-8287-bc32b8fd5065 2025-01-07 09:33:58,418 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/2735fc7b-46be-41ef-9e12-9bdaa1ef6e6e 2025-01-07 09:33:59,667 - 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=5.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.333/3.423/5.513/2.090 ms') 2025-01-07 09:33:59,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54024663-47245114 passed 2025-01-07 09:33:59,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:33:59,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54024663-47245114, IP 64.144.76.67, Port 22 2025-01-07 09:34:00,002 - DEBUG - VM ctest-TestBasicPolicy-54024663-47245114 is ready for SSH connections 2025-01-07 09:34:00,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:34:00,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.144.76.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 09:34:00,002 - DEBUG - ping -s 56 -c 3 -W 1 64.144.76.67 2025-01-07 09:34:04,077 - DEBUG - PING 64.144.76.67 (64.144.76.67): 56 data bytes 64 bytes from 64.144.76.67: seq=0 ttl=63 time=4.514 ms 64 bytes from 64.144.76.67: seq=1 ttl=63 time=1.041 ms 64 bytes from 64.144.76.67: seq=2 ttl=63 time=1.059 ms --- 64.144.76.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.204/4.514 ms 2025-01-07 09:34:04,077 - INFO - Ping to IP 64.144.76.67 from VM ctest-TestBasicPolicy-54024663-38642457 passed 2025-01-07 09:34:04,281 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18615054-e80f-4a4a-aa95-844b843bda2f", "href": "http://10.0.0.31:8082/network-policy/18615054-e80f-4a4a-aa95-844b843bda2f"}} 2025-01-07 09:34:04,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:34:04,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.144.76.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 09:34:04,281 - DEBUG - ping -s 56 -c 3 -W 1 64.144.76.67 2025-01-07 09:34:07,504 - DEBUG - PING 64.144.76.67 (64.144.76.67): 56 data bytes 64 bytes from 64.144.76.67: seq=0 ttl=63 time=1.366 ms --- 64.144.76.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.366/1.366/1.366 ms 2025-01-07 09:34:07,504 - WARNING - Ping to IP 64.144.76.67 from VM ctest-TestBasicPolicy-54024663-38642457 failed 2025-01-07 09:34:07,505 - INFO - Deleting VM ctest-TestBasicPolicy-54024663-47245114 2025-01-07 09:34:07,606 - INFO - Deleting VM ctest-TestBasicPolicy-54024663-38642457 2025-01-07 09:34:08,046 - INFO - Deleted policy ctest-policy-allow-all-66184993 2025-01-07 09:34:08,046 - INFO - Deleting VN ctest-vn-89334435 2025-01-07 09:34:08,101 - DEBUG - VN f87daa10-d94e-449a-9181-32aee29c43be still in use: Unable to complete operation on network f87daa10-d94e-449a-9181-32aee29c43be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3567fc7-c531-4370-bbea-ff88988a8c88'] 2025-01-07 09:34:08,102 - WARNING - Deleting VN ctest-vn-89334435 failed..Will retry 2025-01-07 09:34:10,222 - DEBUG - Response for deleting network () 2025-01-07 09:34:10,222 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f3b8f446-de44-42fa-993c-faa46e181a63 2025-01-07 09:34:10,229 - DEBUG - Response Code: 404 2025-01-07 09:34:10,230 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:34:10,238 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:34:10,297 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:34:10,372 - INFO - Validated that VN ctest-vn-89334435 is not found in API Server 2025-01-07 09:34:10,384 - DEBUG - VN ctest-vn-89334435 is not present in Agent 10.0.0.31 2025-01-07 09:34:10,385 - INFO - Validated that VN ctest-vn-89334435 is not in any agent 2025-01-07 09:34:10,404 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89334435 info 2025-01-07 09:34:10,404 - INFO - Deleting VN ctest-vn-52723370 2025-01-07 09:34:10,530 - DEBUG - Response for deleting network () 2025-01-07 09:34:10,530 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/f8cd66c6-5306-4616-bfac-eaef2275c7c3 2025-01-07 09:34:10,536 - DEBUG - Response Code: 404 2025-01-07 09:34:10,536 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 09:34:10,544 - DEBUG - Requesting: http://10.0.0.31:8082/domain/af782208-78bf-4dc8-a6e7-5ebed5034e72 2025-01-07 09:34:10,601 - DEBUG - Requesting: http://10.0.0.31:8082/project/0cfa779c-2358-4df0-a00b-457b92f2f459 2025-01-07 09:34:10,676 - INFO - Validated that VN ctest-vn-52723370 is not found in API Server 2025-01-07 09:34:10,688 - DEBUG - VN ctest-vn-52723370 is not present in Agent 10.0.0.31 2025-01-07 09:34:10,688 - INFO - Validated that VN ctest-vn-52723370 is not in any agent 2025-01-07 09:34:10,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52723370 info 2025-01-07 09:34:10,964 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 09:34:10,964 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-07 09:34:10,965 - INFO - -------------------------------------------------------------------------------- 2025-01-07 09:34:11,671 - INFO - Deleted project: ctest-TestBasicPolicy-54024663, ID : 0cfa779c-2358-4df0-a00b-457b92f2f459