2026-04-28 18:42:34,924 - INFO - Domain Default found not creating 2026-04-28 18:42:35,118 - INFO - Project ctest-TestBasicPolicy-62910307 not found, creating it 2026-04-28 18:42:35,625 - INFO - Created Project:ctest-TestBasicPolicy-62910307, ID : 38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:42:37,124 - INFO - ================================================================================ 2026-04-28 18:42:37,124 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 18:42:37,124 - 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-04-28 18:42:37,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 18:42:37,380 - INFO - Initial checks done. Running the testcase now 2026-04-28 18:42:37,380 - INFO - 2026-04-28 18:42:37,913 - DEBUG - Response for create_network : {'network': {'id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'name': 'ctest-vn-55539438', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-55539438'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:42:38,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '745c601d-7a8f-4511-a11b-0ac0b7d3d16f', 'name': '', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'network_id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'ip_version': 4, 'cidr': '94.17.253.64/26', 'allocation_pools': [{'start': '94.17.253.66', 'end': '94.17.253.126'}], 'gateway_ip': '94.17.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.17.253.66', 'tags': [], 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2'}} 2026-04-28 18:42:38,174 - INFO - Created VN ctest-vn-55539438 2026-04-28 18:42:38,228 - DEBUG - VN ctest-vn-55539438 UUID is 8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:38,510 - DEBUG - Response for create_network : {'network': {'id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'name': 'ctest-vn-89100162', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-89100162'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:42:38,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '5beb6aa2-495c-4ce8-ab5a-2dd5a334b13c', 'name': '', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'network_id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'ip_version': 4, 'cidr': '179.180.107.192/26', 'allocation_pools': [{'start': '179.180.107.194', 'end': '179.180.107.254'}], 'gateway_ip': '179.180.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.180.107.194', 'tags': [], 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2'}} 2026-04-28 18:42:38,688 - INFO - Created VN ctest-vn-89100162 2026-04-28 18:42:38,744 - DEBUG - VN ctest-vn-89100162 UUID is b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:38,892 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438, 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-62910307:ctest-vn-89100162, 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-04-28 18:42:39,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'name': 'ctest-vn-55539438', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['745c601d-7a8f-4511-a11b-0ac0b7d3d16f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-55539438'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']], 'subnet_ipam': [{'subnet_cidr': '94.17.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:42:39,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'name': 'ctest-vn-89100162', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5beb6aa2-495c-4ce8-ab5a-2dd5a334b13c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-89100162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']], 'subnet_ipam': [{'subnet_cidr': '179.180.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:42:39,576 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:42:39,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:42:39,903 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:42:39,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:42:39,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,010 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:42:40,018 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:42:40,025 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ead01d4e-f554-4964-bc0b-2eb15eda37bf 2026-04-28 18:42:40,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 18:42:40,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,042 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:42:40,058 - INFO - Verified VN network id 11 for VN 8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,058 - INFO - Verifications in API Server for VN ctest-vn-55539438 passed 2026-04-28 18:42:40,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,067 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:42:40,075 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:42:40,082 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ead01d4e-f554-4964-bc0b-2eb15eda37bf 2026-04-28 18:42:40,095 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62910307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10371323828677330778', 'uuid-lslong': '12220971974066518480'}, 'enable': 'true', 'created': '2026-04-28T18:42:37', 'last-modified': '2026-04-28T18:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934289'} 2026-04-28 18:42:40,102 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 18:42:40,102 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55539438 passed 2026-04-28 18:42:40,102 - DEBUG - ====Verifying policy data for ctest-vn-55539438 in API_Server ====== 2026-04-28 18:42:40,102 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:42:40,109 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:42:40,119 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:42:40,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0 2026-04-28 18:42:40,204 - DEBUG - ==>Verifying data for policy with id: eec74db1-a618-48ab-a30a-e7bc1b72d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783'] 2026-04-28 18:42:40,204 - INFO - VN ctest-vn-55539438 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 18:42:40,204 - DEBUG - Verifying the vn in opserver 2026-04-28 18:42:40,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438 virtual network link through opserver 10.0.0.50 2026-04-28 18:42:40,204 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 18:42:40,499 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 18:42:40,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438?flat'} 2026-04-28 18:42:40,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438 is found in opserver 2026-04-28 18:42:40,576 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 18:42:40,580 - DEBUG - VRF ids for VN ctest-vn-55539438: {} 2026-04-28 18:42:40,580 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:42:40,586 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:42:40,597 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:42:40,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,699 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:42:40,707 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:42:40,714 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/701d2fd8-6295-428b-af76-5e53dad9444f 2026-04-28 18:42:40,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 18:42:40,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:42:40,747 - INFO - Verified VN network id 12 for VN b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,747 - INFO - Verifications in API Server for VN ctest-vn-89100162 passed 2026-04-28 18:42:40,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:42:40,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:42:40,776 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/701d2fd8-6295-428b-af76-5e53dad9444f 2026-04-28 18:42:40,790 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62910307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13034102873247794908', 'uuid-lslong': '11429635401261494562'}, 'enable': 'true', 'created': '2026-04-28T18:42:38', 'last-modified': '2026-04-28T18:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401346'} 2026-04-28 18:42:40,796 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 18:42:40,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89100162 passed 2026-04-28 18:42:40,796 - DEBUG - ====Verifying policy data for ctest-vn-89100162 in API_Server ====== 2026-04-28 18:42:40,796 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:42:40,801 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:42:40,812 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:42:40,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122 2026-04-28 18:42:40,893 - DEBUG - ==>Verifying data for policy with id: eec74db1-a618-48ab-a30a-e7bc1b72d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783'] 2026-04-28 18:42:40,894 - INFO - VN ctest-vn-89100162 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 18:42:40,894 - DEBUG - Verifying the vn in opserver 2026-04-28 18:42:40,894 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162 virtual network link through opserver 10.0.0.50 2026-04-28 18:42:40,894 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 18:42:40,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162?flat'} 2026-04-28 18:42:40,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162 is found in opserver 2026-04-28 18:42:40,913 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 18:42:40,918 - DEBUG - VRF ids for VN ctest-vn-89100162: {} 2026-04-28 18:42:40,976 - DEBUG - Services list from nova: [, , ] 2026-04-28 18:42:42,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5705-1) 2026-04-28 18:42:43,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5705-1) 2026-04-28 18:42:43,262 - INFO - Waiting for VM ctest-TestBasicPolicy-62910307-20833325 to be up.. 2026-04-28 18:42:43,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 18:42:48,441 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:42:48,441 - INFO - VM name : ctest-TestBasicPolicy-62910307-20833325 2026-04-28 18:42:48,518 - DEBUG - VM ctest-TestBasicPolicy-62910307-20833325 ID is 9fd94ff4-c714-43f8-ae98-27f6b1b115ac 2026-04-28 18:42:48,541 - DEBUG - VM ctest-TestBasicPolicy-62910307-20833325 launched on Node cn-jenkins-deploy-platform-ansible-os-5705-1 2026-04-28 18:42:48,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9fd94ff4-c714-43f8-ae98-27f6b1b115ac 2026-04-28 18:42:48,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ab861e7a-0b7a-4ea6-a9a3-cdb507855938 2026-04-28 18:42:51,891 - 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') 2026-04-28 18:42:51,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62910307-20833325 failed! 2026-04-28 18:42:51,944 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438 is 94.17.253.65 and allocation pool is NOT set 2026-04-28 18:42:54,009 - 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=9.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.416/6.179/9.942/3.763 ms') 2026-04-28 18:42:54,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62910307-20833325 passed 2026-04-28 18:42:54,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:42:54,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62910307-20833325, IP 94.17.253.67, Port 22 2026-04-28 18:42:54,316 - DEBUG - VM ctest-TestBasicPolicy-62910307-20833325 is ready for SSH connections 2026-04-28 18:42:54,316 - INFO - Waiting for VM ctest-TestBasicPolicy-62910307-03060906 to be up.. 2026-04-28 18:42:54,403 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:42:54,404 - INFO - VM name : ctest-TestBasicPolicy-62910307-03060906 2026-04-28 18:42:54,477 - DEBUG - VM ctest-TestBasicPolicy-62910307-03060906 ID is 8be9180d-65ed-4f89-aa10-c4ac69ad1818 2026-04-28 18:42:54,477 - DEBUG - VM ctest-TestBasicPolicy-62910307-03060906 launched on Node cn-jenkins-deploy-platform-ansible-os-5705-1 2026-04-28 18:42:54,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8be9180d-65ed-4f89-aa10-c4ac69ad1818 2026-04-28 18:42:54,568 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d82cdc36-f96a-4cf3-b138-4962670de881 2026-04-28 18:42:55,812 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/1.680/2.739/1.058 ms') 2026-04-28 18:42:55,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62910307-03060906 passed 2026-04-28 18:42:55,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:42:55,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62910307-03060906, IP 179.180.107.195, Port 22 2026-04-28 18:42:56,128 - DEBUG - VM ctest-TestBasicPolicy-62910307-03060906 is ready for SSH connections 2026-04-28 18:42:56,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:42:56,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.180.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 18:42:56,128 - DEBUG - ping -s 56 -c 3 -W 1 179.180.107.195 2026-04-28 18:43:00,153 - DEBUG - PING 179.180.107.195 (179.180.107.195): 56 data bytes 64 bytes from 179.180.107.195: seq=0 ttl=63 time=3.589 ms 64 bytes from 179.180.107.195: seq=1 ttl=63 time=0.924 ms 64 bytes from 179.180.107.195: seq=2 ttl=63 time=0.987 ms --- 179.180.107.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/1.833/3.589 ms 2026-04-28 18:43:00,153 - INFO - Ping to IP 179.180.107.195 from VM ctest-TestBasicPolicy-62910307-20833325 passed 2026-04-28 18:43:00,332 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eec74db1-a618-48ab-a30a-e7bc1b72d02b", "href": "http://10.0.0.50:8082/network-policy/eec74db1-a618-48ab-a30a-e7bc1b72d02b"}} 2026-04-28 18:43:00,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:43:00,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.180.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 18:43:00,332 - DEBUG - ping -s 56 -c 3 -W 1 179.180.107.195 2026-04-28 18:43:03,556 - DEBUG - PING 179.180.107.195 (179.180.107.195): 56 data bytes --- 179.180.107.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 18:43:03,556 - WARNING - Ping to IP 179.180.107.195 from VM ctest-TestBasicPolicy-62910307-20833325 failed 2026-04-28 18:43:03,556 - INFO - Deleting VM ctest-TestBasicPolicy-62910307-03060906 2026-04-28 18:43:03,647 - INFO - Deleting VM ctest-TestBasicPolicy-62910307-20833325 2026-04-28 18:43:04,085 - INFO - Deleted policy ctest-policy-allow-all-05601783 2026-04-28 18:43:04,085 - INFO - Deleting VN ctest-vn-89100162 2026-04-28 18:43:04,136 - DEBUG - VN b4e26f81-6dd5-46dc-9e9e-38d7346bb122 still in use: Unable to complete operation on network b4e26f81-6dd5-46dc-9e9e-38d7346bb122. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27dad664-e3f0-4e77-a3ed-fc43ed846b3e'] 2026-04-28 18:43:04,136 - WARNING - Deleting VN ctest-vn-89100162 failed..Will retry 2026-04-28 18:43:06,254 - DEBUG - Response for deleting network () 2026-04-28 18:43:06,254 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779 2026-04-28 18:43:06,263 - DEBUG - Response Code: 404 2026-04-28 18:43:06,263 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:43:06,270 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:43:06,325 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:43:06,396 - INFO - Validated that VN ctest-vn-89100162 is not found in API Server 2026-04-28 18:43:06,407 - DEBUG - VN ctest-vn-89100162 is not present in Agent 10.0.0.50 2026-04-28 18:43:06,407 - INFO - Validated that VN ctest-vn-89100162 is not in any agent 2026-04-28 18:43:06,423 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89100162 info 2026-04-28 18:43:06,423 - INFO - Deleting VN ctest-vn-55539438 2026-04-28 18:43:06,533 - DEBUG - Response for deleting network () 2026-04-28 18:43:06,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2 2026-04-28 18:43:06,542 - DEBUG - Response Code: 404 2026-04-28 18:43:06,542 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 18:43:06,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619 2026-04-28 18:43:06,610 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2 2026-04-28 18:43:06,680 - INFO - Validated that VN ctest-vn-55539438 is not found in API Server 2026-04-28 18:43:06,690 - DEBUG - VN ctest-vn-55539438 is not present in Agent 10.0.0.50 2026-04-28 18:43:06,690 - INFO - Validated that VN ctest-vn-55539438 is not in any agent 2026-04-28 18:43:06,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55539438 info 2026-04-28 18:43:06,957 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 18:43:06,957 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-28 18:43:06,957 - INFO - -------------------------------------------------------------------------------- 2026-04-28 18:43:07,654 - INFO - Deleted project: ctest-TestBasicPolicy-62910307, ID : 38cb7447-ef97-4f6b-a2ae-8365bb6505a2