2025-10-23 01:46:40,874 - INFO - Domain Default found not creating 2025-10-23 01:46:41,010 - INFO - Project ctest-TestBasicPolicy-06669974 not found, creating it 2025-10-23 01:46:41,437 - INFO - Created Project:ctest-TestBasicPolicy-06669974, ID : d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:46:42,838 - INFO - ================================================================================ 2025-10-23 01:46:42,838 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 01:46:42,838 - 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-23 01:46:43,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-23 01:46:43,095 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:46:43,096 - INFO - 2025-10-23 01:46:43,597 - DEBUG - Response for create_network : {'network': {'id': '37216836-b27f-4bf1-96d4-b574fb378ffc', 'name': 'ctest-vn-62522245', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-vn-62522245'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:46:43,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '90227483-c26c-4054-b8a4-6d4517015ee0', 'name': '', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'network_id': '37216836-b27f-4bf1-96d4-b574fb378ffc', 'ip_version': 4, 'cidr': '26.60.158.0/26', 'allocation_pools': [{'start': '26.60.158.2', 'end': '26.60.158.62'}], 'gateway_ip': '26.60.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.60.158.2', 'tags': [], 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57'}} 2025-10-23 01:46:43,781 - INFO - Created VN ctest-vn-62522245 2025-10-23 01:46:43,829 - DEBUG - VN ctest-vn-62522245 UUID is 37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:44,136 - DEBUG - Response for create_network : {'network': {'id': 'f5aabac1-96f0-4fe0-b5fb-ae3125989545', 'name': 'ctest-vn-14892138', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-vn-14892138'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:46:44,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1f06e4e-79c0-4266-990c-7ed75ff4d1ca', 'name': '', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'network_id': 'f5aabac1-96f0-4fe0-b5fb-ae3125989545', 'ip_version': 4, 'cidr': '175.89.242.192/26', 'allocation_pools': [{'start': '175.89.242.194', 'end': '175.89.242.254'}], 'gateway_ip': '175.89.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.89.242.194', 'tags': [], 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57'}} 2025-10-23 01:46:44,310 - INFO - Created VN ctest-vn-14892138 2025-10-23 01:46:44,369 - DEBUG - VN ctest-vn-14892138 UUID is f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:44,513 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245, 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-06669974:ctest-vn-14892138, 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-23 01:46:44,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37216836-b27f-4bf1-96d4-b574fb378ffc', 'name': 'ctest-vn-62522245', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['90227483-c26c-4054-b8a4-6d4517015ee0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-vn-62522245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-policy-allow-all-18087523']], 'subnet_ipam': [{'subnet_cidr': '26.60.158.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:46:45,023 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5aabac1-96f0-4fe0-b5fb-ae3125989545', 'name': 'ctest-vn-14892138', 'tenant_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'project_id': 'd7f1244ba4744c5e924530f1ef28fd57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1f06e4e-79c0-4266-990c-7ed75ff4d1ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-vn-14892138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-policy-allow-all-18087523']], 'subnet_ipam': [{'subnet_cidr': '175.89.242.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:46:45,181 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:46:45,475 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:46:45,502 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:46:45,515 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:46:45,594 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,605 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,613 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:46:45,620 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:46:45,626 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/71e9e168-1c7c-47a3-990c-2c329607077f 2025-10-23 01:46:45,633 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 01:46:45,633 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,643 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:46:45,657 - INFO - Verified VN network id 12 for VN 37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,658 - INFO - Verifications in API Server for VN ctest-vn-62522245 passed 2025-10-23 01:46:45,658 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,666 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:46:45,672 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:46:45,677 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/71e9e168-1c7c-47a3-990c-2c329607077f 2025-10-23 01:46:45,690 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06669974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3972570930449697777', 'uuid-lslong': '10868511314787405820'}, 'enable': 'true', 'created': '2025-10-23T01:46:43', 'last-modified': '2025-10-23T01:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912306'} 2025-10-23 01:46:45,696 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 01:46:45,696 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62522245 passed 2025-10-23 01:46:45,696 - DEBUG - ====Verifying policy data for ctest-vn-62522245 in API_Server ====== 2025-10-23 01:46:45,697 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:46:45,702 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:46:45,712 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:46:45,791 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/37216836-b27f-4bf1-96d4-b574fb378ffc 2025-10-23 01:46:45,799 - DEBUG - ==>Verifying data for policy with id: ce4f5a5e-980c-4e6c-a856-8600d39649bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-policy-allow-all-18087523'] 2025-10-23 01:46:45,799 - INFO - VN ctest-vn-62522245 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 01:46:45,799 - DEBUG - Verifying the vn in opserver 2025-10-23 01:46:45,799 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245 virtual network link through opserver 10.0.0.242 2025-10-23 01:46:45,799 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 01:46:46,086 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 01:46:46,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245?flat'} 2025-10-23 01:46:46,133 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245 is found in opserver 2025-10-23 01:46:46,141 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 01:46:46,145 - DEBUG - VRF ids for VN ctest-vn-62522245: {} 2025-10-23 01:46:46,145 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:46:46,149 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:46:46,158 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:46:46,226 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,236 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,244 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:46:46,250 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:46:46,255 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/155d483f-a925-4745-aebd-7b98262b98a2 2025-10-23 01:46:46,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 01:46:46,261 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,269 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:46:46,280 - INFO - Verified VN network id 13 for VN f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,280 - INFO - Verifications in API Server for VN ctest-vn-14892138 passed 2025-10-23 01:46:46,280 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,288 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:46:46,293 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:46:46,299 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/155d483f-a925-4745-aebd-7b98262b98a2 2025-10-23 01:46:46,309 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-14892138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06669974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17702166625956941792', 'uuid-lslong': '13113266266126718277'}, 'enable': 'true', 'created': '2025-10-23T01:46:44', 'last-modified': '2025-10-23T01:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312322'} 2025-10-23 01:46:46,313 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 01:46:46,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14892138 passed 2025-10-23 01:46:46,314 - DEBUG - ====Verifying policy data for ctest-vn-14892138 in API_Server ====== 2025-10-23 01:46:46,314 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:46:46,318 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:46:46,328 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:46:46,392 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f5aabac1-96f0-4fe0-b5fb-ae3125989545 2025-10-23 01:46:46,399 - DEBUG - ==>Verifying data for policy with id: ce4f5a5e-980c-4e6c-a856-8600d39649bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-06669974', 'ctest-policy-allow-all-18087523'] 2025-10-23 01:46:46,399 - INFO - VN ctest-vn-14892138 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 01:46:46,399 - DEBUG - Verifying the vn in opserver 2025-10-23 01:46:46,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-14892138 virtual network link through opserver 10.0.0.242 2025-10-23 01:46:46,399 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 01:46:46,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-14892138', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-14892138?flat'} 2025-10-23 01:46:46,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-14892138 is found in opserver 2025-10-23 01:46:46,414 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 01:46:46,418 - DEBUG - VRF ids for VN ctest-vn-14892138: {} 2025-10-23 01:46:46,474 - DEBUG - Services list from nova: [, , ] 2025-10-23 01:46:47,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1) 2025-10-23 01:46:48,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1) 2025-10-23 01:46:48,495 - INFO - Waiting for VM ctest-TestBasicPolicy-06669974-45073721 to be up.. 2025-10-23 01:46:48,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 01:46:53,733 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:46:53,734 - INFO - VM name : ctest-TestBasicPolicy-06669974-45073721 2025-10-23 01:46:53,803 - DEBUG - VM ctest-TestBasicPolicy-06669974-45073721 ID is 0b752052-263e-4d90-bcef-241ca09c2efe 2025-10-23 01:46:53,819 - DEBUG - VM ctest-TestBasicPolicy-06669974-45073721 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1 2025-10-23 01:46:53,895 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0b752052-263e-4d90-bcef-241ca09c2efe 2025-10-23 01:46:53,902 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1231dcb4-f0b2-41aa-bf43-55d99c69214f 2025-10-23 01:46:57,163 - 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 1015ms') 2025-10-23 01:46:57,163 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06669974-45073721 failed! 2025-10-23 01:46:57,217 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06669974:ctest-vn-62522245 is 26.60.158.1 and allocation pool is NOT set 2025-10-23 01:46:59,280 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.750 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.750/1.872/2.995/1.122 ms') 2025-10-23 01:46:59,280 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06669974-45073721 passed 2025-10-23 01:46:59,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:46:59,433 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06669974-45073721, IP 26.60.158.3, Port 22 2025-10-23 01:46:59,589 - DEBUG - VM ctest-TestBasicPolicy-06669974-45073721 is ready for SSH connections 2025-10-23 01:46:59,589 - INFO - Waiting for VM ctest-TestBasicPolicy-06669974-66642572 to be up.. 2025-10-23 01:46:59,678 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:46:59,678 - INFO - VM name : ctest-TestBasicPolicy-06669974-66642572 2025-10-23 01:46:59,745 - DEBUG - VM ctest-TestBasicPolicy-06669974-66642572 ID is 9ffc3359-4919-4012-9544-060335b6b983 2025-10-23 01:46:59,745 - DEBUG - VM ctest-TestBasicPolicy-06669974-66642572 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1 2025-10-23 01:46:59,824 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9ffc3359-4919-4012-9544-060335b6b983 2025-10-23 01:46:59,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f9b10523-f993-4f2c-994a-9063a0cf1dc6 2025-10-23 01:47:01,076 - 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=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.511/1.832/3.154/1.321 ms') 2025-10-23 01:47:01,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06669974-66642572 passed 2025-10-23 01:47:01,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:47:01,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06669974-66642572, IP 175.89.242.195, Port 22 2025-10-23 01:47:01,381 - DEBUG - VM ctest-TestBasicPolicy-06669974-66642572 is ready for SSH connections 2025-10-23 01:47:01,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:47:01,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.89.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 01:47:01,381 - DEBUG - ping -s 56 -c 3 -W 1 175.89.242.195 2025-10-23 01:47:05,346 - DEBUG - PING 175.89.242.195 (175.89.242.195): 56 data bytes 64 bytes from 175.89.242.195: seq=0 ttl=63 time=3.938 ms 64 bytes from 175.89.242.195: seq=1 ttl=63 time=1.005 ms 64 bytes from 175.89.242.195: seq=2 ttl=63 time=0.986 ms --- 175.89.242.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.986/1.976/3.938 ms 2025-10-23 01:47:05,346 - INFO - Ping to IP 175.89.242.195 from VM ctest-TestBasicPolicy-06669974-45073721 passed 2025-10-23 01:47:05,521 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce4f5a5e-980c-4e6c-a856-8600d39649bc", "href": "http://10.0.0.242:8082/network-policy/ce4f5a5e-980c-4e6c-a856-8600d39649bc"}} 2025-10-23 01:47:05,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:47:05,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.89.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 01:47:05,521 - DEBUG - ping -s 56 -c 3 -W 1 175.89.242.195 2025-10-23 01:47:08,720 - DEBUG - PING 175.89.242.195 (175.89.242.195): 56 data bytes --- 175.89.242.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 01:47:08,720 - WARNING - Ping to IP 175.89.242.195 from VM ctest-TestBasicPolicy-06669974-45073721 failed 2025-10-23 01:47:08,720 - INFO - Deleting VM ctest-TestBasicPolicy-06669974-66642572 2025-10-23 01:47:08,799 - INFO - Deleting VM ctest-TestBasicPolicy-06669974-45073721 2025-10-23 01:47:09,153 - INFO - Deleted policy ctest-policy-allow-all-18087523 2025-10-23 01:47:09,153 - INFO - Deleting VN ctest-vn-14892138 2025-10-23 01:47:09,188 - DEBUG - VN f5aabac1-96f0-4fe0-b5fb-ae3125989545 still in use: Unable to complete operation on network f5aabac1-96f0-4fe0-b5fb-ae3125989545. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f22b9539-5e52-4f66-a9e5-994ce3bed90b'] 2025-10-23 01:47:09,188 - WARNING - Deleting VN ctest-vn-14892138 failed..Will retry 2025-10-23 01:47:11,278 - DEBUG - Response for deleting network () 2025-10-23 01:47:11,278 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f3f89ac1-9710-48a8-b4cc-a3f78eb48392 2025-10-23 01:47:11,284 - DEBUG - Response Code: 404 2025-10-23 01:47:11,284 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:47:11,288 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:47:11,343 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:47:11,410 - INFO - Validated that VN ctest-vn-14892138 is not found in API Server 2025-10-23 01:47:11,420 - DEBUG - VN ctest-vn-14892138 is not present in Agent 10.0.0.242 2025-10-23 01:47:11,420 - INFO - Validated that VN ctest-vn-14892138 is not in any agent 2025-10-23 01:47:11,434 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14892138 info 2025-10-23 01:47:11,434 - INFO - Deleting VN ctest-vn-62522245 2025-10-23 01:47:11,545 - DEBUG - Response for deleting network () 2025-10-23 01:47:11,545 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/634bef1f-6595-4b73-a76b-ddea634ee576 2025-10-23 01:47:11,549 - DEBUG - Response Code: 404 2025-10-23 01:47:11,549 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 01:47:11,557 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dd0d4c61-0d50-4e29-8a46-e322f7a70cdd 2025-10-23 01:47:11,609 - DEBUG - Requesting: http://10.0.0.242:8082/project/d7f1244b-a474-4c5e-9245-30f1ef28fd57 2025-10-23 01:47:11,680 - INFO - Validated that VN ctest-vn-62522245 is not found in API Server 2025-10-23 01:47:11,688 - DEBUG - VN ctest-vn-62522245 is not present in Agent 10.0.0.242 2025-10-23 01:47:11,688 - INFO - Validated that VN ctest-vn-62522245 is not in any agent 2025-10-23 01:47:11,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62522245 info 2025-10-23 01:47:11,953 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 01:47:11,953 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-23 01:47:11,953 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:47:12,598 - INFO - Deleted project: ctest-TestBasicPolicy-06669974, ID : d7f1244b-a474-4c5e-9245-30f1ef28fd57