2025-06-17 17:55:05,730 - INFO - Domain Default found not creating 2025-06-17 17:55:05,910 - INFO - Project ctest-TestBasicPolicy-42890343 not found, creating it 2025-06-17 17:55:06,388 - INFO - Created Project:ctest-TestBasicPolicy-42890343, ID : 1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:07,874 - INFO - ================================================================================ 2025-06-17 17:55:07,874 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-17 17:55:07,874 - 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-06-17 17:55:08,133 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-06-17 17:55:08,133 - INFO - Initial checks done. Running the testcase now 2025-06-17 17:55:08,133 - INFO - 2025-06-17 17:55:08,679 - DEBUG - Response for create_network : {'network': {'id': 'a4562cda-e114-47c0-a369-5b2867f0436e', 'name': 'ctest-vn-09420229', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'project_id': '1d190ddedeae48829448f855be9dcca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-vn-09420229'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 17:55:08,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '16e56285-0abb-427b-bbc4-07b73f4cf8cd', 'name': '', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'network_id': 'a4562cda-e114-47c0-a369-5b2867f0436e', 'ip_version': 4, 'cidr': '114.101.169.0/26', 'allocation_pools': [{'start': '114.101.169.2', 'end': '114.101.169.62'}], 'gateway_ip': '114.101.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.101.169.2', 'tags': [], 'project_id': '1d190ddedeae48829448f855be9dcca3'}} 2025-06-17 17:55:08,901 - INFO - Created VN ctest-vn-09420229 2025-06-17 17:55:08,954 - DEBUG - VN ctest-vn-09420229 UUID is a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:09,248 - DEBUG - Response for create_network : {'network': {'id': '70253b9f-3471-4ab4-9155-a49823b6e3d6', 'name': 'ctest-vn-54772349', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'project_id': '1d190ddedeae48829448f855be9dcca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-vn-54772349'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 17:55:09,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '3eec22c8-b7a8-4600-97ab-7d1c4e7fb8e7', 'name': '', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'network_id': '70253b9f-3471-4ab4-9155-a49823b6e3d6', 'ip_version': 4, 'cidr': '222.190.245.128/26', 'allocation_pools': [{'start': '222.190.245.130', 'end': '222.190.245.190'}], 'gateway_ip': '222.190.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.190.245.130', 'tags': [], 'project_id': '1d190ddedeae48829448f855be9dcca3'}} 2025-06-17 17:55:09,416 - INFO - Created VN ctest-vn-54772349 2025-06-17 17:55:09,470 - DEBUG - VN ctest-vn-54772349 UUID is 70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:09,664 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229, 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-42890343:ctest-vn-54772349, 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-06-17 17:55:09,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4562cda-e114-47c0-a369-5b2867f0436e', 'name': 'ctest-vn-09420229', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'project_id': '1d190ddedeae48829448f855be9dcca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16e56285-0abb-427b-bbc4-07b73f4cf8cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-vn-09420229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-policy-allow-all-67439340']], 'subnet_ipam': [{'subnet_cidr': '114.101.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 17:55:10,249 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70253b9f-3471-4ab4-9155-a49823b6e3d6', 'name': 'ctest-vn-54772349', 'tenant_id': '1d190ddedeae48829448f855be9dcca3', 'project_id': '1d190ddedeae48829448f855be9dcca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3eec22c8-b7a8-4600-97ab-7d1c4e7fb8e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-vn-54772349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-policy-allow-all-67439340']], 'subnet_ipam': [{'subnet_cidr': '222.190.245.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 17:55:10,390 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:10,685 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:10,715 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:10,730 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:10,802 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:10,814 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:10,824 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:10,832 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:10,840 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/17fd92b6-84f9-4989-a33a-c47ae1c61f2f 2025-06-17 17:55:10,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 17:55:10,848 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:10,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:10,876 - INFO - Verified VN network id 8 for VN a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:10,876 - INFO - Verifications in API Server for VN ctest-vn-09420229 passed 2025-06-17 17:55:10,876 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:10,886 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:10,893 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:10,900 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/17fd92b6-84f9-4989-a33a-c47ae1c61f2f 2025-06-17 17:55:10,912 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42890343', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11841701588807993280', 'uuid-lslong': '11775042929837491054'}, 'enable': 'true', 'created': '2025-06-17T17:55:08', 'last-modified': '2025-06-17T17:55:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981337'} 2025-06-17 17:55:10,918 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 17:55:10,918 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09420229 passed 2025-06-17 17:55:10,918 - DEBUG - ====Verifying policy data for ctest-vn-09420229 in API_Server ====== 2025-06-17 17:55:10,918 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:10,924 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:10,936 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:11,008 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a4562cda-e114-47c0-a369-5b2867f0436e 2025-06-17 17:55:11,026 - DEBUG - ==>Verifying data for policy with id: b4600cee-f3b9-4e7d-86ff-04be8069361e, fqn: ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-policy-allow-all-67439340'] 2025-06-17 17:55:11,027 - INFO - VN ctest-vn-09420229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 17:55:11,027 - DEBUG - Verifying the vn in opserver 2025-06-17 17:55:11,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229 virtual network link through opserver 10.0.0.249 2025-06-17 17:55:11,027 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-17 17:55:11,330 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-17 17:55:11,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229?flat'} 2025-06-17 17:55:11,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229 is found in opserver 2025-06-17 17:55:11,399 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 17:55:11,404 - DEBUG - VRF ids for VN ctest-vn-09420229: {} 2025-06-17 17:55:11,404 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:11,410 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:11,421 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:11,489 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,501 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,512 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:11,520 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:11,528 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/704284c3-a44a-452c-81e5-9e22cf6384b1 2025-06-17 17:55:11,535 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 17:55:11,535 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,545 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:11,561 - INFO - Verified VN network id 9 for VN 70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,561 - INFO - Verifications in API Server for VN ctest-vn-54772349 passed 2025-06-17 17:55:11,561 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,571 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:11,579 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:11,586 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/704284c3-a44a-452c-81e5-9e22cf6384b1 2025-06-17 17:55:11,598 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-54772349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42890343', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8080930661351901876', 'uuid-lslong': '10472457481861129174'}, 'enable': 'true', 'created': '2025-06-17T17:55:09', 'last-modified': '2025-06-17T17:55:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416216'} 2025-06-17 17:55:11,604 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 17:55:11,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54772349 passed 2025-06-17 17:55:11,605 - DEBUG - ====Verifying policy data for ctest-vn-54772349 in API_Server ====== 2025-06-17 17:55:11,605 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:11,610 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:11,623 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:11,700 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70253b9f-3471-4ab4-9155-a49823b6e3d6 2025-06-17 17:55:11,711 - DEBUG - ==>Verifying data for policy with id: b4600cee-f3b9-4e7d-86ff-04be8069361e, fqn: ['default-domain', 'ctest-TestBasicPolicy-42890343', 'ctest-policy-allow-all-67439340'] 2025-06-17 17:55:11,711 - INFO - VN ctest-vn-54772349 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 17:55:11,711 - DEBUG - Verifying the vn in opserver 2025-06-17 17:55:11,711 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-54772349 virtual network link through opserver 10.0.0.249 2025-06-17 17:55:11,711 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-17 17:55:11,722 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-54772349', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-54772349?flat'} 2025-06-17 17:55:11,722 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-54772349 is found in opserver 2025-06-17 17:55:11,735 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 17:55:11,741 - DEBUG - VRF ids for VN ctest-vn-54772349: {} 2025-06-17 17:55:11,799 - DEBUG - Services list from nova: [, , ] 2025-06-17 17:55:12,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3463-1) 2025-06-17 17:55:14,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3463-1) 2025-06-17 17:55:14,075 - INFO - Waiting for VM ctest-TestBasicPolicy-42890343-23480725 to be up.. 2025-06-17 17:55:14,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 17:55:19,229 - DEBUG - VM is in ACTIVE state now 2025-06-17 17:55:19,229 - INFO - VM name : ctest-TestBasicPolicy-42890343-23480725 2025-06-17 17:55:19,306 - DEBUG - VM ctest-TestBasicPolicy-42890343-23480725 ID is 26771d10-3ab9-41df-80c7-8f1b9c761c8e 2025-06-17 17:55:19,323 - DEBUG - VM ctest-TestBasicPolicy-42890343-23480725 launched on Node cn-jenkins-deploy-platform-ansible-os-3463-1 2025-06-17 17:55:19,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/26771d10-3ab9-41df-80c7-8f1b9c761c8e 2025-06-17 17:55:19,402 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/deec9ad6-a9a0-431d-9cb1-5cfe1bef4e3a 2025-06-17 17:55:22,658 - 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 1017ms') 2025-06-17 17:55:22,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42890343-23480725 failed! 2025-06-17 17:55:22,714 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42890343:ctest-vn-09420229 is 114.101.169.1 and allocation pool is NOT set 2025-06-17 17:55:24,775 - 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=7.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/4.030/7.587/3.556 ms') 2025-06-17 17:55:24,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42890343-23480725 passed 2025-06-17 17:55:24,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:55:24,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42890343-23480725, IP 114.101.169.3, Port 22 2025-06-17 17:55:25,099 - DEBUG - VM ctest-TestBasicPolicy-42890343-23480725 is ready for SSH connections 2025-06-17 17:55:25,099 - INFO - Waiting for VM ctest-TestBasicPolicy-42890343-12000536 to be up.. 2025-06-17 17:55:25,190 - DEBUG - VM is in ACTIVE state now 2025-06-17 17:55:25,190 - INFO - VM name : ctest-TestBasicPolicy-42890343-12000536 2025-06-17 17:55:25,281 - DEBUG - VM ctest-TestBasicPolicy-42890343-12000536 ID is e50e05f8-aa0c-4ca0-a17d-fcad0a707f1e 2025-06-17 17:55:25,281 - DEBUG - VM ctest-TestBasicPolicy-42890343-12000536 launched on Node cn-jenkins-deploy-platform-ansible-os-3463-1 2025-06-17 17:55:25,378 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e50e05f8-aa0c-4ca0-a17d-fcad0a707f1e 2025-06-17 17:55:25,391 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8520ac66-bbe9-4802-99ee-4c0465853bc9 2025-06-17 17:55:26,657 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.580 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.580/2.057/3.535/1.477 ms') 2025-06-17 17:55:26,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42890343-12000536 passed 2025-06-17 17:55:26,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:55:26,817 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42890343-12000536, IP 222.190.245.131, Port 22 2025-06-17 17:55:26,973 - DEBUG - VM ctest-TestBasicPolicy-42890343-12000536 is ready for SSH connections 2025-06-17 17:55:26,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:55:26,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.190.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-17 17:55:26,974 - DEBUG - ping -s 56 -c 3 -W 1 222.190.245.131 2025-06-17 17:55:31,087 - DEBUG - PING 222.190.245.131 (222.190.245.131): 56 data bytes 64 bytes from 222.190.245.131: seq=0 ttl=63 time=4.183 ms 64 bytes from 222.190.245.131: seq=1 ttl=63 time=0.696 ms 64 bytes from 222.190.245.131: seq=2 ttl=63 time=0.927 ms --- 222.190.245.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.696/1.935/4.183 ms 2025-06-17 17:55:31,087 - INFO - Ping to IP 222.190.245.131 from VM ctest-TestBasicPolicy-42890343-23480725 passed 2025-06-17 17:55:31,277 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b4600cee-f3b9-4e7d-86ff-04be8069361e", "href": "http://10.0.0.249:8082/network-policy/b4600cee-f3b9-4e7d-86ff-04be8069361e"}} 2025-06-17 17:55:31,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:55:31,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.190.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-17 17:55:31,278 - DEBUG - ping -s 56 -c 3 -W 1 222.190.245.131 2025-06-17 17:55:34,499 - DEBUG - PING 222.190.245.131 (222.190.245.131): 56 data bytes --- 222.190.245.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-17 17:55:34,500 - WARNING - Ping to IP 222.190.245.131 from VM ctest-TestBasicPolicy-42890343-23480725 failed 2025-06-17 17:55:34,500 - INFO - Deleting VM ctest-TestBasicPolicy-42890343-12000536 2025-06-17 17:55:34,568 - INFO - Deleting VM ctest-TestBasicPolicy-42890343-23480725 2025-06-17 17:55:34,921 - INFO - Deleted policy ctest-policy-allow-all-67439340 2025-06-17 17:55:34,921 - INFO - Deleting VN ctest-vn-54772349 2025-06-17 17:55:34,959 - DEBUG - VN 70253b9f-3471-4ab4-9155-a49823b6e3d6 still in use: Unable to complete operation on network 70253b9f-3471-4ab4-9155-a49823b6e3d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb0dcd0b-55e9-417a-b6ea-da9724dfe5ef'] 2025-06-17 17:55:34,959 - WARNING - Deleting VN ctest-vn-54772349 failed..Will retry 2025-06-17 17:55:37,058 - DEBUG - Response for deleting network () 2025-06-17 17:55:37,059 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b154c614-3e97-4ad5-bc58-cea1081fd639 2025-06-17 17:55:37,065 - DEBUG - Response Code: 404 2025-06-17 17:55:37,065 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:37,074 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:37,127 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:37,201 - INFO - Validated that VN ctest-vn-54772349 is not found in API Server 2025-06-17 17:55:37,213 - DEBUG - VN ctest-vn-54772349 is not present in Agent 10.0.0.249 2025-06-17 17:55:37,213 - INFO - Validated that VN ctest-vn-54772349 is not in any agent 2025-06-17 17:55:37,228 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54772349 info 2025-06-17 17:55:37,228 - INFO - Deleting VN ctest-vn-09420229 2025-06-17 17:55:37,330 - DEBUG - Response for deleting network () 2025-06-17 17:55:37,330 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/caeb13ac-7035-46ed-acb5-1399a0413ea8 2025-06-17 17:55:37,336 - DEBUG - Response Code: 404 2025-06-17 17:55:37,337 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-17 17:55:37,342 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c091adfe-c5aa-42b4-b5d2-1266be02b90f 2025-06-17 17:55:37,395 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d190dde-deae-4882-9448-f855be9dcca3 2025-06-17 17:55:37,467 - INFO - Validated that VN ctest-vn-09420229 is not found in API Server 2025-06-17 17:55:37,478 - DEBUG - VN ctest-vn-09420229 is not present in Agent 10.0.0.249 2025-06-17 17:55:37,478 - INFO - Validated that VN ctest-vn-09420229 is not in any agent 2025-06-17 17:55:37,493 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09420229 info 2025-06-17 17:55:37,758 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 17:55:37,758 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-17 17:55:37,758 - INFO - -------------------------------------------------------------------------------- 2025-06-17 17:55:38,428 - INFO - Deleted project: ctest-TestBasicPolicy-42890343, ID : 1d190dde-deae-4882-9448-f855be9dcca3