2025-10-27 11:35:08,137 - INFO - Domain Default found not creating 2025-10-27 11:35:08,321 - INFO - Project ctest-TestBasicPolicy-12209566 not found, creating it 2025-10-27 11:35:08,812 - INFO - Created Project:ctest-TestBasicPolicy-12209566, ID : 8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:10,307 - INFO - ================================================================================ 2025-10-27 11:35:10,307 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 11:35:10,307 - 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-27 11:35:10,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-27 11:35:10,568 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:35:10,568 - INFO - 2025-10-27 11:35:11,221 - DEBUG - Response for create_network : {'network': {'id': '0c7d2ccd-3719-493f-bf49-c71debeb833a', 'name': 'ctest-vn-27869862', 'tenant_id': '8f93642144de4638b3da986251212c39', 'project_id': '8f93642144de4638b3da986251212c39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-vn-27869862'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:35:11,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e34cd3-0ff2-48f6-be2a-ff5d5d463fe6', 'name': '', 'tenant_id': '8f93642144de4638b3da986251212c39', 'network_id': '0c7d2ccd-3719-493f-bf49-c71debeb833a', 'ip_version': 4, 'cidr': '23.130.168.192/26', 'allocation_pools': [{'start': '23.130.168.194', 'end': '23.130.168.254'}], 'gateway_ip': '23.130.168.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.130.168.194', 'tags': [], 'project_id': '8f93642144de4638b3da986251212c39'}} 2025-10-27 11:35:11,471 - INFO - Created VN ctest-vn-27869862 2025-10-27 11:35:11,525 - DEBUG - VN ctest-vn-27869862 UUID is 0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:11,829 - DEBUG - Response for create_network : {'network': {'id': '0d1bb378-afd0-44d0-817b-fca6b4cac6ea', 'name': 'ctest-vn-37429820', 'tenant_id': '8f93642144de4638b3da986251212c39', 'project_id': '8f93642144de4638b3da986251212c39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-vn-37429820'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:35:12,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ae8db20-b20d-484b-8ca8-5ddf39ee782f', 'name': '', 'tenant_id': '8f93642144de4638b3da986251212c39', 'network_id': '0d1bb378-afd0-44d0-817b-fca6b4cac6ea', 'ip_version': 4, 'cidr': '88.25.254.0/26', 'allocation_pools': [{'start': '88.25.254.2', 'end': '88.25.254.62'}], 'gateway_ip': '88.25.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.25.254.2', 'tags': [], 'project_id': '8f93642144de4638b3da986251212c39'}} 2025-10-27 11:35:12,106 - INFO - Created VN ctest-vn-37429820 2025-10-27 11:35:12,161 - DEBUG - VN ctest-vn-37429820 UUID is 0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:12,276 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862, 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-12209566:ctest-vn-37429820, 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-27 11:35:12,566 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c7d2ccd-3719-493f-bf49-c71debeb833a', 'name': 'ctest-vn-27869862', 'tenant_id': '8f93642144de4638b3da986251212c39', 'project_id': '8f93642144de4638b3da986251212c39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44e34cd3-0ff2-48f6-be2a-ff5d5d463fe6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-vn-27869862'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-policy-allow-all-03320573']], 'subnet_ipam': [{'subnet_cidr': '23.130.168.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:35:12,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d1bb378-afd0-44d0-817b-fca6b4cac6ea', 'name': 'ctest-vn-37429820', 'tenant_id': '8f93642144de4638b3da986251212c39', 'project_id': '8f93642144de4638b3da986251212c39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ae8db20-b20d-484b-8ca8-5ddf39ee782f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-vn-37429820'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-policy-allow-all-03320573']], 'subnet_ipam': [{'subnet_cidr': '88.25.254.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:35:12,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:13,252 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:13,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:13,298 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:13,368 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,386 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:13,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:13,400 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a910a6a-f445-4551-bd28-aee8624e5a06 2025-10-27 11:35:13,406 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:35:13,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,415 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:13,430 - INFO - Verified VN network id 11 for VN 0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,430 - INFO - Verifications in API Server for VN ctest-vn-27869862 passed 2025-10-27 11:35:13,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:13,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:13,461 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a910a6a-f445-4551-bd28-aee8624e5a06 2025-10-27 11:35:13,474 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12209566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '899924760448289087', 'uuid-lslong': '13783767065870172986'}, 'enable': 'true', 'created': '2025-10-27T11:35:11', 'last-modified': '2025-10-27T11:35:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928225'} 2025-10-27 11:35:13,480 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:35:13,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27869862 passed 2025-10-27 11:35:13,480 - DEBUG - ====Verifying policy data for ctest-vn-27869862 in API_Server ====== 2025-10-27 11:35:13,480 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:13,486 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:13,498 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:13,568 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c7d2ccd-3719-493f-bf49-c71debeb833a 2025-10-27 11:35:13,577 - DEBUG - ==>Verifying data for policy with id: 18f18e7d-b8bd-4bcf-8d10-33514c52ad8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-policy-allow-all-03320573'] 2025-10-27 11:35:13,577 - INFO - VN ctest-vn-27869862 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:35:13,577 - DEBUG - Verifying the vn in opserver 2025-10-27 11:35:13,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862 virtual network link through opserver 10.0.0.50 2025-10-27 11:35:13,577 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-27 11:35:13,871 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-27 11:35:13,934 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862?flat'} 2025-10-27 11:35:13,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862 is found in opserver 2025-10-27 11:35:13,943 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:35:13,947 - DEBUG - VRF ids for VN ctest-vn-27869862: {} 2025-10-27 11:35:13,948 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:13,953 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:13,964 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:14,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,058 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:14,067 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:14,074 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c92655ce-ea76-4836-8a91-4653e472d0a5 2025-10-27 11:35:14,080 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:35:14,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:14,105 - INFO - Verified VN network id 12 for VN 0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,105 - INFO - Verifications in API Server for VN ctest-vn-37429820 passed 2025-10-27 11:35:14,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,115 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:14,122 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:14,129 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c92655ce-ea76-4836-8a91-4653e472d0a5 2025-10-27 11:35:14,143 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-37429820', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12209566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '944545877791360208', 'uuid-lslong': '9330328845956073194'}, 'enable': 'true', 'created': '2025-10-27T11:35:11', 'last-modified': '2025-10-27T11:35:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372998'} 2025-10-27 11:35:14,150 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:35:14,150 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37429820 passed 2025-10-27 11:35:14,150 - DEBUG - ====Verifying policy data for ctest-vn-37429820 in API_Server ====== 2025-10-27 11:35:14,150 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:14,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:14,169 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:14,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d1bb378-afd0-44d0-817b-fca6b4cac6ea 2025-10-27 11:35:14,248 - DEBUG - ==>Verifying data for policy with id: 18f18e7d-b8bd-4bcf-8d10-33514c52ad8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-12209566', 'ctest-policy-allow-all-03320573'] 2025-10-27 11:35:14,248 - INFO - VN ctest-vn-37429820 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:35:14,248 - DEBUG - Verifying the vn in opserver 2025-10-27 11:35:14,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-37429820 virtual network link through opserver 10.0.0.50 2025-10-27 11:35:14,248 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-27 11:35:14,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-37429820', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-37429820?flat'} 2025-10-27 11:35:14,258 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-37429820 is found in opserver 2025-10-27 11:35:14,268 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:35:14,272 - DEBUG - VRF ids for VN ctest-vn-37429820: {} 2025-10-27 11:35:14,333 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:35:15,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:35:16,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:35:16,589 - INFO - Waiting for VM ctest-TestBasicPolicy-12209566-29921985 to be up.. 2025-10-27 11:35:16,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:35:21,776 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:35:21,776 - INFO - VM name : ctest-TestBasicPolicy-12209566-29921985 2025-10-27 11:35:21,869 - DEBUG - VM ctest-TestBasicPolicy-12209566-29921985 ID is ab2ef09b-667d-4587-b975-be284244ac2a 2025-10-27 11:35:21,895 - DEBUG - VM ctest-TestBasicPolicy-12209566-29921985 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:35:21,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab2ef09b-667d-4587-b975-be284244ac2a 2025-10-27 11:35:21,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/502e4579-1591-4b87-8eda-a2ff23d9107b 2025-10-27 11:35:25,250 - 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 1026ms') 2025-10-27 11:35:25,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12209566-29921985 failed! 2025-10-27 11:35:25,305 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12209566:ctest-vn-27869862 is 23.130.168.193 and allocation pool is NOT set 2025-10-27 11:35:27,373 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.491/2.912/5.334/2.421 ms') 2025-10-27 11:35:27,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12209566-29921985 passed 2025-10-27 11:35:27,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:35:27,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12209566-29921985, IP 23.130.168.195, Port 22 2025-10-27 11:35:27,677 - DEBUG - VM ctest-TestBasicPolicy-12209566-29921985 is ready for SSH connections 2025-10-27 11:35:27,677 - INFO - Waiting for VM ctest-TestBasicPolicy-12209566-80497294 to be up.. 2025-10-27 11:35:27,762 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:35:27,762 - INFO - VM name : ctest-TestBasicPolicy-12209566-80497294 2025-10-27 11:35:27,834 - DEBUG - VM ctest-TestBasicPolicy-12209566-80497294 ID is d2cfffee-c755-47f1-b163-886304c24081 2025-10-27 11:35:27,834 - DEBUG - VM ctest-TestBasicPolicy-12209566-80497294 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:35:27,909 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d2cfffee-c755-47f1-b163-886304c24081 2025-10-27 11:35:27,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70e7877a-f855-4cff-beb8-4e4e0eba2593 2025-10-27 11:35:29,155 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.746/2.922/1.176 ms') 2025-10-27 11:35:29,156 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12209566-80497294 passed 2025-10-27 11:35:29,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:35:29,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12209566-80497294, IP 88.25.254.3, Port 22 2025-10-27 11:35:29,475 - DEBUG - VM ctest-TestBasicPolicy-12209566-80497294 is ready for SSH connections 2025-10-27 11:35:29,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:35:29,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.25.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:35:29,475 - DEBUG - ping -s 56 -c 3 -W 1 88.25.254.3 2025-10-27 11:35:33,508 - DEBUG - PING 88.25.254.3 (88.25.254.3): 56 data bytes 64 bytes from 88.25.254.3: seq=0 ttl=63 time=3.918 ms 64 bytes from 88.25.254.3: seq=1 ttl=63 time=0.864 ms 64 bytes from 88.25.254.3: seq=2 ttl=63 time=0.885 ms --- 88.25.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.889/3.918 ms 2025-10-27 11:35:33,509 - INFO - Ping to IP 88.25.254.3 from VM ctest-TestBasicPolicy-12209566-29921985 passed 2025-10-27 11:35:33,685 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18f18e7d-b8bd-4bcf-8d10-33514c52ad8a", "href": "http://10.0.0.50:8082/network-policy/18f18e7d-b8bd-4bcf-8d10-33514c52ad8a"}} 2025-10-27 11:35:33,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:35:33,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.25.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:35:33,685 - DEBUG - ping -s 56 -c 3 -W 1 88.25.254.3 2025-10-27 11:35:36,898 - DEBUG - PING 88.25.254.3 (88.25.254.3): 56 data bytes --- 88.25.254.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:35:36,898 - WARNING - Ping to IP 88.25.254.3 from VM ctest-TestBasicPolicy-12209566-29921985 failed 2025-10-27 11:35:36,898 - INFO - Deleting VM ctest-TestBasicPolicy-12209566-80497294 2025-10-27 11:35:36,977 - INFO - Deleting VM ctest-TestBasicPolicy-12209566-29921985 2025-10-27 11:35:37,407 - INFO - Deleted policy ctest-policy-allow-all-03320573 2025-10-27 11:35:37,407 - INFO - Deleting VN ctest-vn-37429820 2025-10-27 11:35:37,456 - DEBUG - VN 0d1bb378-afd0-44d0-817b-fca6b4cac6ea still in use: Unable to complete operation on network 0d1bb378-afd0-44d0-817b-fca6b4cac6ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2dbcf836-ddae-483e-b8df-998e90249cc5'] 2025-10-27 11:35:37,456 - WARNING - Deleting VN ctest-vn-37429820 failed..Will retry 2025-10-27 11:35:39,569 - DEBUG - Response for deleting network () 2025-10-27 11:35:39,569 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93ea7a10-44a5-4cfc-a923-e68351b167a2 2025-10-27 11:35:39,574 - DEBUG - Response Code: 404 2025-10-27 11:35:39,574 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:39,580 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:39,634 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:39,709 - INFO - Validated that VN ctest-vn-37429820 is not found in API Server 2025-10-27 11:35:39,719 - DEBUG - VN ctest-vn-37429820 is not present in Agent 10.0.0.50 2025-10-27 11:35:39,719 - INFO - Validated that VN ctest-vn-37429820 is not in any agent 2025-10-27 11:35:39,734 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37429820 info 2025-10-27 11:35:39,734 - INFO - Deleting VN ctest-vn-27869862 2025-10-27 11:35:39,841 - DEBUG - Response for deleting network () 2025-10-27 11:35:39,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/72353b14-878c-493c-a89d-701f97534752 2025-10-27 11:35:39,848 - DEBUG - Response Code: 404 2025-10-27 11:35:39,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-27 11:35:39,861 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f030b6c-811e-41b4-864a-b4a9469b3bfd 2025-10-27 11:35:39,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f936421-44de-4638-b3da-986251212c39 2025-10-27 11:35:39,989 - INFO - Validated that VN ctest-vn-27869862 is not found in API Server 2025-10-27 11:35:40,000 - DEBUG - VN ctest-vn-27869862 is not present in Agent 10.0.0.50 2025-10-27 11:35:40,000 - INFO - Validated that VN ctest-vn-27869862 is not in any agent 2025-10-27 11:35:40,013 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27869862 info 2025-10-27 11:35:40,271 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 11:35:40,271 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-27 11:35:40,271 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:35:40,964 - INFO - Deleted project: ctest-TestBasicPolicy-12209566, ID : 8f936421-44de-4638-b3da-986251212c39