2025-07-08 18:05:14,544 - INFO - Domain Default found not creating 2025-07-08 18:05:14,701 - INFO - Project ctest-TestBasicPolicy-24007434 not found, creating it 2025-07-08 18:05:15,176 - INFO - Created Project:ctest-TestBasicPolicy-24007434, ID : 6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:16,598 - INFO - ================================================================================ 2025-07-08 18:05:16,599 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-08 18:05:16,599 - 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-07-08 18:05:16,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-08 18:05:16,855 - INFO - Initial checks done. Running the testcase now 2025-07-08 18:05:16,855 - INFO - 2025-07-08 18:05:17,405 - DEBUG - Response for create_network : {'network': {'id': '7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77', 'name': 'ctest-vn-41614124', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'project_id': '6d74d2e348b64c9a8a4a256be6e979db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-vn-41614124'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 18:05:17,570 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dffd717-d4b6-45c8-826b-896198d296cc', 'name': '', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'network_id': '7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77', 'ip_version': 4, 'cidr': '153.200.195.64/26', 'allocation_pools': [{'start': '153.200.195.66', 'end': '153.200.195.126'}], 'gateway_ip': '153.200.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.200.195.66', 'tags': [], 'project_id': '6d74d2e348b64c9a8a4a256be6e979db'}} 2025-07-08 18:05:17,589 - INFO - Created VN ctest-vn-41614124 2025-07-08 18:05:17,641 - DEBUG - VN ctest-vn-41614124 UUID is 7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:17,973 - DEBUG - Response for create_network : {'network': {'id': '93dcbe86-3861-4eb3-a2b7-b48315513b98', 'name': 'ctest-vn-00499700', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'project_id': '6d74d2e348b64c9a8a4a256be6e979db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-vn-00499700'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 18:05:18,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cac162b0-b8cc-4fe4-98bc-feee94f9f59a', 'name': '', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'network_id': '93dcbe86-3861-4eb3-a2b7-b48315513b98', 'ip_version': 4, 'cidr': '37.119.128.128/26', 'allocation_pools': [{'start': '37.119.128.130', 'end': '37.119.128.190'}], 'gateway_ip': '37.119.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.119.128.130', 'tags': [], 'project_id': '6d74d2e348b64c9a8a4a256be6e979db'}} 2025-07-08 18:05:18,203 - INFO - Created VN ctest-vn-00499700 2025-07-08 18:05:18,257 - DEBUG - VN ctest-vn-00499700 UUID is 93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:18,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124, 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-24007434:ctest-vn-00499700, 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-07-08 18:05:18,660 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77', 'name': 'ctest-vn-41614124', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'project_id': '6d74d2e348b64c9a8a4a256be6e979db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9dffd717-d4b6-45c8-826b-896198d296cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-vn-41614124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-policy-allow-all-56522793']], 'subnet_ipam': [{'subnet_cidr': '153.200.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 18:05:18,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93dcbe86-3861-4eb3-a2b7-b48315513b98', 'name': 'ctest-vn-00499700', 'tenant_id': '6d74d2e348b64c9a8a4a256be6e979db', 'project_id': '6d74d2e348b64c9a8a4a256be6e979db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cac162b0-b8cc-4fe4-98bc-feee94f9f59a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-vn-00499700'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-policy-allow-all-56522793']], 'subnet_ipam': [{'subnet_cidr': '37.119.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 18:05:19,065 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:19,361 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:19,388 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:19,401 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:19,478 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,490 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,500 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:19,508 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:19,516 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ec2c4e6b-b3e7-4288-8ec1-b36cc053067f 2025-07-08 18:05:19,523 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 18:05:19,523 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,533 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:19,549 - INFO - Verified VN network id 8 for VN 7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,549 - INFO - Verifications in API Server for VN ctest-vn-41614124 passed 2025-07-08 18:05:19,549 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,559 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:19,567 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:19,575 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ec2c4e6b-b3e7-4288-8ec1-b36cc053067f 2025-07-08 18:05:19,588 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24007434', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8960003724312857173', 'uuid-lslong': '11470057650939288695'}, 'enable': 'true', 'created': '2025-07-08T18:05:17', 'last-modified': '2025-07-08T18:05:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954074'} 2025-07-08 18:05:19,594 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 18:05:19,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41614124 passed 2025-07-08 18:05:19,595 - DEBUG - ====Verifying policy data for ctest-vn-41614124 in API_Server ====== 2025-07-08 18:05:19,595 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:19,600 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:19,611 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:19,682 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c5853ea-45d8-4a55-9f2d-d4a99d7cdc77 2025-07-08 18:05:19,691 - DEBUG - ==>Verifying data for policy with id: 45e008b1-da43-4758-b679-fbca271974f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-policy-allow-all-56522793'] 2025-07-08 18:05:19,691 - INFO - VN ctest-vn-41614124 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 18:05:19,692 - DEBUG - Verifying the vn in opserver 2025-07-08 18:05:19,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124 virtual network link through opserver 10.0.0.49 2025-07-08 18:05:19,692 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 18:05:19,981 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 18:05:20,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124?flat'} 2025-07-08 18:05:20,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124 is found in opserver 2025-07-08 18:05:20,051 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 18:05:20,056 - DEBUG - VRF ids for VN ctest-vn-41614124: {} 2025-07-08 18:05:20,056 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:20,062 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:20,073 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:20,142 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,154 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,163 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:20,171 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:20,178 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c87a135b-566b-45e7-8e79-6bc5a69f64f1 2025-07-08 18:05:20,185 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 18:05:20,185 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,196 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:20,211 - INFO - Verified VN network id 9 for VN 93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,211 - INFO - Verifications in API Server for VN ctest-vn-00499700 passed 2025-07-08 18:05:20,211 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,221 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:20,228 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:20,236 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c87a135b-566b-45e7-8e79-6bc5a69f64f1 2025-07-08 18:05:20,248 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-00499700', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24007434', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10654600302132547251', 'uuid-lslong': '11725038629973736344'}, 'enable': 'true', 'created': '2025-07-08T18:05:17', 'last-modified': '2025-07-08T18:05:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383584'} 2025-07-08 18:05:20,254 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 18:05:20,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00499700 passed 2025-07-08 18:05:20,254 - DEBUG - ====Verifying policy data for ctest-vn-00499700 in API_Server ====== 2025-07-08 18:05:20,254 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:20,260 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:20,272 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:20,344 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/93dcbe86-3861-4eb3-a2b7-b48315513b98 2025-07-08 18:05:20,355 - DEBUG - ==>Verifying data for policy with id: 45e008b1-da43-4758-b679-fbca271974f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-24007434', 'ctest-policy-allow-all-56522793'] 2025-07-08 18:05:20,355 - INFO - VN ctest-vn-00499700 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 18:05:20,355 - DEBUG - Verifying the vn in opserver 2025-07-08 18:05:20,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-00499700 virtual network link through opserver 10.0.0.49 2025-07-08 18:05:20,355 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 18:05:20,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-00499700', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-00499700?flat'} 2025-07-08 18:05:20,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-00499700 is found in opserver 2025-07-08 18:05:20,377 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 18:05:20,382 - DEBUG - VRF ids for VN ctest-vn-00499700: {} 2025-07-08 18:05:20,434 - DEBUG - Services list from nova: [, , ] 2025-07-08 18:05:21,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3615-1) 2025-07-08 18:05:22,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3615-1) 2025-07-08 18:05:22,615 - INFO - Waiting for VM ctest-TestBasicPolicy-24007434-27649310 to be up.. 2025-07-08 18:05:22,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 18:05:27,765 - DEBUG - VM is in ACTIVE state now 2025-07-08 18:05:27,765 - INFO - VM name : ctest-TestBasicPolicy-24007434-27649310 2025-07-08 18:05:27,855 - DEBUG - VM ctest-TestBasicPolicy-24007434-27649310 ID is dae0dc60-3030-4a51-a4a2-29b349e8924d 2025-07-08 18:05:27,882 - DEBUG - VM ctest-TestBasicPolicy-24007434-27649310 launched on Node cn-jenkins-deploy-platform-ansible-os-3615-1 2025-07-08 18:05:27,959 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/dae0dc60-3030-4a51-a4a2-29b349e8924d 2025-07-08 18:05:27,969 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3b8520f3-b29e-4146-8114-e656f9c9f835 2025-07-08 18:05:31,261 - 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 1031ms') 2025-07-08 18:05:31,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24007434-27649310 failed! 2025-07-08 18:05:31,317 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24007434:ctest-vn-41614124 is 153.200.195.65 and allocation pool is NOT set 2025-07-08 18:05:33,377 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.871 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.871/2.282/3.693/1.411 ms') 2025-07-08 18:05:33,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24007434-27649310 passed 2025-07-08 18:05:33,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 18:05:33,529 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24007434-27649310, IP 153.200.195.67, Port 22 2025-07-08 18:05:33,685 - DEBUG - VM ctest-TestBasicPolicy-24007434-27649310 is ready for SSH connections 2025-07-08 18:05:33,685 - INFO - Waiting for VM ctest-TestBasicPolicy-24007434-11561121 to be up.. 2025-07-08 18:05:33,760 - DEBUG - VM is in ACTIVE state now 2025-07-08 18:05:33,760 - INFO - VM name : ctest-TestBasicPolicy-24007434-11561121 2025-07-08 18:05:33,829 - DEBUG - VM ctest-TestBasicPolicy-24007434-11561121 ID is 34f07fc9-a7d3-46b9-9686-9a647d8f0ec0 2025-07-08 18:05:33,830 - DEBUG - VM ctest-TestBasicPolicy-24007434-11561121 launched on Node cn-jenkins-deploy-platform-ansible-os-3615-1 2025-07-08 18:05:33,906 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/34f07fc9-a7d3-46b9-9686-9a647d8f0ec0 2025-07-08 18:05:33,915 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2a8153a9-cd8a-412f-9a6f-c4205720089a 2025-07-08 18:05:35,160 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.622/2.832/1.210 ms') 2025-07-08 18:05:35,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24007434-11561121 passed 2025-07-08 18:05:35,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 18:05:35,309 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24007434-11561121, IP 37.119.128.131, Port 22 2025-07-08 18:05:35,465 - DEBUG - VM ctest-TestBasicPolicy-24007434-11561121 is ready for SSH connections 2025-07-08 18:05:35,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 18:05:35,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.119.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-08 18:05:35,465 - DEBUG - ping -s 56 -c 3 -W 1 37.119.128.131 2025-07-08 18:05:39,209 - DEBUG - PING 37.119.128.131 (37.119.128.131): 56 data bytes 64 bytes from 37.119.128.131: seq=0 ttl=63 time=3.767 ms 64 bytes from 37.119.128.131: seq=1 ttl=63 time=0.984 ms 64 bytes from 37.119.128.131: seq=2 ttl=63 time=0.844 ms --- 37.119.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.865/3.767 ms 2025-07-08 18:05:39,209 - INFO - Ping to IP 37.119.128.131 from VM ctest-TestBasicPolicy-24007434-27649310 passed 2025-07-08 18:05:39,393 - DEBUG - Policy Update Response {"network-policy": {"uuid": "45e008b1-da43-4758-b679-fbca271974f0", "href": "http://10.0.0.49:8082/network-policy/45e008b1-da43-4758-b679-fbca271974f0"}} 2025-07-08 18:05:39,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 18:05:39,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.119.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-08 18:05:39,393 - DEBUG - ping -s 56 -c 3 -W 1 37.119.128.131 2025-07-08 18:05:42,608 - DEBUG - PING 37.119.128.131 (37.119.128.131): 56 data bytes --- 37.119.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-08 18:05:42,608 - WARNING - Ping to IP 37.119.128.131 from VM ctest-TestBasicPolicy-24007434-27649310 failed 2025-07-08 18:05:42,608 - INFO - Deleting VM ctest-TestBasicPolicy-24007434-11561121 2025-07-08 18:05:42,677 - INFO - Deleting VM ctest-TestBasicPolicy-24007434-27649310 2025-07-08 18:05:43,063 - INFO - Deleted policy ctest-policy-allow-all-56522793 2025-07-08 18:05:43,064 - INFO - Deleting VN ctest-vn-00499700 2025-07-08 18:05:43,107 - DEBUG - VN 93dcbe86-3861-4eb3-a2b7-b48315513b98 still in use: Unable to complete operation on network 93dcbe86-3861-4eb3-a2b7-b48315513b98. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bc5fb7f-cc22-4d0b-82e0-41b8cc939665'] 2025-07-08 18:05:43,107 - WARNING - Deleting VN ctest-vn-00499700 failed..Will retry 2025-07-08 18:05:45,213 - DEBUG - Response for deleting network () 2025-07-08 18:05:45,213 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7c197bb1-9e6a-48b4-a567-687f768f88e8 2025-07-08 18:05:45,222 - DEBUG - Response Code: 404 2025-07-08 18:05:45,223 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:45,229 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:45,282 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:45,349 - INFO - Validated that VN ctest-vn-00499700 is not found in API Server 2025-07-08 18:05:45,360 - DEBUG - VN ctest-vn-00499700 is not present in Agent 10.0.0.49 2025-07-08 18:05:45,360 - INFO - Validated that VN ctest-vn-00499700 is not in any agent 2025-07-08 18:05:45,374 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00499700 info 2025-07-08 18:05:45,374 - INFO - Deleting VN ctest-vn-41614124 2025-07-08 18:05:45,472 - DEBUG - Response for deleting network () 2025-07-08 18:05:45,472 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1c0a9ccc-7aee-47c2-938d-5fe7730a72f3 2025-07-08 18:05:45,480 - DEBUG - Response Code: 404 2025-07-08 18:05:45,481 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 18:05:45,486 - DEBUG - Requesting: http://10.0.0.49:8082/domain/c133c3b0-3074-4f4e-90f9-ec0a93a6f061 2025-07-08 18:05:45,543 - DEBUG - Requesting: http://10.0.0.49:8082/project/6d74d2e3-48b6-4c9a-8a4a-256be6e979db 2025-07-08 18:05:45,619 - INFO - Validated that VN ctest-vn-41614124 is not found in API Server 2025-07-08 18:05:45,629 - DEBUG - VN ctest-vn-41614124 is not present in Agent 10.0.0.49 2025-07-08 18:05:45,629 - INFO - Validated that VN ctest-vn-41614124 is not in any agent 2025-07-08 18:05:45,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41614124 info 2025-07-08 18:05:45,899 - DEBUG - No XMPP flaps were noticed during the test 2025-07-08 18:05:45,899 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-08 18:05:45,899 - INFO - -------------------------------------------------------------------------------- 2025-07-08 18:05:46,610 - INFO - Deleted project: ctest-TestBasicPolicy-24007434, ID : 6d74d2e3-48b6-4c9a-8a4a-256be6e979db