2026-10-26 20:22:48,432 - INFO - Domain Default found not creating 2026-10-26 20:22:48,654 - INFO - Project ctest-TestBasicPolicy-12366204 not found, creating it 2026-10-26 20:22:49,187 - INFO - Created Project:ctest-TestBasicPolicy-12366204, ID : 60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:22:51,282 - INFO - ================================================================================ 2026-10-26 20:22:51,283 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 20:22:51,283 - 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-10-26 20:22:51,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-26 20:22:51,564 - INFO - Initial checks done. Running the testcase now 2026-10-26 20:22:51,564 - INFO - 2026-10-26 20:22:52,334 - DEBUG - Response for create_network : {'network': {'id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'name': 'ctest-vn-71868780', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-71868780'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 20:22:52,534 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7fca137-f6ce-4cd3-95d9-be4fcbe3647b', 'name': '', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'network_id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'ip_version': 4, 'cidr': '63.141.93.128/26', 'allocation_pools': [{'start': '63.141.93.130', 'end': '63.141.93.190'}], 'gateway_ip': '63.141.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.141.93.130', 'tags': [], 'project_id': '60e378a78d34433d97b517c090a8ab5a'}} 2026-10-26 20:22:52,555 - INFO - Created VN ctest-vn-71868780 2026-10-26 20:22:52,614 - DEBUG - VN ctest-vn-71868780 UUID is 35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:53,125 - DEBUG - Response for create_network : {'network': {'id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'name': 'ctest-vn-02028878', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-02028878'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 20:22:53,381 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3f4cdfc-a6bc-4151-843c-fe56790e04ac', 'name': '', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'network_id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'ip_version': 4, 'cidr': '168.140.4.64/26', 'allocation_pools': [{'start': '168.140.4.66', 'end': '168.140.4.126'}], 'gateway_ip': '168.140.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.140.4.66', 'tags': [], 'project_id': '60e378a78d34433d97b517c090a8ab5a'}} 2026-10-26 20:22:53,402 - INFO - Created VN ctest-vn-02028878 2026-10-26 20:22:53,459 - DEBUG - VN ctest-vn-02028878 UUID is 619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:53,676 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780, 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-12366204:ctest-vn-02028878, 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-10-26 20:22:54,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'name': 'ctest-vn-71868780', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b7fca137-f6ce-4cd3-95d9-be4fcbe3647b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-71868780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']], 'subnet_ipam': [{'subnet_cidr': '63.141.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 20:22:54,304 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'name': 'ctest-vn-02028878', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b3f4cdfc-a6bc-4151-843c-fe56790e04ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-02028878'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']], 'subnet_ipam': [{'subnet_cidr': '168.140.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 20:22:54,478 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:22:54,866 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:22:54,903 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:22:54,918 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:22:55,005 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,024 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,038 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:22:55,050 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:22:55,059 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a5f561a5-90ac-4f1c-8cfd-1fc26d5e520d 2026-10-26 20:22:55,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 20:22:55,069 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,083 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:22:55,103 - INFO - Verified VN network id 12 for VN 35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,104 - INFO - Verifications in API Server for VN ctest-vn-71868780 passed 2026-10-26 20:22:55,104 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,117 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:22:55,126 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:22:55,137 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a5f561a5-90ac-4f1c-8cfd-1fc26d5e520d 2026-10-26 20:22:55,153 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12366204', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3857173506084130805', 'uuid-lslong': '12440812513505682671'}, 'enable': 'true', 'created': '2026-10-26T20:22:52', 'last-modified': '2026-10-26T20:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.127343'} 2026-10-26 20:22:55,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 20:22:55,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71868780 passed 2026-10-26 20:22:55,163 - DEBUG - ====Verifying policy data for ctest-vn-71868780 in API_Server ====== 2026-10-26 20:22:55,163 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:22:55,172 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:22:55,191 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:22:55,284 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef 2026-10-26 20:22:55,297 - DEBUG - ==>Verifying data for policy with id: ef7ae978-faf6-4e46-9259-d66e1aa3690f, fqn: ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284'] 2026-10-26 20:22:55,297 - INFO - VN ctest-vn-71868780 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 20:22:55,297 - DEBUG - Verifying the vn in opserver 2026-10-26 20:22:55,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780 virtual network link through opserver 10.0.0.185 2026-10-26 20:22:55,298 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-26 20:22:55,677 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-26 20:22:55,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780?flat'} 2026-10-26 20:22:55,741 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780 is found in opserver 2026-10-26 20:22:55,755 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 20:22:55,762 - DEBUG - VRF ids for VN ctest-vn-71868780: {} 2026-10-26 20:22:55,762 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:22:55,770 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:22:55,783 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:22:55,868 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:55,883 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:55,896 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:22:55,907 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:22:55,916 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/ab43986a-84a8-4900-bd70-c3c75a223cf3 2026-10-26 20:22:55,925 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 20:22:55,925 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:55,938 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:22:55,957 - INFO - Verified VN network id 13 for VN 619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:55,958 - INFO - Verifications in API Server for VN ctest-vn-02028878 passed 2026-10-26 20:22:55,958 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:55,970 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:22:55,979 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:22:55,988 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/ab43986a-84a8-4900-bd70-c3c75a223cf3 2026-10-26 20:22:56,004 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12366204', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7030425719366634462', 'uuid-lslong': '10360584433582983263'}, 'enable': 'true', 'created': '2026-10-26T20:22:53', 'last-modified': '2026-10-26T20:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.735551'} 2026-10-26 20:22:56,011 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 20:22:56,011 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02028878 passed 2026-10-26 20:22:56,012 - DEBUG - ====Verifying policy data for ctest-vn-02028878 in API_Server ====== 2026-10-26 20:22:56,012 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:22:56,019 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:22:56,034 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:22:56,124 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f 2026-10-26 20:22:56,139 - DEBUG - ==>Verifying data for policy with id: ef7ae978-faf6-4e46-9259-d66e1aa3690f, fqn: ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284'] 2026-10-26 20:22:56,140 - INFO - VN ctest-vn-02028878 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 20:22:56,140 - DEBUG - Verifying the vn in opserver 2026-10-26 20:22:56,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878 virtual network link through opserver 10.0.0.185 2026-10-26 20:22:56,140 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-26 20:22:56,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878?flat'} 2026-10-26 20:22:56,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878 is found in opserver 2026-10-26 20:22:56,169 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 20:22:56,175 - DEBUG - VRF ids for VN ctest-vn-02028878: {} 2026-10-26 20:22:56,257 - DEBUG - Services list from nova: [, , ] 2026-10-26 20:22:56,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6417-1) 2026-10-26 20:22:57,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6417-1) 2026-10-26 20:22:57,332 - INFO - Waiting for VM ctest-TestBasicPolicy-12366204-17280514 to be up.. 2026-10-26 20:22:57,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:02,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:07,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:12,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:17,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:22,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:28,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:33,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 20:23:38,289 - DEBUG - VM is in ACTIVE state now 2026-10-26 20:23:38,289 - INFO - VM name : ctest-TestBasicPolicy-12366204-17280514 2026-10-26 20:23:38,435 - DEBUG - VM ctest-TestBasicPolicy-12366204-17280514 ID is c8ddb8ac-cbf2-4afe-8052-4ffa883d26ce 2026-10-26 20:23:38,465 - DEBUG - VM ctest-TestBasicPolicy-12366204-17280514 launched on Node cn-jenkins-deploy-platform-ansible-os-6417-1 2026-10-26 20:23:38,564 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/c8ddb8ac-cbf2-4afe-8052-4ffa883d26ce 2026-10-26 20:23:38,576 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/6c9c648d-695d-4676-8bae-26466f9127db 2026-10-26 20:23:41,858 - 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 1017ms') 2026-10-26 20:23:41,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12366204-17280514 failed! 2026-10-26 20:23:41,918 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780 is 63.141.93.129 and allocation pool is NOT set 2026-10-26 20:23:45,982 - 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=2 ttl=63 time=13.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 13.722/13.722/13.722/0.000 ms') 2026-10-26 20:23:45,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12366204-17280514 passed 2026-10-26 20:23:46,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 20:23:46,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12366204-17280514, IP 63.141.93.131, Port 22 2026-10-26 20:23:46,312 - DEBUG - VM ctest-TestBasicPolicy-12366204-17280514 is ready for SSH connections 2026-10-26 20:23:46,312 - INFO - Waiting for VM ctest-TestBasicPolicy-12366204-37150850 to be up.. 2026-10-26 20:23:46,450 - DEBUG - VM is in ACTIVE state now 2026-10-26 20:23:46,450 - INFO - VM name : ctest-TestBasicPolicy-12366204-37150850 2026-10-26 20:23:46,556 - DEBUG - VM ctest-TestBasicPolicy-12366204-37150850 ID is a33f7d76-5c88-47ac-a93e-65615ad91318 2026-10-26 20:23:46,556 - DEBUG - VM ctest-TestBasicPolicy-12366204-37150850 launched on Node cn-jenkins-deploy-platform-ansible-os-6417-1 2026-10-26 20:23:46,667 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a33f7d76-5c88-47ac-a93e-65615ad91318 2026-10-26 20:23:46,678 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/d52ede6a-dd8e-4b00-939e-cf757c1e3b92 2026-10-26 20:23:49,956 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms') 2026-10-26 20:23:49,956 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12366204-37150850 failed! 2026-10-26 20:23:50,014 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878 is 168.140.4.65 and allocation pool is NOT set 2026-10-26 20:23:52,079 - 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=7.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.714/4.616/7.519/2.902 ms') 2026-10-26 20:23:52,080 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12366204-37150850 passed 2026-10-26 20:23:52,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 20:23:52,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12366204-37150850, IP 168.140.4.67, Port 22 2026-10-26 20:23:52,408 - DEBUG - VM ctest-TestBasicPolicy-12366204-37150850 is ready for SSH connections 2026-10-26 20:23:52,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 20:23:52,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.140.4.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-26 20:23:52,408 - DEBUG - ping -s 56 -c 3 -W 1 168.140.4.67 2026-10-26 20:23:56,603 - DEBUG - PING 168.140.4.67 (168.140.4.67): 56 data bytes 64 bytes from 168.140.4.67: seq=0 ttl=63 time=5.204 ms 64 bytes from 168.140.4.67: seq=1 ttl=63 time=1.637 ms 64 bytes from 168.140.4.67: seq=2 ttl=63 time=1.100 ms --- 168.140.4.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.100/2.647/5.204 ms 2026-10-26 20:23:56,603 - INFO - Ping to IP 168.140.4.67 from VM ctest-TestBasicPolicy-12366204-17280514 passed 2026-10-26 20:23:56,789 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ef7ae978-faf6-4e46-9259-d66e1aa3690f", "href": "http://10.0.0.185:8082/network-policy/ef7ae978-faf6-4e46-9259-d66e1aa3690f"}} 2026-10-26 20:23:56,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 20:23:56,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.140.4.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-26 20:23:56,790 - DEBUG - ping -s 56 -c 3 -W 1 168.140.4.67 2026-10-26 20:23:59,930 - DEBUG - PING 168.140.4.67 (168.140.4.67): 56 data bytes 64 bytes from 168.140.4.67: seq=0 ttl=63 time=1.776 ms --- 168.140.4.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.776/1.776/1.776 ms 2026-10-26 20:23:59,930 - WARNING - Ping to IP 168.140.4.67 from VM ctest-TestBasicPolicy-12366204-17280514 failed 2026-10-26 20:23:59,930 - INFO - Deleting VM ctest-TestBasicPolicy-12366204-37150850 2026-10-26 20:24:00,056 - INFO - Deleting VM ctest-TestBasicPolicy-12366204-17280514 2026-10-26 20:24:00,707 - INFO - Deleted policy ctest-policy-allow-all-46156284 2026-10-26 20:24:00,707 - INFO - Deleting VN ctest-vn-02028878 2026-10-26 20:24:00,751 - DEBUG - VN 619116f1-669e-4bde-8fc8-30a64d27c85f still in use: Unable to complete operation on network 619116f1-669e-4bde-8fc8-30a64d27c85f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf3f484b-d585-4479-be93-673b22769ad9'] 2026-10-26 20:24:00,752 - WARNING - Deleting VN ctest-vn-02028878 failed..Will retry 2026-10-26 20:24:02,974 - DEBUG - Response for deleting network () 2026-10-26 20:24:02,974 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b 2026-10-26 20:24:02,990 - DEBUG - Response Code: 404 2026-10-26 20:24:02,991 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:24:03,001 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:24:03,018 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:24:03,124 - INFO - Validated that VN ctest-vn-02028878 is not found in API Server 2026-10-26 20:24:03,140 - DEBUG - VN ctest-vn-02028878 is not present in Agent 10.0.0.185 2026-10-26 20:24:03,140 - INFO - Validated that VN ctest-vn-02028878 is not in any agent 2026-10-26 20:24:03,163 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02028878 info 2026-10-26 20:24:03,163 - INFO - Deleting VN ctest-vn-71868780 2026-10-26 20:24:03,298 - DEBUG - Response for deleting network () 2026-10-26 20:24:03,298 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e 2026-10-26 20:24:03,307 - DEBUG - Response Code: 404 2026-10-26 20:24:03,307 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-26 20:24:03,314 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23 2026-10-26 20:24:03,372 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a 2026-10-26 20:24:03,448 - INFO - Validated that VN ctest-vn-71868780 is not found in API Server 2026-10-26 20:24:03,459 - DEBUG - VN ctest-vn-71868780 is not present in Agent 10.0.0.185 2026-10-26 20:24:03,459 - INFO - Validated that VN ctest-vn-71868780 is not in any agent 2026-10-26 20:24:03,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71868780 info 2026-10-26 20:24:03,753 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 20:24:03,753 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-10-26 20:24:03,753 - INFO - -------------------------------------------------------------------------------- 2026-10-26 20:24:04,688 - INFO - Deleted project: ctest-TestBasicPolicy-12366204, ID : 60e378a7-8d34-433d-97b5-17c090a8ab5a