2026-03-19 23:24:59,832 - INFO - Domain Default found not creating 2026-03-19 23:25:00,008 - INFO - Project ctest-TestBasicPolicy-33045643 not found, creating it 2026-03-19 23:25:00,480 - INFO - Created Project:ctest-TestBasicPolicy-33045643, ID : d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:01,921 - INFO - ================================================================================ 2026-03-19 23:25:01,921 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 23:25:01,921 - 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 2026-03-19 23:25:02,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-03-19 23:25:02,180 - INFO - Initial checks done. Running the testcase now 2026-03-19 23:25:02,180 - INFO - 2026-03-19 23:25:02,708 - DEBUG - Response for create_network : {'network': {'id': '82c94e3e-0cd7-4426-944c-dd7c468ccc79', 'name': 'ctest-vn-18250233', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-vn-18250233'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:25:02,887 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1187d56-0433-4bc5-921e-1f3b06f9ff6e', 'name': '', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'network_id': '82c94e3e-0cd7-4426-944c-dd7c468ccc79', 'ip_version': 4, 'cidr': '33.244.247.192/26', 'allocation_pools': [{'start': '33.244.247.194', 'end': '33.244.247.254'}], 'gateway_ip': '33.244.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.244.247.194', 'tags': [], 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2'}} 2026-03-19 23:25:02,905 - INFO - Created VN ctest-vn-18250233 2026-03-19 23:25:02,960 - DEBUG - VN ctest-vn-18250233 UUID is 82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:03,246 - DEBUG - Response for create_network : {'network': {'id': 'ebe50782-4ff2-4970-bf71-e907d77cc368', 'name': 'ctest-vn-41557003', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-vn-41557003'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:25:03,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '79c4b50d-df5f-4794-b6a7-0665ac2cba99', 'name': '', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'network_id': 'ebe50782-4ff2-4970-bf71-e907d77cc368', 'ip_version': 4, 'cidr': '176.249.144.0/26', 'allocation_pools': [{'start': '176.249.144.2', 'end': '176.249.144.62'}], 'gateway_ip': '176.249.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.249.144.2', 'tags': [], 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2'}} 2026-03-19 23:25:03,416 - INFO - Created VN ctest-vn-41557003 2026-03-19 23:25:03,472 - DEBUG - VN ctest-vn-41557003 UUID is ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:03,628 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233, 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-33045643:ctest-vn-41557003, 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] 2026-03-19 23:25:03,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82c94e3e-0cd7-4426-944c-dd7c468ccc79', 'name': 'ctest-vn-18250233', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1187d56-0433-4bc5-921e-1f3b06f9ff6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-vn-18250233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-policy-allow-all-82015573']], 'subnet_ipam': [{'subnet_cidr': '33.244.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:25:04,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ebe50782-4ff2-4970-bf71-e907d77cc368', 'name': 'ctest-vn-41557003', 'tenant_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'project_id': 'd05708fe72df4e1ca39afbb52303d9a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79c4b50d-df5f-4794-b6a7-0665ac2cba99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-vn-41557003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-policy-allow-all-82015573']], 'subnet_ipam': [{'subnet_cidr': '176.249.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:25:04,308 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:04,574 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:04,603 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:04,614 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:04,682 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,691 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,698 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:04,705 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:04,712 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/6debdaea-ccbb-47a7-9630-13706c44f3ba 2026-03-19 23:25:04,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 23:25:04,719 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,728 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:04,743 - INFO - Verified VN network id 12 for VN 82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,743 - INFO - Verifications in API Server for VN ctest-vn-18250233 passed 2026-03-19 23:25:04,743 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,751 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:04,757 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:04,763 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/6debdaea-ccbb-47a7-9630-13706c44f3ba 2026-03-19 23:25:04,774 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33045643', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9424149723659846694', 'uuid-lslong': '10686159541672660089'}, 'enable': 'true', 'created': '2026-03-19T23:25:02', 'last-modified': '2026-03-19T23:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873063'} 2026-03-19 23:25:04,781 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 23:25:04,781 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18250233 passed 2026-03-19 23:25:04,781 - DEBUG - ====Verifying policy data for ctest-vn-18250233 in API_Server ====== 2026-03-19 23:25:04,781 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:04,787 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:04,799 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:04,868 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/82c94e3e-0cd7-4426-944c-dd7c468ccc79 2026-03-19 23:25:04,877 - DEBUG - ==>Verifying data for policy with id: 02855b01-47ab-48ab-a5d7-1e671bf40903, fqn: ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-policy-allow-all-82015573'] 2026-03-19 23:25:04,877 - INFO - VN ctest-vn-18250233 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 23:25:04,877 - DEBUG - Verifying the vn in opserver 2026-03-19 23:25:04,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233 virtual network link through opserver 10.0.0.249 2026-03-19 23:25:04,878 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 23:25:05,153 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 23:25:05,223 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233?flat'} 2026-03-19 23:25:05,223 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233 is found in opserver 2026-03-19 23:25:05,233 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 23:25:05,237 - DEBUG - VRF ids for VN ctest-vn-18250233: {} 2026-03-19 23:25:05,237 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:05,242 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:05,251 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:05,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,363 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,376 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:05,388 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:05,400 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f50b4649-a410-4a2d-af89-be73de8ce88a 2026-03-19 23:25:05,424 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 23:25:05,424 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,452 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:05,482 - INFO - Verified VN network id 13 for VN ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,482 - INFO - Verifications in API Server for VN ctest-vn-41557003 passed 2026-03-19 23:25:05,482 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,501 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:05,537 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:05,548 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f50b4649-a410-4a2d-af89-be73de8ce88a 2026-03-19 23:25:05,561 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-41557003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33045643', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16998000624848226672', 'uuid-lslong': '13795063353501860712'}, 'enable': 'true', 'created': '2026-03-19T23:25:03', 'last-modified': '2026-03-19T23:25:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421557'} 2026-03-19 23:25:05,568 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 23:25:05,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41557003 passed 2026-03-19 23:25:05,568 - DEBUG - ====Verifying policy data for ctest-vn-41557003 in API_Server ====== 2026-03-19 23:25:05,568 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:05,577 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:05,604 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:05,712 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ebe50782-4ff2-4970-bf71-e907d77cc368 2026-03-19 23:25:05,725 - DEBUG - ==>Verifying data for policy with id: 02855b01-47ab-48ab-a5d7-1e671bf40903, fqn: ['default-domain', 'ctest-TestBasicPolicy-33045643', 'ctest-policy-allow-all-82015573'] 2026-03-19 23:25:05,725 - INFO - VN ctest-vn-41557003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 23:25:05,725 - DEBUG - Verifying the vn in opserver 2026-03-19 23:25:05,725 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-41557003 virtual network link through opserver 10.0.0.249 2026-03-19 23:25:05,725 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 23:25:05,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-41557003', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-41557003?flat'} 2026-03-19 23:25:05,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-41557003 is found in opserver 2026-03-19 23:25:05,752 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 23:25:05,757 - DEBUG - VRF ids for VN ctest-vn-41557003: {} 2026-03-19 23:25:05,839 - DEBUG - Services list from nova: [, , ] 2026-03-19 23:25:06,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5503-1) 2026-03-19 23:25:07,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5503-1) 2026-03-19 23:25:07,884 - INFO - Waiting for VM ctest-TestBasicPolicy-33045643-94542603 to be up.. 2026-03-19 23:25:07,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 23:25:13,033 - DEBUG - VM is in ACTIVE state now 2026-03-19 23:25:13,034 - INFO - VM name : ctest-TestBasicPolicy-33045643-94542603 2026-03-19 23:25:13,103 - DEBUG - VM ctest-TestBasicPolicy-33045643-94542603 ID is a65a842f-cecd-4afb-8b29-e709c916c857 2026-03-19 23:25:13,123 - DEBUG - VM ctest-TestBasicPolicy-33045643-94542603 launched on Node cn-jenkins-deploy-platform-ansible-os-5503-1 2026-03-19 23:25:13,195 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a65a842f-cecd-4afb-8b29-e709c916c857 2026-03-19 23:25:13,204 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/382eda05-62e6-4abc-9d81-0ace00d5856e 2026-03-19 23:25:16,444 - 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 1010ms') 2026-03-19 23:25:16,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33045643-94542603 failed! 2026-03-19 23:25:16,500 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33045643:ctest-vn-18250233 is 33.244.247.193 and allocation pool is NOT set 2026-03-19 23:25:18,565 - 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=7.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.585 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.585/4.040/7.496/3.455 ms') 2026-03-19 23:25:18,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33045643-94542603 passed 2026-03-19 23:25:18,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:25:18,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33045643-94542603, IP 33.244.247.195, Port 22 2026-03-19 23:25:18,875 - DEBUG - VM ctest-TestBasicPolicy-33045643-94542603 is ready for SSH connections 2026-03-19 23:25:18,875 - INFO - Waiting for VM ctest-TestBasicPolicy-33045643-63629617 to be up.. 2026-03-19 23:25:18,956 - DEBUG - VM is in ACTIVE state now 2026-03-19 23:25:18,956 - INFO - VM name : ctest-TestBasicPolicy-33045643-63629617 2026-03-19 23:25:19,029 - DEBUG - VM ctest-TestBasicPolicy-33045643-63629617 ID is fa1bc0e4-d05c-49df-b0e1-f139669304ce 2026-03-19 23:25:19,029 - DEBUG - VM ctest-TestBasicPolicy-33045643-63629617 launched on Node cn-jenkins-deploy-platform-ansible-os-5503-1 2026-03-19 23:25:19,106 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fa1bc0e4-d05c-49df-b0e1-f139669304ce 2026-03-19 23:25:19,114 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9bd892a4-2c83-4bbe-9e79-1b99e0f9e686 2026-03-19 23:25:20,352 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.574 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.574/1.582/2.590/1.008 ms') 2026-03-19 23:25:20,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33045643-63629617 passed 2026-03-19 23:25:20,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:25:20,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33045643-63629617, IP 176.249.144.3, Port 22 2026-03-19 23:25:20,656 - DEBUG - VM ctest-TestBasicPolicy-33045643-63629617 is ready for SSH connections 2026-03-19 23:25:20,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:25:20,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.249.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 23:25:20,656 - DEBUG - ping -s 56 -c 3 -W 1 176.249.144.3 2026-03-19 23:25:24,613 - DEBUG - PING 176.249.144.3 (176.249.144.3): 56 data bytes 64 bytes from 176.249.144.3: seq=0 ttl=63 time=3.376 ms 64 bytes from 176.249.144.3: seq=1 ttl=63 time=0.926 ms 64 bytes from 176.249.144.3: seq=2 ttl=63 time=0.921 ms --- 176.249.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.741/3.376 ms 2026-03-19 23:25:24,613 - INFO - Ping to IP 176.249.144.3 from VM ctest-TestBasicPolicy-33045643-94542603 passed 2026-03-19 23:25:24,791 - DEBUG - Policy Update Response {"network-policy": {"uuid": "02855b01-47ab-48ab-a5d7-1e671bf40903", "href": "http://10.0.0.249:8082/network-policy/02855b01-47ab-48ab-a5d7-1e671bf40903"}} 2026-03-19 23:25:24,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:25:24,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.249.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 23:25:24,792 - DEBUG - ping -s 56 -c 3 -W 1 176.249.144.3 2026-03-19 23:25:27,988 - DEBUG - PING 176.249.144.3 (176.249.144.3): 56 data bytes --- 176.249.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 23:25:27,989 - WARNING - Ping to IP 176.249.144.3 from VM ctest-TestBasicPolicy-33045643-94542603 failed 2026-03-19 23:25:27,989 - INFO - Deleting VM ctest-TestBasicPolicy-33045643-63629617 2026-03-19 23:25:28,048 - INFO - Deleting VM ctest-TestBasicPolicy-33045643-94542603 2026-03-19 23:25:28,417 - INFO - Deleted policy ctest-policy-allow-all-82015573 2026-03-19 23:25:28,417 - INFO - Deleting VN ctest-vn-41557003 2026-03-19 23:25:28,453 - DEBUG - VN ebe50782-4ff2-4970-bf71-e907d77cc368 still in use: Unable to complete operation on network ebe50782-4ff2-4970-bf71-e907d77cc368. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0f7d18c-7f2c-4531-9496-8389977c66f3'] 2026-03-19 23:25:28,453 - WARNING - Deleting VN ctest-vn-41557003 failed..Will retry 2026-03-19 23:25:30,551 - DEBUG - Response for deleting network () 2026-03-19 23:25:30,551 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/24595ef4-5c01-4d31-a3bb-6f3e598bace2 2026-03-19 23:25:30,557 - DEBUG - Response Code: 404 2026-03-19 23:25:30,557 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:30,562 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:30,617 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:30,682 - INFO - Validated that VN ctest-vn-41557003 is not found in API Server 2026-03-19 23:25:30,690 - DEBUG - VN ctest-vn-41557003 is not present in Agent 10.0.0.249 2026-03-19 23:25:30,690 - INFO - Validated that VN ctest-vn-41557003 is not in any agent 2026-03-19 23:25:30,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41557003 info 2026-03-19 23:25:30,701 - INFO - Deleting VN ctest-vn-18250233 2026-03-19 23:25:30,804 - DEBUG - Response for deleting network () 2026-03-19 23:25:30,804 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bedf9793-5825-4b52-8800-1c166b5cef0d 2026-03-19 23:25:30,809 - DEBUG - Response Code: 404 2026-03-19 23:25:30,809 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 23:25:30,813 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b08ef5ca-d3a2-420b-939b-3e36d83c00eb 2026-03-19 23:25:30,864 - DEBUG - Requesting: http://10.0.0.249:8082/project/d05708fe-72df-4e1c-a39a-fbb52303d9a2 2026-03-19 23:25:30,932 - INFO - Validated that VN ctest-vn-18250233 is not found in API Server 2026-03-19 23:25:30,946 - DEBUG - VN ctest-vn-18250233 is not present in Agent 10.0.0.249 2026-03-19 23:25:30,947 - INFO - Validated that VN ctest-vn-18250233 is not in any agent 2026-03-19 23:25:30,960 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18250233 info 2026-03-19 23:25:31,217 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 23:25:31,218 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-03-19 23:25:31,218 - INFO - -------------------------------------------------------------------------------- 2026-03-19 23:25:31,835 - INFO - Deleted project: ctest-TestBasicPolicy-33045643, ID : d05708fe-72df-4e1c-a39a-fbb52303d9a2