2025-04-26 15:31:45,144 - INFO - Domain Default found not creating 2025-04-26 15:31:45,271 - INFO - Project ctest-TestBasicPolicy-59503885 not found, creating it 2025-04-26 15:31:45,698 - INFO - Created Project:ctest-TestBasicPolicy-59503885, ID : b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:31:47,073 - INFO - ================================================================================ 2025-04-26 15:31:47,073 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-26 15:31:47,073 - 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-04-26 15:31:47,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-04-26 15:31:47,328 - INFO - Initial checks done. Running the testcase now 2025-04-26 15:31:47,328 - INFO - 2025-04-26 15:31:47,856 - DEBUG - Response for create_network : {'network': {'id': 'ef998132-0883-4e52-96e9-4d4e13b8ad86', 'name': 'ctest-vn-00923777', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-vn-00923777'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 15:31:48,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '37a6fcef-6f73-41f8-87b2-86f0fad8a64a', 'name': '', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'network_id': 'ef998132-0883-4e52-96e9-4d4e13b8ad86', 'ip_version': 4, 'cidr': '69.169.65.0/26', 'allocation_pools': [{'start': '69.169.65.2', 'end': '69.169.65.62'}], 'gateway_ip': '69.169.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.169.65.2', 'tags': [], 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75'}} 2025-04-26 15:31:48,075 - INFO - Created VN ctest-vn-00923777 2025-04-26 15:31:48,194 - DEBUG - VN ctest-vn-00923777 UUID is ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:48,516 - DEBUG - Response for create_network : {'network': {'id': 'cf796e4f-74c5-42c5-8295-d8df08c20a5e', 'name': 'ctest-vn-17713381', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-vn-17713381'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 15:31:48,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3b0e57e-5e36-40e8-8e4c-ce866f33bdb1', 'name': '', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'network_id': 'cf796e4f-74c5-42c5-8295-d8df08c20a5e', 'ip_version': 4, 'cidr': '79.85.36.128/26', 'allocation_pools': [{'start': '79.85.36.130', 'end': '79.85.36.190'}], 'gateway_ip': '79.85.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.85.36.130', 'tags': [], 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75'}} 2025-04-26 15:31:48,738 - INFO - Created VN ctest-vn-17713381 2025-04-26 15:31:48,790 - DEBUG - VN ctest-vn-17713381 UUID is cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:48,938 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777, 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-59503885:ctest-vn-17713381, 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-04-26 15:31:49,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef998132-0883-4e52-96e9-4d4e13b8ad86', 'name': 'ctest-vn-00923777', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37a6fcef-6f73-41f8-87b2-86f0fad8a64a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-vn-00923777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-policy-allow-all-67939727']], 'subnet_ipam': [{'subnet_cidr': '69.169.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 15:31:49,508 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf796e4f-74c5-42c5-8295-d8df08c20a5e', 'name': 'ctest-vn-17713381', 'tenant_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'project_id': 'b1c0b45272d24072bd3a41e7e3776a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f3b0e57e-5e36-40e8-8e4c-ce866f33bdb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-vn-17713381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-policy-allow-all-67939727']], 'subnet_ipam': [{'subnet_cidr': '79.85.36.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 15:31:49,654 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:31:49,949 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:31:49,975 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:31:49,987 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:31:50,058 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,077 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:31:50,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:31:50,089 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/54e60d6b-7c68-42c6-a630-9f582eb48522 2025-04-26 15:31:50,095 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 15:31:50,095 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,103 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:31:50,122 - INFO - Verified VN network id 7 for VN ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,122 - INFO - Verifications in API Server for VN ctest-vn-00923777 passed 2025-04-26 15:31:50,122 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,130 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:31:50,136 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:31:50,143 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/54e60d6b-7c68-42c6-a630-9f582eb48522 2025-04-26 15:31:50,153 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59503885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17264972698392677970', 'uuid-lslong': '10874307772996431238'}, 'enable': 'true', 'created': '2025-04-26T15:31:47', 'last-modified': '2025-04-26T15:31:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933390'} 2025-04-26 15:31:50,159 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 15:31:50,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00923777 passed 2025-04-26 15:31:50,160 - DEBUG - ====Verifying policy data for ctest-vn-00923777 in API_Server ====== 2025-04-26 15:31:50,160 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:31:50,164 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:31:50,175 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:31:50,247 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ef998132-0883-4e52-96e9-4d4e13b8ad86 2025-04-26 15:31:50,259 - DEBUG - ==>Verifying data for policy with id: ebdff4a6-14a1-4dd9-95c6-916adc9ae770, fqn: ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-policy-allow-all-67939727'] 2025-04-26 15:31:50,260 - INFO - VN ctest-vn-00923777 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 15:31:50,260 - DEBUG - Verifying the vn in opserver 2025-04-26 15:31:50,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777 virtual network link through opserver 10.0.0.22 2025-04-26 15:31:50,260 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 15:31:50,551 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 15:31:50,605 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777?flat'} 2025-04-26 15:31:50,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777 is found in opserver 2025-04-26 15:31:50,616 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 15:31:50,621 - DEBUG - VRF ids for VN ctest-vn-00923777: {} 2025-04-26 15:31:50,621 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:31:50,626 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:31:50,637 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:31:50,712 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,723 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,732 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:31:50,739 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:31:50,745 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2323b067-11ef-4824-a71b-921b99caf4fa 2025-04-26 15:31:50,750 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 15:31:50,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,759 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:31:50,771 - INFO - Verified VN network id 8 for VN cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,771 - INFO - Verifications in API Server for VN ctest-vn-17713381 passed 2025-04-26 15:31:50,771 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,779 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:31:50,785 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:31:50,792 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2323b067-11ef-4824-a71b-921b99caf4fa 2025-04-26 15:31:50,803 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-17713381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59503885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14950101725573628613', 'uuid-lslong': '9409665448896760414'}, 'enable': 'true', 'created': '2025-04-26T15:31:48', 'last-modified': '2025-04-26T15:31:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355672'} 2025-04-26 15:31:50,809 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 15:31:50,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17713381 passed 2025-04-26 15:31:50,810 - DEBUG - ====Verifying policy data for ctest-vn-17713381 in API_Server ====== 2025-04-26 15:31:50,810 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:31:50,814 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:31:50,825 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:31:50,902 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf796e4f-74c5-42c5-8295-d8df08c20a5e 2025-04-26 15:31:50,912 - DEBUG - ==>Verifying data for policy with id: ebdff4a6-14a1-4dd9-95c6-916adc9ae770, fqn: ['default-domain', 'ctest-TestBasicPolicy-59503885', 'ctest-policy-allow-all-67939727'] 2025-04-26 15:31:50,912 - INFO - VN ctest-vn-17713381 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 15:31:50,912 - DEBUG - Verifying the vn in opserver 2025-04-26 15:31:50,912 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-17713381 virtual network link through opserver 10.0.0.22 2025-04-26 15:31:50,912 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 15:31:50,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-17713381', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-17713381?flat'} 2025-04-26 15:31:50,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-17713381 is found in opserver 2025-04-26 15:31:50,933 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 15:31:50,939 - DEBUG - VRF ids for VN ctest-vn-17713381: {} 2025-04-26 15:31:50,992 - DEBUG - Services list from nova: [, , ] 2025-04-26 15:31:51,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3224-1) 2025-04-26 15:31:53,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3224-1) 2025-04-26 15:31:53,191 - INFO - Waiting for VM ctest-TestBasicPolicy-59503885-69512643 to be up.. 2025-04-26 15:31:53,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 15:31:58,345 - DEBUG - VM is in ACTIVE state now 2025-04-26 15:31:58,345 - INFO - VM name : ctest-TestBasicPolicy-59503885-69512643 2025-04-26 15:31:58,412 - DEBUG - VM ctest-TestBasicPolicy-59503885-69512643 ID is 51d0ed71-1945-43fc-a875-2bb27efe938f 2025-04-26 15:31:58,430 - DEBUG - VM ctest-TestBasicPolicy-59503885-69512643 launched on Node cn-jenkins-deploy-platform-ansible-os-3224-1 2025-04-26 15:31:58,501 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/51d0ed71-1945-43fc-a875-2bb27efe938f 2025-04-26 15:31:58,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c74739b3-7fe0-454f-8764-3285d345c920 2025-04-26 15:32:01,767 - 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 1020ms') 2025-04-26 15:32:01,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59503885-69512643 failed! 2025-04-26 15:32:01,826 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59503885:ctest-vn-00923777 is 69.169.65.1 and allocation pool is NOT set 2025-04-26 15:32:03,885 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.652/2.883/1.230 ms') 2025-04-26 15:32:03,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59503885-69512643 passed 2025-04-26 15:32:04,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 15:32:04,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59503885-69512643, IP 69.169.65.3, Port 22 2025-04-26 15:32:04,205 - DEBUG - VM ctest-TestBasicPolicy-59503885-69512643 is ready for SSH connections 2025-04-26 15:32:04,205 - INFO - Waiting for VM ctest-TestBasicPolicy-59503885-19891747 to be up.. 2025-04-26 15:32:04,286 - DEBUG - VM is in ACTIVE state now 2025-04-26 15:32:04,286 - INFO - VM name : ctest-TestBasicPolicy-59503885-19891747 2025-04-26 15:32:04,362 - DEBUG - VM ctest-TestBasicPolicy-59503885-19891747 ID is 937a9dca-72b1-4189-943e-f8a80564c6e6 2025-04-26 15:32:04,362 - DEBUG - VM ctest-TestBasicPolicy-59503885-19891747 launched on Node cn-jenkins-deploy-platform-ansible-os-3224-1 2025-04-26 15:32:04,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/937a9dca-72b1-4189-943e-f8a80564c6e6 2025-04-26 15:32:04,442 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3332bec3-aa20-4ca7-8326-eefdc5f6e641 2025-04-26 15:32:05,678 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.628/2.843/1.215 ms') 2025-04-26 15:32:05,678 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59503885-19891747 passed 2025-04-26 15:32:05,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 15:32:05,834 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59503885-19891747, IP 79.85.36.131, Port 22 2025-04-26 15:32:05,993 - DEBUG - VM ctest-TestBasicPolicy-59503885-19891747 is ready for SSH connections 2025-04-26 15:32:05,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 15:32:05,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.85.36.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 15:32:05,993 - DEBUG - ping -s 56 -c 3 -W 1 79.85.36.131 2025-04-26 15:32:09,630 - DEBUG - PING 79.85.36.131 (79.85.36.131): 56 data bytes 64 bytes from 79.85.36.131: seq=0 ttl=63 time=6.624 ms 64 bytes from 79.85.36.131: seq=1 ttl=63 time=0.875 ms 64 bytes from 79.85.36.131: seq=2 ttl=63 time=0.822 ms --- 79.85.36.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.773/6.624 ms 2025-04-26 15:32:09,630 - INFO - Ping to IP 79.85.36.131 from VM ctest-TestBasicPolicy-59503885-69512643 passed 2025-04-26 15:32:09,822 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ebdff4a6-14a1-4dd9-95c6-916adc9ae770", "href": "http://10.0.0.22:8082/network-policy/ebdff4a6-14a1-4dd9-95c6-916adc9ae770"}} 2025-04-26 15:32:09,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 15:32:09,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.85.36.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 15:32:09,822 - DEBUG - ping -s 56 -c 3 -W 1 79.85.36.131 2025-04-26 15:32:13,013 - DEBUG - PING 79.85.36.131 (79.85.36.131): 56 data bytes 64 bytes from 79.85.36.131: seq=0 ttl=63 time=1.583 ms --- 79.85.36.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.583/1.583/1.583 ms 2025-04-26 15:32:13,013 - WARNING - Ping to IP 79.85.36.131 from VM ctest-TestBasicPolicy-59503885-69512643 failed 2025-04-26 15:32:13,013 - INFO - Deleting VM ctest-TestBasicPolicy-59503885-19891747 2025-04-26 15:32:13,074 - INFO - Deleting VM ctest-TestBasicPolicy-59503885-69512643 2025-04-26 15:32:13,482 - INFO - Deleted policy ctest-policy-allow-all-67939727 2025-04-26 15:32:13,482 - INFO - Deleting VN ctest-vn-17713381 2025-04-26 15:32:13,515 - DEBUG - VN cf796e4f-74c5-42c5-8295-d8df08c20a5e still in use: Unable to complete operation on network cf796e4f-74c5-42c5-8295-d8df08c20a5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-781fd34c-b07f-4ada-8409-d81a2d455a7e'] 2025-04-26 15:32:13,515 - WARNING - Deleting VN ctest-vn-17713381 failed..Will retry 2025-04-26 15:32:15,618 - DEBUG - Response for deleting network () 2025-04-26 15:32:15,618 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1376980e-9ae7-4601-9918-7dda08a08f6d 2025-04-26 15:32:15,628 - DEBUG - Response Code: 404 2025-04-26 15:32:15,628 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:32:15,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:32:15,687 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:32:15,766 - INFO - Validated that VN ctest-vn-17713381 is not found in API Server 2025-04-26 15:32:15,778 - DEBUG - VN ctest-vn-17713381 is not present in Agent 10.0.0.22 2025-04-26 15:32:15,778 - INFO - Validated that VN ctest-vn-17713381 is not in any agent 2025-04-26 15:32:15,793 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17713381 info 2025-04-26 15:32:15,793 - INFO - Deleting VN ctest-vn-00923777 2025-04-26 15:32:15,892 - DEBUG - Response for deleting network () 2025-04-26 15:32:15,892 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b38039a4-a954-4120-94c8-c73d21b6ee83 2025-04-26 15:32:15,900 - DEBUG - Response Code: 404 2025-04-26 15:32:15,900 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 15:32:15,905 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7e7f080c-d134-4fa5-962c-b6393961d0f8 2025-04-26 15:32:15,958 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1c0b452-72d2-4072-bd3a-41e7e3776a75 2025-04-26 15:32:16,026 - INFO - Validated that VN ctest-vn-00923777 is not found in API Server 2025-04-26 15:32:16,038 - DEBUG - VN ctest-vn-00923777 is not present in Agent 10.0.0.22 2025-04-26 15:32:16,038 - INFO - Validated that VN ctest-vn-00923777 is not in any agent 2025-04-26 15:32:16,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00923777 info 2025-04-26 15:32:16,312 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 15:32:16,312 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-26 15:32:16,312 - INFO - -------------------------------------------------------------------------------- 2025-04-26 15:32:16,953 - INFO - Deleted project: ctest-TestBasicPolicy-59503885, ID : b1c0b452-72d2-4072-bd3a-41e7e3776a75