2025-10-06 16:41:42,492 - INFO - Domain Default found not creating 2025-10-06 16:41:42,624 - INFO - Project ctest-TestBasicPolicy-76369250 not found, creating it 2025-10-06 16:41:43,047 - INFO - Created Project:ctest-TestBasicPolicy-76369250, ID : 763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:41:44,377 - INFO - ================================================================================ 2025-10-06 16:41:44,377 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 16:41:44,377 - 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-06 16:41:44,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 16:41:44,632 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:41:44,632 - INFO - 2025-10-06 16:41:45,178 - DEBUG - Response for create_network : {'network': {'id': 'dd3c321d-cb5e-4c9f-ad0f-49101665b13a', 'name': 'ctest-vn-31034734', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'project_id': '763c34d324de4ad68f20276553d7c876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-vn-31034734'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:41:45,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '928aa0a4-7680-4081-90e2-90c439b4e467', 'name': '', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'network_id': 'dd3c321d-cb5e-4c9f-ad0f-49101665b13a', 'ip_version': 4, 'cidr': '99.150.252.64/26', 'allocation_pools': [{'start': '99.150.252.66', 'end': '99.150.252.126'}], 'gateway_ip': '99.150.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.150.252.66', 'tags': [], 'project_id': '763c34d324de4ad68f20276553d7c876'}} 2025-10-06 16:41:45,379 - INFO - Created VN ctest-vn-31034734 2025-10-06 16:41:45,431 - DEBUG - VN ctest-vn-31034734 UUID is dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:45,728 - DEBUG - Response for create_network : {'network': {'id': '1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae', 'name': 'ctest-vn-78353376', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'project_id': '763c34d324de4ad68f20276553d7c876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-vn-78353376'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:41:45,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ea93c0a-dd9b-4724-b525-a265992c1662', 'name': '', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'network_id': '1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae', 'ip_version': 4, 'cidr': '88.143.228.192/26', 'allocation_pools': [{'start': '88.143.228.194', 'end': '88.143.228.254'}], 'gateway_ip': '88.143.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.143.228.194', 'tags': [], 'project_id': '763c34d324de4ad68f20276553d7c876'}} 2025-10-06 16:41:45,940 - INFO - Created VN ctest-vn-78353376 2025-10-06 16:41:45,991 - DEBUG - VN ctest-vn-78353376 UUID is 1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:46,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734, 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-76369250:ctest-vn-78353376, 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-06 16:41:46,412 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd3c321d-cb5e-4c9f-ad0f-49101665b13a', 'name': 'ctest-vn-31034734', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'project_id': '763c34d324de4ad68f20276553d7c876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['928aa0a4-7680-4081-90e2-90c439b4e467'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-vn-31034734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-policy-allow-all-48461438']], 'subnet_ipam': [{'subnet_cidr': '99.150.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:41:46,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae', 'name': 'ctest-vn-78353376', 'tenant_id': '763c34d324de4ad68f20276553d7c876', 'project_id': '763c34d324de4ad68f20276553d7c876', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ea93c0a-dd9b-4724-b525-a265992c1662'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-vn-78353376'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-policy-allow-all-48461438']], 'subnet_ipam': [{'subnet_cidr': '88.143.228.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:41:46,771 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:41:47,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:41:47,090 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:41:47,100 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:41:47,167 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,184 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:41:47,190 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:41:47,195 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6229a19-7b82-4148-b85c-ebf4b934e321 2025-10-06 16:41:47,200 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 16:41:47,200 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,208 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:41:47,221 - INFO - Verified VN network id 12 for VN dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,221 - INFO - Verifications in API Server for VN ctest-vn-31034734 passed 2025-10-06 16:41:47,221 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,228 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:41:47,234 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:41:47,240 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6229a19-7b82-4148-b85c-ebf4b934e321 2025-10-06 16:41:47,250 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76369250', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15941671884532108447', 'uuid-lslong': '12470266226656260410'}, 'enable': 'true', 'created': '2025-10-06T16:41:45', 'last-modified': '2025-10-06T16:41:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859812'} 2025-10-06 16:41:47,255 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 16:41:47,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31034734 passed 2025-10-06 16:41:47,256 - DEBUG - ====Verifying policy data for ctest-vn-31034734 in API_Server ====== 2025-10-06 16:41:47,256 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:41:47,261 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:41:47,271 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:41:47,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/dd3c321d-cb5e-4c9f-ad0f-49101665b13a 2025-10-06 16:41:47,348 - DEBUG - ==>Verifying data for policy with id: 23d69253-600d-4090-b878-723520247190, fqn: ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-policy-allow-all-48461438'] 2025-10-06 16:41:47,348 - INFO - VN ctest-vn-31034734 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 16:41:47,348 - DEBUG - Verifying the vn in opserver 2025-10-06 16:41:47,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734 virtual network link through opserver 10.0.0.254 2025-10-06 16:41:47,348 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 16:41:47,638 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 16:41:47,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734?flat'} 2025-10-06 16:41:47,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734 is found in opserver 2025-10-06 16:41:47,695 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 16:41:47,699 - DEBUG - VRF ids for VN ctest-vn-31034734: {} 2025-10-06 16:41:47,699 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:41:47,703 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:41:47,713 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:41:47,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,807 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:41:47,813 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:41:47,818 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d5ad2700-807e-4f0e-8e43-915a78edacc3 2025-10-06 16:41:47,823 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 16:41:47,823 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,830 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:41:47,841 - INFO - Verified VN network id 13 for VN 1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,841 - INFO - Verifications in API Server for VN ctest-vn-78353376 passed 2025-10-06 16:41:47,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,848 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:41:47,853 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:41:47,859 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d5ad2700-807e-4f0e-8e43-915a78edacc3 2025-10-06 16:41:47,867 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-78353376', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76369250', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2214658973794978784', 'uuid-lslong': '10878175574748600238'}, 'enable': 'true', 'created': '2025-10-06T16:41:45', 'last-modified': '2025-10-06T16:41:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260824'} 2025-10-06 16:41:47,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 16:41:47,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78353376 passed 2025-10-06 16:41:47,873 - DEBUG - ====Verifying policy data for ctest-vn-78353376 in API_Server ====== 2025-10-06 16:41:47,874 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:41:47,878 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:41:47,888 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:41:47,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae 2025-10-06 16:41:47,964 - DEBUG - ==>Verifying data for policy with id: 23d69253-600d-4090-b878-723520247190, fqn: ['default-domain', 'ctest-TestBasicPolicy-76369250', 'ctest-policy-allow-all-48461438'] 2025-10-06 16:41:47,965 - INFO - VN ctest-vn-78353376 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 16:41:47,965 - DEBUG - Verifying the vn in opserver 2025-10-06 16:41:47,965 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-78353376 virtual network link through opserver 10.0.0.254 2025-10-06 16:41:47,965 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 16:41:47,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-78353376', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-78353376?flat'} 2025-10-06 16:41:47,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-78353376 is found in opserver 2025-10-06 16:41:47,980 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 16:41:47,984 - DEBUG - VRF ids for VN ctest-vn-78353376: {} 2025-10-06 16:41:48,035 - DEBUG - Services list from nova: [, , ] 2025-10-06 16:41:49,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4226-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4226-30) 2025-10-06 16:41:50,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4226-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4226-30) 2025-10-06 16:41:50,093 - INFO - Waiting for VM ctest-TestBasicPolicy-76369250-77700580 to be up.. 2025-10-06 16:41:50,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 16:41:55,232 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:41:55,232 - INFO - VM name : ctest-TestBasicPolicy-76369250-77700580 2025-10-06 16:41:55,293 - DEBUG - VM ctest-TestBasicPolicy-76369250-77700580 ID is 184f2ec1-bd18-4e1d-94f3-3c62d0cb1a2f 2025-10-06 16:41:55,309 - DEBUG - VM ctest-TestBasicPolicy-76369250-77700580 launched on Node cn-jenkins-deploy-platform-ansible-os-4226-30 2025-10-06 16:41:55,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/184f2ec1-bd18-4e1d-94f3-3c62d0cb1a2f 2025-10-06 16:41:55,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c3ecc25f-0e4d-45b3-9226-9409982f0d4e 2025-10-06 16:41:58,635 - 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 1027ms') 2025-10-06 16:41:58,635 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76369250-77700580 failed! 2025-10-06 16:41:58,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76369250:ctest-vn-31034734 is 99.150.252.65 and allocation pool is NOT set 2025-10-06 16:42:00,743 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.867 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.867/2.723/4.580/1.856 ms') 2025-10-06 16:42:00,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76369250-77700580 passed 2025-10-06 16:42:00,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:42:00,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76369250-77700580, IP 99.150.252.67, Port 22 2025-10-06 16:42:01,046 - DEBUG - VM ctest-TestBasicPolicy-76369250-77700580 is ready for SSH connections 2025-10-06 16:42:01,047 - INFO - Waiting for VM ctest-TestBasicPolicy-76369250-16236594 to be up.. 2025-10-06 16:42:01,115 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:42:01,115 - INFO - VM name : ctest-TestBasicPolicy-76369250-16236594 2025-10-06 16:42:01,184 - DEBUG - VM ctest-TestBasicPolicy-76369250-16236594 ID is ae9c345b-0b1b-40cc-8ac0-1eeb3670e445 2025-10-06 16:42:01,184 - DEBUG - VM ctest-TestBasicPolicy-76369250-16236594 launched on Node cn-jenkins-deploy-platform-ansible-os-4226-30 2025-10-06 16:42:01,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ae9c345b-0b1b-40cc-8ac0-1eeb3670e445 2025-10-06 16:42:01,257 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/760f2670-468e-4ab4-ac3f-4238715a21ca 2025-10-06 16:42:02,491 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.522/2.619/1.097 ms') 2025-10-06 16:42:02,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76369250-16236594 passed 2025-10-06 16:42:02,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:42:02,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76369250-16236594, IP 88.143.228.195, Port 22 2025-10-06 16:42:02,794 - DEBUG - VM ctest-TestBasicPolicy-76369250-16236594 is ready for SSH connections 2025-10-06 16:42:02,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:42:02,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.143.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 16:42:02,794 - DEBUG - ping -s 56 -c 3 -W 1 88.143.228.195 2025-10-06 16:42:06,766 - DEBUG - PING 88.143.228.195 (88.143.228.195): 56 data bytes 64 bytes from 88.143.228.195: seq=0 ttl=63 time=2.992 ms 64 bytes from 88.143.228.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 88.143.228.195: seq=2 ttl=63 time=0.800 ms --- 88.143.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/1.536/2.992 ms 2025-10-06 16:42:06,767 - INFO - Ping to IP 88.143.228.195 from VM ctest-TestBasicPolicy-76369250-77700580 passed 2025-10-06 16:42:06,935 - DEBUG - Policy Update Response {"network-policy": {"uuid": "23d69253-600d-4090-b878-723520247190", "href": "http://10.0.0.254:8082/network-policy/23d69253-600d-4090-b878-723520247190"}} 2025-10-06 16:42:06,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:42:06,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.143.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 16:42:06,935 - DEBUG - ping -s 56 -c 3 -W 1 88.143.228.195 2025-10-06 16:42:10,141 - DEBUG - PING 88.143.228.195 (88.143.228.195): 56 data bytes --- 88.143.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 16:42:10,141 - WARNING - Ping to IP 88.143.228.195 from VM ctest-TestBasicPolicy-76369250-77700580 failed 2025-10-06 16:42:10,141 - INFO - Deleting VM ctest-TestBasicPolicy-76369250-16236594 2025-10-06 16:42:10,204 - INFO - Deleting VM ctest-TestBasicPolicy-76369250-77700580 2025-10-06 16:42:10,558 - INFO - Deleted policy ctest-policy-allow-all-48461438 2025-10-06 16:42:10,558 - INFO - Deleting VN ctest-vn-78353376 2025-10-06 16:42:10,590 - DEBUG - VN 1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae still in use: Unable to complete operation on network 1ebc0c9a-57ae-4be0-96f7-0b0cd93897ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcebd3c8-9d6d-4ab2-a796-2174ab8545be'] 2025-10-06 16:42:10,590 - WARNING - Deleting VN ctest-vn-78353376 failed..Will retry 2025-10-06 16:42:12,682 - DEBUG - Response for deleting network () 2025-10-06 16:42:12,682 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0705d7da-4d25-40d5-aebb-c85470235ba1 2025-10-06 16:42:12,695 - DEBUG - Response Code: 404 2025-10-06 16:42:12,695 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:42:12,705 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:42:12,761 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:42:12,827 - INFO - Validated that VN ctest-vn-78353376 is not found in API Server 2025-10-06 16:42:12,837 - DEBUG - VN ctest-vn-78353376 is not present in Agent 10.0.0.254 2025-10-06 16:42:12,837 - INFO - Validated that VN ctest-vn-78353376 is not in any agent 2025-10-06 16:42:12,849 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78353376 info 2025-10-06 16:42:12,849 - INFO - Deleting VN ctest-vn-31034734 2025-10-06 16:42:12,933 - DEBUG - Response for deleting network () 2025-10-06 16:42:12,933 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/635d8c96-f3f0-4028-9c8f-c0e666fc6a36 2025-10-06 16:42:12,938 - DEBUG - Response Code: 404 2025-10-06 16:42:12,938 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 16:42:12,942 - DEBUG - Requesting: http://10.0.0.254:8082/domain/043283a7-7b44-4844-8e63-bce273e74e90 2025-10-06 16:42:12,995 - DEBUG - Requesting: http://10.0.0.254:8082/project/763c34d3-24de-4ad6-8f20-276553d7c876 2025-10-06 16:42:13,060 - INFO - Validated that VN ctest-vn-31034734 is not found in API Server 2025-10-06 16:42:13,069 - DEBUG - VN ctest-vn-31034734 is not present in Agent 10.0.0.254 2025-10-06 16:42:13,069 - INFO - Validated that VN ctest-vn-31034734 is not in any agent 2025-10-06 16:42:13,081 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31034734 info 2025-10-06 16:42:13,336 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 16:42:13,336 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-06 16:42:13,336 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:42:13,974 - INFO - Deleted project: ctest-TestBasicPolicy-76369250, ID : 763c34d3-24de-4ad6-8f20-276553d7c876