2025-06-10 21:23:44,940 - INFO - Domain Default found not creating 2025-06-10 21:23:45,081 - INFO - Project ctest-TestBasicPolicy-52239864 not found, creating it 2025-06-10 21:23:45,525 - INFO - Created Project:ctest-TestBasicPolicy-52239864, ID : 07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:23:46,981 - INFO - ================================================================================ 2025-06-10 21:23:46,981 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 21:23:46,981 - 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-10 21:23:47,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 21:23:47,236 - INFO - Initial checks done. Running the testcase now 2025-06-10 21:23:47,236 - INFO - 2025-06-10 21:23:47,793 - DEBUG - Response for create_network : {'network': {'id': '218176bd-7d05-4c33-8d53-0dbe8058db4c', 'name': 'ctest-vn-68095870', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-vn-68095870'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:48,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '84a59281-220b-47b8-9ea8-6d97271b01c4', 'name': '', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'network_id': '218176bd-7d05-4c33-8d53-0dbe8058db4c', 'ip_version': 4, 'cidr': '222.2.59.128/26', 'allocation_pools': [{'start': '222.2.59.130', 'end': '222.2.59.190'}], 'gateway_ip': '222.2.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.2.59.130', 'tags': [], 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c'}} 2025-06-10 21:23:48,028 - INFO - Created VN ctest-vn-68095870 2025-06-10 21:23:48,089 - DEBUG - VN ctest-vn-68095870 UUID is 218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:48,541 - DEBUG - Response for create_network : {'network': {'id': '8fca5581-67cf-4c80-87db-09041258b77f', 'name': 'ctest-vn-48933764', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-vn-48933764'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:48,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a772a10-cf94-4078-a1be-ed0704fa0bff', 'name': '', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'network_id': '8fca5581-67cf-4c80-87db-09041258b77f', 'ip_version': 4, 'cidr': '143.209.220.0/26', 'allocation_pools': [{'start': '143.209.220.2', 'end': '143.209.220.62'}], 'gateway_ip': '143.209.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.209.220.2', 'tags': [], 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c'}} 2025-06-10 21:23:48,771 - INFO - Created VN ctest-vn-48933764 2025-06-10 21:23:48,825 - DEBUG - VN ctest-vn-48933764 UUID is 8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:48,977 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870, 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-52239864:ctest-vn-48933764, 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-10 21:23:49,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '218176bd-7d05-4c33-8d53-0dbe8058db4c', 'name': 'ctest-vn-68095870', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84a59281-220b-47b8-9ea8-6d97271b01c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-vn-68095870'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-policy-allow-all-91922928']], 'subnet_ipam': [{'subnet_cidr': '222.2.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:49,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fca5581-67cf-4c80-87db-09041258b77f', 'name': 'ctest-vn-48933764', 'tenant_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'project_id': '07e46fb148a047b6bea0c2ed1a8a1b5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a772a10-cf94-4078-a1be-ed0704fa0bff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-vn-48933764'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-policy-allow-all-91922928']], 'subnet_ipam': [{'subnet_cidr': '143.209.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:49,681 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:23:49,989 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:23:50,017 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:23:50,031 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:23:50,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,134 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:23:50,143 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:23:50,151 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0673773-d92e-42b9-a90e-5a3306edef63 2025-06-10 21:23:50,158 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 21:23:50,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,169 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:23:50,184 - INFO - Verified VN network id 9 for VN 218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,184 - INFO - Verifications in API Server for VN ctest-vn-68095870 passed 2025-06-10 21:23:50,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,259 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:23:50,268 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:23:50,276 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0673773-d92e-42b9-a90e-5a3306edef63 2025-06-10 21:23:50,291 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52239864', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2414341431465692211', 'uuid-lslong': '10183498294263077708'}, 'enable': 'true', 'created': '2025-06-10T21:23:47', 'last-modified': '2025-06-10T21:23:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038380'} 2025-06-10 21:23:50,298 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 21:23:50,298 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68095870 passed 2025-06-10 21:23:50,298 - DEBUG - ====Verifying policy data for ctest-vn-68095870 in API_Server ====== 2025-06-10 21:23:50,298 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:23:50,304 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:23:50,319 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:23:50,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218176bd-7d05-4c33-8d53-0dbe8058db4c 2025-06-10 21:23:50,402 - DEBUG - ==>Verifying data for policy with id: a3e211da-f7b7-44ec-acaa-965d6509b3d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-policy-allow-all-91922928'] 2025-06-10 21:23:50,402 - INFO - VN ctest-vn-68095870 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 21:23:50,402 - DEBUG - Verifying the vn in opserver 2025-06-10 21:23:50,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870 virtual network link through opserver 10.0.0.254 2025-06-10 21:23:50,402 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 21:23:50,702 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 21:23:50,765 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870?flat'} 2025-06-10 21:23:50,765 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870 is found in opserver 2025-06-10 21:23:50,778 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 21:23:50,783 - DEBUG - VRF ids for VN ctest-vn-68095870: {} 2025-06-10 21:23:50,783 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:23:50,790 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:23:50,804 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:23:50,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:50,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:50,903 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:23:50,910 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:23:50,917 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fdcd0204-5319-4286-8f7f-96eb9676c580 2025-06-10 21:23:50,923 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 21:23:50,923 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:50,933 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:23:50,947 - INFO - Verified VN network id 10 for VN 8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:50,947 - INFO - Verifications in API Server for VN ctest-vn-48933764 passed 2025-06-10 21:23:50,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:50,957 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:23:50,964 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:23:50,971 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fdcd0204-5319-4286-8f7f-96eb9676c580 2025-06-10 21:23:50,982 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-48933764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52239864', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10361187907000028288', 'uuid-lslong': '9789428128112228223'}, 'enable': 'true', 'created': '2025-06-10T21:23:48', 'last-modified': '2025-06-10T21:23:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489332'} 2025-06-10 21:23:50,988 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 21:23:50,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48933764 passed 2025-06-10 21:23:50,988 - DEBUG - ====Verifying policy data for ctest-vn-48933764 in API_Server ====== 2025-06-10 21:23:50,989 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:23:50,995 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:23:51,008 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:23:51,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8fca5581-67cf-4c80-87db-09041258b77f 2025-06-10 21:23:51,098 - DEBUG - ==>Verifying data for policy with id: a3e211da-f7b7-44ec-acaa-965d6509b3d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-52239864', 'ctest-policy-allow-all-91922928'] 2025-06-10 21:23:51,098 - INFO - VN ctest-vn-48933764 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 21:23:51,098 - DEBUG - Verifying the vn in opserver 2025-06-10 21:23:51,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-48933764 virtual network link through opserver 10.0.0.254 2025-06-10 21:23:51,098 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 21:23:51,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-48933764', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-48933764?flat'} 2025-06-10 21:23:51,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-48933764 is found in opserver 2025-06-10 21:23:51,121 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 21:23:51,127 - DEBUG - VRF ids for VN ctest-vn-48933764: {} 2025-06-10 21:23:51,182 - DEBUG - Services list from nova: [, , ] 2025-06-10 21:23:52,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3438-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3438-1) 2025-06-10 21:23:53,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3438-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3438-1) 2025-06-10 21:23:53,467 - INFO - Waiting for VM ctest-TestBasicPolicy-52239864-47415788 to be up.. 2025-06-10 21:23:53,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 21:23:58,635 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:23:58,635 - INFO - VM name : ctest-TestBasicPolicy-52239864-47415788 2025-06-10 21:23:58,715 - DEBUG - VM ctest-TestBasicPolicy-52239864-47415788 ID is 32a030a4-c2f2-4cf0-94d4-bc43bd56e466 2025-06-10 21:23:58,734 - DEBUG - VM ctest-TestBasicPolicy-52239864-47415788 launched on Node cn-jenkins-deploy-platform-ansible-os-3438-1 2025-06-10 21:23:58,817 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/32a030a4-c2f2-4cf0-94d4-bc43bd56e466 2025-06-10 21:23:58,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c7e33548-2913-4d40-a396-4a17449a52bc 2025-06-10 21:24:02,088 - 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-06-10 21:24:02,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52239864-47415788 failed! 2025-06-10 21:24:02,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52239864:ctest-vn-68095870 is 222.2.59.129 and allocation pool is NOT set 2025-06-10 21:24:04,241 - 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=2.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.661 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.661/1.782/2.903/1.121 ms') 2025-06-10 21:24:04,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52239864-47415788 passed 2025-06-10 21:24:04,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:24:04,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52239864-47415788, IP 222.2.59.131, Port 22 2025-06-10 21:24:04,558 - DEBUG - VM ctest-TestBasicPolicy-52239864-47415788 is ready for SSH connections 2025-06-10 21:24:04,558 - INFO - Waiting for VM ctest-TestBasicPolicy-52239864-30652992 to be up.. 2025-06-10 21:24:04,650 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:24:04,650 - INFO - VM name : ctest-TestBasicPolicy-52239864-30652992 2025-06-10 21:24:04,734 - DEBUG - VM ctest-TestBasicPolicy-52239864-30652992 ID is 0bc42c0d-7c8a-4603-96fc-8ea6ee418266 2025-06-10 21:24:04,734 - DEBUG - VM ctest-TestBasicPolicy-52239864-30652992 launched on Node cn-jenkins-deploy-platform-ansible-os-3438-1 2025-06-10 21:24:04,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0bc42c0d-7c8a-4603-96fc-8ea6ee418266 2025-06-10 21:24:04,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3a3cc1d2-51f7-4ad6-8aa6-8c51f67a94a3 2025-06-10 21:24:06,071 - 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=4.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.407/4.392/1.984 ms') 2025-06-10 21:24:06,071 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52239864-30652992 passed 2025-06-10 21:24:06,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:24:06,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52239864-30652992, IP 143.209.220.3, Port 22 2025-06-10 21:24:06,376 - DEBUG - VM ctest-TestBasicPolicy-52239864-30652992 is ready for SSH connections 2025-06-10 21:24:06,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:24:06,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.209.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 21:24:06,377 - DEBUG - ping -s 56 -c 3 -W 1 143.209.220.3 2025-06-10 21:24:10,077 - DEBUG - PING 143.209.220.3 (143.209.220.3): 56 data bytes 64 bytes from 143.209.220.3: seq=0 ttl=63 time=4.335 ms 64 bytes from 143.209.220.3: seq=1 ttl=63 time=0.820 ms 64 bytes from 143.209.220.3: seq=2 ttl=63 time=1.051 ms --- 143.209.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/2.068/4.335 ms 2025-06-10 21:24:10,077 - INFO - Ping to IP 143.209.220.3 from VM ctest-TestBasicPolicy-52239864-47415788 passed 2025-06-10 21:24:10,269 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3e211da-f7b7-44ec-acaa-965d6509b3d0", "href": "http://10.0.0.254:8082/network-policy/a3e211da-f7b7-44ec-acaa-965d6509b3d0"}} 2025-06-10 21:24:10,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:24:10,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.209.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 21:24:10,269 - DEBUG - ping -s 56 -c 3 -W 1 143.209.220.3 2025-06-10 21:24:13,466 - DEBUG - PING 143.209.220.3 (143.209.220.3): 56 data bytes 64 bytes from 143.209.220.3: seq=0 ttl=63 time=1.880 ms --- 143.209.220.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.880/1.880/1.880 ms 2025-06-10 21:24:13,466 - WARNING - Ping to IP 143.209.220.3 from VM ctest-TestBasicPolicy-52239864-47415788 failed 2025-06-10 21:24:13,466 - INFO - Deleting VM ctest-TestBasicPolicy-52239864-30652992 2025-06-10 21:24:13,531 - INFO - Deleting VM ctest-TestBasicPolicy-52239864-47415788 2025-06-10 21:24:13,934 - INFO - Deleted policy ctest-policy-allow-all-91922928 2025-06-10 21:24:13,934 - INFO - Deleting VN ctest-vn-48933764 2025-06-10 21:24:13,972 - DEBUG - VN 8fca5581-67cf-4c80-87db-09041258b77f still in use: Unable to complete operation on network 8fca5581-67cf-4c80-87db-09041258b77f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2dd3d03-a298-45d8-bed5-f520ab184e11'] 2025-06-10 21:24:13,972 - WARNING - Deleting VN ctest-vn-48933764 failed..Will retry 2025-06-10 21:24:16,073 - DEBUG - Response for deleting network () 2025-06-10 21:24:16,073 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/67af864d-2c24-4664-8eba-107795cb0d8a 2025-06-10 21:24:16,084 - DEBUG - Response Code: 404 2025-06-10 21:24:16,085 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:24:16,092 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:24:16,147 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:24:16,220 - INFO - Validated that VN ctest-vn-48933764 is not found in API Server 2025-06-10 21:24:16,230 - DEBUG - VN ctest-vn-48933764 is not present in Agent 10.0.0.254 2025-06-10 21:24:16,231 - INFO - Validated that VN ctest-vn-48933764 is not in any agent 2025-06-10 21:24:16,245 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48933764 info 2025-06-10 21:24:16,245 - INFO - Deleting VN ctest-vn-68095870 2025-06-10 21:24:16,360 - DEBUG - Response for deleting network () 2025-06-10 21:24:16,360 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5d7682f-edc2-481c-8e64-5d8b25e8ced8 2025-06-10 21:24:16,366 - DEBUG - Response Code: 404 2025-06-10 21:24:16,367 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 21:24:16,373 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31ebd444-b663-4653-ac52-02aa6af52667 2025-06-10 21:24:16,426 - DEBUG - Requesting: http://10.0.0.254:8082/project/07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c 2025-06-10 21:24:16,501 - INFO - Validated that VN ctest-vn-68095870 is not found in API Server 2025-06-10 21:24:16,511 - DEBUG - VN ctest-vn-68095870 is not present in Agent 10.0.0.254 2025-06-10 21:24:16,512 - INFO - Validated that VN ctest-vn-68095870 is not in any agent 2025-06-10 21:24:16,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68095870 info 2025-06-10 21:24:16,783 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 21:24:16,783 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-10 21:24:16,783 - INFO - -------------------------------------------------------------------------------- 2025-06-10 21:24:17,527 - INFO - Deleted project: ctest-TestBasicPolicy-52239864, ID : 07e46fb1-48a0-47b6-bea0-c2ed1a8a1b5c