2025-10-31 14:40:49,774 - INFO - Domain Default found not creating 2025-10-31 14:40:49,897 - INFO - Project ctest-TestBasicPolicy-11361316 not found, creating it 2025-10-31 14:40:50,325 - INFO - Created Project:ctest-TestBasicPolicy-11361316, ID : 9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:40:51,664 - INFO - ================================================================================ 2025-10-31 14:40:51,664 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 14:40:51,664 - 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-10-31 14:40:51,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-31 14:40:51,918 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:40:51,918 - INFO - 2025-10-31 14:40:52,437 - DEBUG - Response for create_network : {'network': {'id': '4daa9c86-ccab-4e86-9946-33d6cbc8ab3b', 'name': 'ctest-vn-33496323', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'project_id': '9de64329c7d044328d759f3a31a4170c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-vn-33496323'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:52,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b89a68e4-24e7-4dd8-a37d-6cc3f806b927', 'name': '', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'network_id': '4daa9c86-ccab-4e86-9946-33d6cbc8ab3b', 'ip_version': 4, 'cidr': '62.240.42.192/26', 'allocation_pools': [{'start': '62.240.42.194', 'end': '62.240.42.254'}], 'gateway_ip': '62.240.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.240.42.194', 'tags': [], 'project_id': '9de64329c7d044328d759f3a31a4170c'}} 2025-10-31 14:40:52,608 - INFO - Created VN ctest-vn-33496323 2025-10-31 14:40:52,658 - DEBUG - VN ctest-vn-33496323 UUID is 4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:52,967 - DEBUG - Response for create_network : {'network': {'id': '7bea3ced-81d2-4bae-b1bf-69fdd15bb975', 'name': 'ctest-vn-40746677', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'project_id': '9de64329c7d044328d759f3a31a4170c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-vn-40746677'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:53,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '5de9e6ab-7669-4632-b327-ec5b9a9c40f9', 'name': '', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'network_id': '7bea3ced-81d2-4bae-b1bf-69fdd15bb975', 'ip_version': 4, 'cidr': '120.14.185.64/26', 'allocation_pools': [{'start': '120.14.185.66', 'end': '120.14.185.126'}], 'gateway_ip': '120.14.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.14.185.66', 'tags': [], 'project_id': '9de64329c7d044328d759f3a31a4170c'}} 2025-10-31 14:40:53,151 - INFO - Created VN ctest-vn-40746677 2025-10-31 14:40:53,202 - DEBUG - VN ctest-vn-40746677 UUID is 7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:53,350 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323, 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-11361316:ctest-vn-40746677, 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-10-31 14:40:53,622 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4daa9c86-ccab-4e86-9946-33d6cbc8ab3b', 'name': 'ctest-vn-33496323', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'project_id': '9de64329c7d044328d759f3a31a4170c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b89a68e4-24e7-4dd8-a37d-6cc3f806b927'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-vn-33496323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-policy-allow-all-35673075']], 'subnet_ipam': [{'subnet_cidr': '62.240.42.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:53,838 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7bea3ced-81d2-4bae-b1bf-69fdd15bb975', 'name': 'ctest-vn-40746677', 'tenant_id': '9de64329c7d044328d759f3a31a4170c', 'project_id': '9de64329c7d044328d759f3a31a4170c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5de9e6ab-7669-4632-b327-ec5b9a9c40f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-vn-40746677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-policy-allow-all-35673075']], 'subnet_ipam': [{'subnet_cidr': '120.14.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:54,002 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:40:54,290 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:40:54,318 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:40:54,330 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:40:54,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,415 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:40:54,420 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:40:54,426 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/21464971-755c-4af8-9eb9-dc863508ed0a 2025-10-31 14:40:54,430 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 14:40:54,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:40:54,451 - INFO - Verified VN network id 12 for VN 4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,451 - INFO - Verifications in API Server for VN ctest-vn-33496323 passed 2025-10-31 14:40:54,451 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,459 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:40:54,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:40:54,470 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/21464971-755c-4af8-9eb9-dc863508ed0a 2025-10-31 14:40:54,479 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11361316', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5596457589734592134', 'uuid-lslong': '11044572133807663931'}, 'enable': 'true', 'created': '2025-10-31T14:40:52', 'last-modified': '2025-10-31T14:40:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.875580'} 2025-10-31 14:40:54,488 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 14:40:54,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33496323 passed 2025-10-31 14:40:54,488 - DEBUG - ====Verifying policy data for ctest-vn-33496323 in API_Server ====== 2025-10-31 14:40:54,488 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:40:54,498 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:40:54,508 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:40:54,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4daa9c86-ccab-4e86-9946-33d6cbc8ab3b 2025-10-31 14:40:54,584 - DEBUG - ==>Verifying data for policy with id: 5a718b34-9abf-41e2-98b8-4e68e0776674, fqn: ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-policy-allow-all-35673075'] 2025-10-31 14:40:54,585 - INFO - VN ctest-vn-33496323 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 14:40:54,585 - DEBUG - Verifying the vn in opserver 2025-10-31 14:40:54,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323 virtual network link through opserver 10.0.0.50 2025-10-31 14:40:54,585 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 14:40:54,873 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 14:40:54,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323?flat'} 2025-10-31 14:40:54,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323 is found in opserver 2025-10-31 14:40:54,935 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 14:40:54,939 - DEBUG - VRF ids for VN ctest-vn-33496323: {} 2025-10-31 14:40:54,939 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:40:54,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:40:54,953 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:40:55,016 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:40:55,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:40:55,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5dfabbb5-df75-4b5d-980d-e3b5227fe960 2025-10-31 14:40:55,052 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 14:40:55,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,059 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:40:55,070 - INFO - Verified VN network id 13 for VN 7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,070 - INFO - Verifications in API Server for VN ctest-vn-40746677 passed 2025-10-31 14:40:55,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,078 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:40:55,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:40:55,089 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5dfabbb5-df75-4b5d-980d-e3b5227fe960 2025-10-31 14:40:55,099 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-40746677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11361316', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8929016201998388142', 'uuid-lslong': '12808072404125071733'}, 'enable': 'true', 'created': '2025-10-31T14:40:52', 'last-modified': '2025-10-31T14:40:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284808'} 2025-10-31 14:40:55,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 14:40:55,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40746677 passed 2025-10-31 14:40:55,106 - DEBUG - ====Verifying policy data for ctest-vn-40746677 in API_Server ====== 2025-10-31 14:40:55,106 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:40:55,111 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:40:55,120 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:40:55,188 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7bea3ced-81d2-4bae-b1bf-69fdd15bb975 2025-10-31 14:40:55,197 - DEBUG - ==>Verifying data for policy with id: 5a718b34-9abf-41e2-98b8-4e68e0776674, fqn: ['default-domain', 'ctest-TestBasicPolicy-11361316', 'ctest-policy-allow-all-35673075'] 2025-10-31 14:40:55,197 - INFO - VN ctest-vn-40746677 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 14:40:55,197 - DEBUG - Verifying the vn in opserver 2025-10-31 14:40:55,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-40746677 virtual network link through opserver 10.0.0.50 2025-10-31 14:40:55,197 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 14:40:55,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-40746677', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-40746677?flat'} 2025-10-31 14:40:55,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-40746677 is found in opserver 2025-10-31 14:40:55,216 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 14:40:55,221 - DEBUG - VRF ids for VN ctest-vn-40746677: {} 2025-10-31 14:40:55,287 - DEBUG - Services list from nova: [, , ] 2025-10-31 14:40:56,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:40:57,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:40:57,380 - INFO - Waiting for VM ctest-TestBasicPolicy-11361316-79737690 to be up.. 2025-10-31 14:40:57,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 14:41:02,520 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:41:02,521 - INFO - VM name : ctest-TestBasicPolicy-11361316-79737690 2025-10-31 14:41:02,586 - DEBUG - VM ctest-TestBasicPolicy-11361316-79737690 ID is 0e474bb9-2149-4fbb-ba63-a6278ffcb7b1 2025-10-31 14:41:02,603 - DEBUG - VM ctest-TestBasicPolicy-11361316-79737690 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:41:02,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0e474bb9-2149-4fbb-ba63-a6278ffcb7b1 2025-10-31 14:41:02,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c7fc7ecc-6c63-451f-bed4-881079a38fe8 2025-10-31 14:41:05,935 - 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 1028ms') 2025-10-31 14:41:05,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11361316-79737690 failed! 2025-10-31 14:41:05,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11361316:ctest-vn-33496323 is 62.240.42.193 and allocation pool is NOT set 2025-10-31 14:41:08,056 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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 = 1.893/3.365/4.837/1.472 ms') 2025-10-31 14:41:08,056 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11361316-79737690 passed 2025-10-31 14:41:08,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:41:08,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11361316-79737690, IP 62.240.42.195, Port 22 2025-10-31 14:41:08,358 - DEBUG - VM ctest-TestBasicPolicy-11361316-79737690 is ready for SSH connections 2025-10-31 14:41:08,358 - INFO - Waiting for VM ctest-TestBasicPolicy-11361316-23478218 to be up.. 2025-10-31 14:41:08,443 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:41:08,444 - INFO - VM name : ctest-TestBasicPolicy-11361316-23478218 2025-10-31 14:41:08,514 - DEBUG - VM ctest-TestBasicPolicy-11361316-23478218 ID is 5b8df7c5-782c-42b1-a44c-27235cab5bf8 2025-10-31 14:41:08,514 - DEBUG - VM ctest-TestBasicPolicy-11361316-23478218 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:41:08,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5b8df7c5-782c-42b1-a44c-27235cab5bf8 2025-10-31 14:41:08,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/431a793d-41c1-40ce-999a-1f16f7e79329 2025-10-31 14:41:09,839 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.566/2.715/1.148 ms') 2025-10-31 14:41:09,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11361316-23478218 passed 2025-10-31 14:41:09,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:41:09,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11361316-23478218, IP 120.14.185.67, Port 22 2025-10-31 14:41:10,145 - DEBUG - VM ctest-TestBasicPolicy-11361316-23478218 is ready for SSH connections 2025-10-31 14:41:10,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:41:10,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.14.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:41:10,145 - DEBUG - ping -s 56 -c 3 -W 1 120.14.185.67 2025-10-31 14:41:13,835 - DEBUG - PING 120.14.185.67 (120.14.185.67): 56 data bytes 64 bytes from 120.14.185.67: seq=0 ttl=63 time=4.168 ms 64 bytes from 120.14.185.67: seq=1 ttl=63 time=0.792 ms 64 bytes from 120.14.185.67: seq=2 ttl=63 time=0.671 ms --- 120.14.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.877/4.168 ms 2025-10-31 14:41:13,835 - INFO - Ping to IP 120.14.185.67 from VM ctest-TestBasicPolicy-11361316-79737690 passed 2025-10-31 14:41:14,006 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5a718b34-9abf-41e2-98b8-4e68e0776674", "href": "http://10.0.0.50:8082/network-policy/5a718b34-9abf-41e2-98b8-4e68e0776674"}} 2025-10-31 14:41:14,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:41:14,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.14.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:41:14,006 - DEBUG - ping -s 56 -c 3 -W 1 120.14.185.67 2025-10-31 14:41:17,210 - DEBUG - PING 120.14.185.67 (120.14.185.67): 56 data bytes --- 120.14.185.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 14:41:17,210 - WARNING - Ping to IP 120.14.185.67 from VM ctest-TestBasicPolicy-11361316-79737690 failed 2025-10-31 14:41:17,211 - INFO - Deleting VM ctest-TestBasicPolicy-11361316-23478218 2025-10-31 14:41:17,274 - INFO - Deleting VM ctest-TestBasicPolicy-11361316-79737690 2025-10-31 14:41:17,595 - INFO - Deleted policy ctest-policy-allow-all-35673075 2025-10-31 14:41:17,595 - INFO - Deleting VN ctest-vn-40746677 2025-10-31 14:41:17,633 - DEBUG - VN 7bea3ced-81d2-4bae-b1bf-69fdd15bb975 still in use: Unable to complete operation on network 7bea3ced-81d2-4bae-b1bf-69fdd15bb975. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86b43f34-378f-4ce4-a552-933839d300cc'] 2025-10-31 14:41:17,633 - WARNING - Deleting VN ctest-vn-40746677 failed..Will retry 2025-10-31 14:41:19,722 - DEBUG - Response for deleting network () 2025-10-31 14:41:19,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b44481e-4f79-4e6f-a71f-41888db1ebf0 2025-10-31 14:41:19,727 - DEBUG - Response Code: 404 2025-10-31 14:41:19,728 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:41:19,731 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:41:19,783 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:41:19,849 - INFO - Validated that VN ctest-vn-40746677 is not found in API Server 2025-10-31 14:41:19,857 - DEBUG - VN ctest-vn-40746677 is not present in Agent 10.0.0.50 2025-10-31 14:41:19,857 - INFO - Validated that VN ctest-vn-40746677 is not in any agent 2025-10-31 14:41:19,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40746677 info 2025-10-31 14:41:19,870 - INFO - Deleting VN ctest-vn-33496323 2025-10-31 14:41:19,953 - DEBUG - Response for deleting network () 2025-10-31 14:41:19,953 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb21b198-da64-47e6-a719-cc4219117aca 2025-10-31 14:41:19,957 - DEBUG - Response Code: 404 2025-10-31 14:41:19,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 14:41:19,961 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5ef658-181c-4ca1-bb8d-a7dd743bdfc2 2025-10-31 14:41:20,010 - DEBUG - Requesting: http://10.0.0.50:8082/project/9de64329-c7d0-4432-8d75-9f3a31a4170c 2025-10-31 14:41:20,079 - INFO - Validated that VN ctest-vn-33496323 is not found in API Server 2025-10-31 14:41:20,088 - DEBUG - VN ctest-vn-33496323 is not present in Agent 10.0.0.50 2025-10-31 14:41:20,088 - INFO - Validated that VN ctest-vn-33496323 is not in any agent 2025-10-31 14:41:20,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33496323 info 2025-10-31 14:41:20,354 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 14:41:20,354 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-31 14:41:20,354 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:41:20,986 - INFO - Deleted project: ctest-TestBasicPolicy-11361316, ID : 9de64329-c7d0-4432-8d75-9f3a31a4170c