2026-07-18 15:38:28,757 - INFO - Domain Default found not creating 2026-07-18 15:38:28,929 - INFO - Project ctest-TestBasicPolicy-24263247 not found, creating it 2026-07-18 15:38:29,427 - INFO - Created Project:ctest-TestBasicPolicy-24263247, ID : 44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:38:31,095 - INFO - ================================================================================ 2026-07-18 15:38:31,095 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 15:38:31,095 - 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-07-18 15:38:31,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-07-18 15:38:31,353 - INFO - Initial checks done. Running the testcase now 2026-07-18 15:38:31,353 - INFO - 2026-07-18 15:38:31,956 - DEBUG - Response for create_network : {'network': {'id': '7b9d0afe-1eea-4dd4-8c72-dca7754a612b', 'name': 'ctest-vn-01288908', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'project_id': '44bc4976964f494ca2ef476b45fe5d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-vn-01288908'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:38:32,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '33079227-3c1a-4c5a-94b5-274226506e48', 'name': '', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'network_id': '7b9d0afe-1eea-4dd4-8c72-dca7754a612b', 'ip_version': 4, 'cidr': '204.64.29.0/26', 'allocation_pools': [{'start': '204.64.29.2', 'end': '204.64.29.62'}], 'gateway_ip': '204.64.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.64.29.2', 'tags': [], 'project_id': '44bc4976964f494ca2ef476b45fe5d24'}} 2026-07-18 15:38:32,180 - INFO - Created VN ctest-vn-01288908 2026-07-18 15:38:32,238 - DEBUG - VN ctest-vn-01288908 UUID is 7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:32,582 - DEBUG - Response for create_network : {'network': {'id': '9578348e-82d8-4198-afcf-7e5336dc03e7', 'name': 'ctest-vn-11784994', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'project_id': '44bc4976964f494ca2ef476b45fe5d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-vn-11784994'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:38:32,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '46a18a12-4aea-4c0d-b9f7-25f546728145', 'name': '', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'network_id': '9578348e-82d8-4198-afcf-7e5336dc03e7', 'ip_version': 4, 'cidr': '59.128.190.128/26', 'allocation_pools': [{'start': '59.128.190.130', 'end': '59.128.190.190'}], 'gateway_ip': '59.128.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.128.190.130', 'tags': [], 'project_id': '44bc4976964f494ca2ef476b45fe5d24'}} 2026-07-18 15:38:32,768 - INFO - Created VN ctest-vn-11784994 2026-07-18 15:38:32,822 - DEBUG - VN ctest-vn-11784994 UUID is 9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:32,941 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908, 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-24263247:ctest-vn-11784994, 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-07-18 15:38:33,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b9d0afe-1eea-4dd4-8c72-dca7754a612b', 'name': 'ctest-vn-01288908', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'project_id': '44bc4976964f494ca2ef476b45fe5d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33079227-3c1a-4c5a-94b5-274226506e48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-vn-01288908'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-policy-allow-all-59269507']], 'subnet_ipam': [{'subnet_cidr': '204.64.29.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:38:33,502 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9578348e-82d8-4198-afcf-7e5336dc03e7', 'name': 'ctest-vn-11784994', 'tenant_id': '44bc4976964f494ca2ef476b45fe5d24', 'project_id': '44bc4976964f494ca2ef476b45fe5d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46a18a12-4aea-4c0d-b9f7-25f546728145'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-vn-11784994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-policy-allow-all-59269507']], 'subnet_ipam': [{'subnet_cidr': '59.128.190.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:38:33,670 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:38:34,001 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:38:34,033 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:38:34,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:38:34,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:38:34,154 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:38:34,160 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8266203-6970-47e0-9f5b-532ea606854f 2026-07-18 15:38:34,168 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:38:34,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:38:34,192 - INFO - Verified VN network id 11 for VN 7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,192 - INFO - Verifications in API Server for VN ctest-vn-01288908 passed 2026-07-18 15:38:34,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,201 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:38:34,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:38:34,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8266203-6970-47e0-9f5b-532ea606854f 2026-07-18 15:38:34,232 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24263247', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8907287724565351892', 'uuid-lslong': '10120393924440383787'}, 'enable': 'true', 'created': '2026-07-18T15:38:31', 'last-modified': '2026-07-18T15:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004060'} 2026-07-18 15:38:34,238 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:38:34,238 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01288908 passed 2026-07-18 15:38:34,238 - DEBUG - ====Verifying policy data for ctest-vn-01288908 in API_Server ====== 2026-07-18 15:38:34,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:38:34,244 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:38:34,255 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:38:34,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b9d0afe-1eea-4dd4-8c72-dca7754a612b 2026-07-18 15:38:34,346 - DEBUG - ==>Verifying data for policy with id: 0d9bc911-f6d6-4074-9419-703db6440bec, fqn: ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-policy-allow-all-59269507'] 2026-07-18 15:38:34,346 - INFO - VN ctest-vn-01288908 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:38:34,346 - DEBUG - Verifying the vn in opserver 2026-07-18 15:38:34,346 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908 virtual network link through opserver 10.0.0.38 2026-07-18 15:38:34,346 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-18 15:38:34,678 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-18 15:38:34,739 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908?flat'} 2026-07-18 15:38:34,739 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908 is found in opserver 2026-07-18 15:38:34,750 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:38:34,756 - DEBUG - VRF ids for VN ctest-vn-01288908: {} 2026-07-18 15:38:34,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:38:34,762 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:38:34,775 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:38:34,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:34,870 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:34,880 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:38:34,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:38:34,895 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0cd1bdc-d287-4957-b746-b6c670dc4f89 2026-07-18 15:38:34,902 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:38:34,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:34,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:38:34,931 - INFO - Verified VN network id 12 for VN 9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:34,931 - INFO - Verifications in API Server for VN ctest-vn-11784994 passed 2026-07-18 15:38:34,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:34,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:38:34,949 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:38:34,956 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0cd1bdc-d287-4957-b746-b6c670dc4f89 2026-07-18 15:38:34,968 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-11784994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24263247', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10770416295541752216', 'uuid-lslong': '12668483172684268519'}, 'enable': 'true', 'created': '2026-07-18T15:38:32', 'last-modified': '2026-07-18T15:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.490820'} 2026-07-18 15:38:34,974 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:38:34,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11784994 passed 2026-07-18 15:38:34,974 - DEBUG - ====Verifying policy data for ctest-vn-11784994 in API_Server ====== 2026-07-18 15:38:34,975 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:38:34,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:38:34,992 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:38:35,069 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9578348e-82d8-4198-afcf-7e5336dc03e7 2026-07-18 15:38:35,079 - DEBUG - ==>Verifying data for policy with id: 0d9bc911-f6d6-4074-9419-703db6440bec, fqn: ['default-domain', 'ctest-TestBasicPolicy-24263247', 'ctest-policy-allow-all-59269507'] 2026-07-18 15:38:35,079 - INFO - VN ctest-vn-11784994 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:38:35,079 - DEBUG - Verifying the vn in opserver 2026-07-18 15:38:35,079 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-11784994 virtual network link through opserver 10.0.0.38 2026-07-18 15:38:35,079 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-18 15:38:35,090 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-11784994', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-11784994?flat'} 2026-07-18 15:38:35,090 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-11784994 is found in opserver 2026-07-18 15:38:35,100 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:38:35,105 - DEBUG - VRF ids for VN ctest-vn-11784994: {} 2026-07-18 15:38:35,166 - DEBUG - Services list from nova: [, , ] 2026-07-18 15:38:35,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6106-1) 2026-07-18 15:38:36,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6106-1) 2026-07-18 15:38:36,010 - INFO - Waiting for VM ctest-TestBasicPolicy-24263247-54855702 to be up.. 2026-07-18 15:38:36,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:38:41,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:38:46,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:38:51,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:38:56,379 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:39:01,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:39:06,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:39:11,632 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:39:11,633 - INFO - VM name : ctest-TestBasicPolicy-24263247-54855702 2026-07-18 15:39:11,715 - DEBUG - VM ctest-TestBasicPolicy-24263247-54855702 ID is dc4c6e67-f837-42d5-ae4a-ee56f1ccc33f 2026-07-18 15:39:11,744 - DEBUG - VM ctest-TestBasicPolicy-24263247-54855702 launched on Node cn-jenkins-deploy-platform-ansible-os-6106-1 2026-07-18 15:39:11,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dc4c6e67-f837-42d5-ae4a-ee56f1ccc33f 2026-07-18 15:39:11,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68384bc2-374f-4ea0-97ac-6e98de3bb4fe 2026-07-18 15:39:15,097 - 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 1006ms') 2026-07-18 15:39:15,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24263247-54855702 failed! 2026-07-18 15:39:15,154 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24263247:ctest-vn-01288908 is 204.64.29.1 and allocation pool is NOT set 2026-07-18 15:39:17,227 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.80 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 = 3.796/5.715/7.635/1.919 ms') 2026-07-18 15:39:17,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24263247-54855702 passed 2026-07-18 15:39:17,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:39:17,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24263247-54855702, IP 204.64.29.3, Port 22 2026-07-18 15:39:17,456 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-18 15:39:17,561 - DEBUG - VM ctest-TestBasicPolicy-24263247-54855702 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-18 15:39:22,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:39:22,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24263247-54855702, IP 204.64.29.3, Port 22 2026-07-18 15:39:22,718 - DEBUG - VM ctest-TestBasicPolicy-24263247-54855702 is ready for SSH connections 2026-07-18 15:39:22,718 - INFO - Waiting for VM ctest-TestBasicPolicy-24263247-91410444 to be up.. 2026-07-18 15:39:22,809 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:39:22,809 - INFO - VM name : ctest-TestBasicPolicy-24263247-91410444 2026-07-18 15:39:22,893 - DEBUG - VM ctest-TestBasicPolicy-24263247-91410444 ID is 33a53286-6563-4ced-9684-f66cb25b94a1 2026-07-18 15:39:22,893 - DEBUG - VM ctest-TestBasicPolicy-24263247-91410444 launched on Node cn-jenkins-deploy-platform-ansible-os-6106-1 2026-07-18 15:39:22,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33a53286-6563-4ced-9684-f66cb25b94a1 2026-07-18 15:39:22,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e8569653-e108-4fb7-885b-0b4d643c66f3 2026-07-18 15:39:24,221 - 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=5.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.187/3.575/5.963/2.388 ms') 2026-07-18 15:39:24,221 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24263247-91410444 passed 2026-07-18 15:39:24,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:39:24,370 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24263247-91410444, IP 59.128.190.131, Port 22 2026-07-18 15:39:24,536 - DEBUG - VM ctest-TestBasicPolicy-24263247-91410444 is ready for SSH connections 2026-07-18 15:39:24,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:39:24,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.128.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-18 15:39:24,536 - DEBUG - ping -s 56 -c 3 -W 1 59.128.190.131 2026-07-18 15:39:28,583 - DEBUG - PING 59.128.190.131 (59.128.190.131): 56 data bytes 64 bytes from 59.128.190.131: seq=0 ttl=63 time=5.175 ms 64 bytes from 59.128.190.131: seq=1 ttl=63 time=1.446 ms 64 bytes from 59.128.190.131: seq=2 ttl=63 time=0.886 ms --- 59.128.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.502/5.175 ms 2026-07-18 15:39:28,583 - INFO - Ping to IP 59.128.190.131 from VM ctest-TestBasicPolicy-24263247-54855702 passed 2026-07-18 15:39:28,774 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0d9bc911-f6d6-4074-9419-703db6440bec", "href": "http://10.0.0.38:8082/network-policy/0d9bc911-f6d6-4074-9419-703db6440bec"}} 2026-07-18 15:39:28,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:39:28,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.128.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-18 15:39:28,774 - DEBUG - ping -s 56 -c 3 -W 1 59.128.190.131 2026-07-18 15:39:31,905 - DEBUG - PING 59.128.190.131 (59.128.190.131): 56 data bytes 64 bytes from 59.128.190.131: seq=0 ttl=63 time=1.531 ms --- 59.128.190.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.531/1.531/1.531 ms 2026-07-18 15:39:31,905 - WARNING - Ping to IP 59.128.190.131 from VM ctest-TestBasicPolicy-24263247-54855702 failed 2026-07-18 15:39:31,905 - INFO - Deleting VM ctest-TestBasicPolicy-24263247-91410444 2026-07-18 15:39:31,996 - INFO - Deleting VM ctest-TestBasicPolicy-24263247-54855702 2026-07-18 15:39:32,403 - INFO - Deleted policy ctest-policy-allow-all-59269507 2026-07-18 15:39:32,404 - INFO - Deleting VN ctest-vn-11784994 2026-07-18 15:39:32,437 - DEBUG - VN 9578348e-82d8-4198-afcf-7e5336dc03e7 still in use: Unable to complete operation on network 9578348e-82d8-4198-afcf-7e5336dc03e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5ce9dd1-a51d-45ed-a9a2-d5cbcb10de4e'] 2026-07-18 15:39:32,438 - WARNING - Deleting VN ctest-vn-11784994 failed..Will retry 2026-07-18 15:39:34,578 - DEBUG - Response for deleting network () 2026-07-18 15:39:34,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbb4287-1fa4-47dc-8f36-d10cc872a915 2026-07-18 15:39:34,587 - DEBUG - Response Code: 404 2026-07-18 15:39:34,587 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:39:34,595 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:39:34,652 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:39:34,730 - INFO - Validated that VN ctest-vn-11784994 is not found in API Server 2026-07-18 15:39:34,743 - DEBUG - VN ctest-vn-11784994 is not present in Agent 10.0.0.38 2026-07-18 15:39:34,744 - INFO - Validated that VN ctest-vn-11784994 is not in any agent 2026-07-18 15:39:34,765 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11784994 info 2026-07-18 15:39:34,765 - INFO - Deleting VN ctest-vn-01288908 2026-07-18 15:39:34,873 - DEBUG - Response for deleting network () 2026-07-18 15:39:34,873 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0264deb7-33fe-4228-90a4-e5d83dfa3c15 2026-07-18 15:39:34,878 - DEBUG - Response Code: 404 2026-07-18 15:39:34,878 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-18 15:39:34,886 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e97d3d97-9f93-43ea-9879-b3ebd1c7f956 2026-07-18 15:39:34,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/44bc4976-964f-494c-a2ef-476b45fe5d24 2026-07-18 15:39:35,011 - INFO - Validated that VN ctest-vn-01288908 is not found in API Server 2026-07-18 15:39:35,024 - DEBUG - VN ctest-vn-01288908 is not present in Agent 10.0.0.38 2026-07-18 15:39:35,024 - INFO - Validated that VN ctest-vn-01288908 is not in any agent 2026-07-18 15:39:35,041 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01288908 info 2026-07-18 15:39:35,299 - DEBUG - No XMPP flaps were noticed during the test 2026-07-18 15:39:35,299 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-07-18 15:39:35,300 - INFO - -------------------------------------------------------------------------------- 2026-07-18 15:39:36,050 - INFO - Deleted project: ctest-TestBasicPolicy-24263247, ID : 44bc4976-964f-494c-a2ef-476b45fe5d24