2026-08-27 19:55:54,256 - INFO - Domain Default found not creating 2026-08-27 19:55:54,467 - INFO - Project ctest-TestBasicPolicy-88417516 not found, creating it 2026-08-27 19:55:54,969 - INFO - Created Project:ctest-TestBasicPolicy-88417516, ID : 8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:55:56,696 - INFO - ================================================================================ 2026-08-27 19:55:56,697 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-27 19:55:56,697 - 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-08-27 19:55:56,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-27 19:55:56,973 - INFO - Initial checks done. Running the testcase now 2026-08-27 19:55:56,973 - INFO - 2026-08-27 19:55:57,600 - DEBUG - Response for create_network : {'network': {'id': '467f17f4-2f5e-479e-988a-32e0e9ad61d1', 'name': 'ctest-vn-53568058', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-vn-53568058'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:55:57,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec1dd66c-7788-4f3e-bece-ac11d8b0b4b7', 'name': '', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'network_id': '467f17f4-2f5e-479e-988a-32e0e9ad61d1', 'ip_version': 4, 'cidr': '207.4.236.192/26', 'allocation_pools': [{'start': '207.4.236.194', 'end': '207.4.236.254'}], 'gateway_ip': '207.4.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.4.236.194', 'tags': [], 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b'}} 2026-08-27 19:55:57,866 - INFO - Created VN ctest-vn-53568058 2026-08-27 19:55:57,924 - DEBUG - VN ctest-vn-53568058 UUID is 467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:55:58,234 - DEBUG - Response for create_network : {'network': {'id': '6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc', 'name': 'ctest-vn-49816082', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-vn-49816082'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:55:58,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '52975643-0f98-42f6-b048-ecb824865c9c', 'name': '', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'network_id': '6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc', 'ip_version': 4, 'cidr': '87.181.142.128/26', 'allocation_pools': [{'start': '87.181.142.130', 'end': '87.181.142.190'}], 'gateway_ip': '87.181.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.181.142.130', 'tags': [], 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b'}} 2026-08-27 19:55:58,468 - INFO - Created VN ctest-vn-49816082 2026-08-27 19:55:58,528 - DEBUG - VN ctest-vn-49816082 UUID is 6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:55:58,658 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058, 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-88417516:ctest-vn-49816082, 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-08-27 19:55:59,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '467f17f4-2f5e-479e-988a-32e0e9ad61d1', 'name': 'ctest-vn-53568058', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ec1dd66c-7788-4f3e-bece-ac11d8b0b4b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-vn-53568058'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-policy-allow-all-05749455']], 'subnet_ipam': [{'subnet_cidr': '207.4.236.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:55:59,270 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc', 'name': 'ctest-vn-49816082', 'tenant_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'project_id': '8ffc06ed0a51457297eab8a0c9ef103b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['52975643-0f98-42f6-b048-ecb824865c9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-vn-49816082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-policy-allow-all-05749455']], 'subnet_ipam': [{'subnet_cidr': '87.181.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:55:59,444 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:55:59,781 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:55:59,815 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:55:59,833 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:55:59,928 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:55:59,942 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:55:59,957 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:55:59,968 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:55:59,977 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/032716ed-611b-4dd1-9813-a10b63f2da60 2026-08-27 19:55:59,987 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-27 19:55:59,987 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:56:00,002 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:56:00,028 - INFO - Verified VN network id 10 for VN 467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:56:00,028 - INFO - Verifications in API Server for VN ctest-vn-53568058 passed 2026-08-27 19:56:00,028 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:56:00,041 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:56:00,051 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:56:00,061 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/032716ed-611b-4dd1-9813-a10b63f2da60 2026-08-27 19:56:00,076 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88417516', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5079805242231375774', 'uuid-lslong': '10991653782125634001'}, 'enable': 'true', 'created': '2026-08-27T19:55:57', 'last-modified': '2026-08-27T19:55:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.107993'} 2026-08-27 19:56:00,086 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-27 19:56:00,086 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53568058 passed 2026-08-27 19:56:00,086 - DEBUG - ====Verifying policy data for ctest-vn-53568058 in API_Server ====== 2026-08-27 19:56:00,086 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:56:00,096 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:56:00,111 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:56:00,198 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/467f17f4-2f5e-479e-988a-32e0e9ad61d1 2026-08-27 19:56:00,212 - DEBUG - ==>Verifying data for policy with id: fb6a94ee-b837-44ed-ad44-5d57402ff4d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-policy-allow-all-05749455'] 2026-08-27 19:56:00,212 - INFO - VN ctest-vn-53568058 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-27 19:56:00,213 - DEBUG - Verifying the vn in opserver 2026-08-27 19:56:00,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058 virtual network link through opserver 10.0.0.177 2026-08-27 19:56:00,213 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-27 19:56:00,579 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-27 19:56:00,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058?flat'} 2026-08-27 19:56:00,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058 is found in opserver 2026-08-27 19:56:00,666 - DEBUG - Do not have enough data to verify VN in agent 2026-08-27 19:56:00,673 - DEBUG - VRF ids for VN ctest-vn-53568058: {} 2026-08-27 19:56:00,673 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:56:00,683 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:56:00,697 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:56:00,787 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:00,799 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:00,810 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:56:00,820 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:56:00,829 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35d771d7-fe85-4ff9-88e6-ee656c9ead23 2026-08-27 19:56:00,838 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-27 19:56:00,838 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:00,849 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:56:00,878 - INFO - Verified VN network id 11 for VN 6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:00,878 - INFO - Verifications in API Server for VN ctest-vn-49816082 passed 2026-08-27 19:56:00,878 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:00,891 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:56:00,903 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:56:00,911 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35d771d7-fe85-4ff9-88e6-ee656c9ead23 2026-08-27 19:56:00,924 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-49816082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88417516', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7893437448535296556', 'uuid-lslong': '13375524057142401980'}, 'enable': 'true', 'created': '2026-08-27T19:55:58', 'last-modified': '2026-08-27T19:55:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.684608'} 2026-08-27 19:56:00,930 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-27 19:56:00,930 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49816082 passed 2026-08-27 19:56:00,930 - DEBUG - ====Verifying policy data for ctest-vn-49816082 in API_Server ====== 2026-08-27 19:56:00,930 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:56:00,937 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:56:00,953 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:56:01,053 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc 2026-08-27 19:56:01,069 - DEBUG - ==>Verifying data for policy with id: fb6a94ee-b837-44ed-ad44-5d57402ff4d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-88417516', 'ctest-policy-allow-all-05749455'] 2026-08-27 19:56:01,069 - INFO - VN ctest-vn-49816082 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-27 19:56:01,069 - DEBUG - Verifying the vn in opserver 2026-08-27 19:56:01,069 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-49816082 virtual network link through opserver 10.0.0.177 2026-08-27 19:56:01,070 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-27 19:56:01,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-49816082', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-49816082?flat'} 2026-08-27 19:56:01,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-49816082 is found in opserver 2026-08-27 19:56:01,094 - DEBUG - Do not have enough data to verify VN in agent 2026-08-27 19:56:01,100 - DEBUG - VRF ids for VN ctest-vn-49816082: {} 2026-08-27 19:56:01,172 - DEBUG - Services list from nova: [, , ] 2026-08-27 19:56:01,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6235-1) 2026-08-27 19:56:02,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6235-1) 2026-08-27 19:56:02,148 - INFO - Waiting for VM ctest-TestBasicPolicy-88417516-86261544 to be up.. 2026-08-27 19:56:02,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:07,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:12,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:17,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:22,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:27,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:32,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:37,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:56:42,954 - DEBUG - VM is in ACTIVE state now 2026-08-27 19:56:42,954 - INFO - VM name : ctest-TestBasicPolicy-88417516-86261544 2026-08-27 19:56:43,034 - DEBUG - VM ctest-TestBasicPolicy-88417516-86261544 ID is 5857c6cd-5bfe-4873-8187-2f3bb847fc62 2026-08-27 19:56:43,054 - DEBUG - VM ctest-TestBasicPolicy-88417516-86261544 launched on Node cn-jenkins-deploy-platform-ansible-os-6235-1 2026-08-27 19:56:43,126 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/5857c6cd-5bfe-4873-8187-2f3bb847fc62 2026-08-27 19:56:43,135 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/fd9548da-08ac-4a00-9380-ee0827640e26 2026-08-27 19:56:46,406 - 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 1020ms') 2026-08-27 19:56:46,406 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88417516-86261544 failed! 2026-08-27 19:56:46,464 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88417516:ctest-vn-53568058 is 207.4.236.193 and allocation pool is NOT set 2026-08-27 19:56:48,535 - 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=5.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.225/3.200/5.176/1.975 ms') 2026-08-27 19:56:48,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88417516-86261544 passed 2026-08-27 19:56:48,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:56:48,692 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88417516-86261544, IP 207.4.236.195, Port 22 2026-08-27 19:56:48,862 - DEBUG - VM ctest-TestBasicPolicy-88417516-86261544 is ready for SSH connections 2026-08-27 19:56:48,862 - INFO - Waiting for VM ctest-TestBasicPolicy-88417516-49818849 to be up.. 2026-08-27 19:56:48,957 - DEBUG - VM is in ACTIVE state now 2026-08-27 19:56:48,957 - INFO - VM name : ctest-TestBasicPolicy-88417516-49818849 2026-08-27 19:56:49,044 - DEBUG - VM ctest-TestBasicPolicy-88417516-49818849 ID is 8610bf7d-cae9-489e-a1bf-ed0114a0fbd3 2026-08-27 19:56:49,044 - DEBUG - VM ctest-TestBasicPolicy-88417516-49818849 launched on Node cn-jenkins-deploy-platform-ansible-os-6235-1 2026-08-27 19:56:49,147 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8610bf7d-cae9-489e-a1bf-ed0114a0fbd3 2026-08-27 19:56:49,158 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/d49bc443-a2d0-4bb1-82ef-5ca313ea46ac 2026-08-27 19:56:50,413 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/2.309/4.074/1.765 ms') 2026-08-27 19:56:50,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88417516-49818849 passed 2026-08-27 19:56:50,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:56:50,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88417516-49818849, IP 87.181.142.131, Port 22 2026-08-27 19:56:50,754 - DEBUG - VM ctest-TestBasicPolicy-88417516-49818849 is ready for SSH connections 2026-08-27 19:56:50,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:56:50,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.181.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-27 19:56:50,755 - DEBUG - ping -s 56 -c 3 -W 1 87.181.142.131 2026-08-27 19:56:54,840 - DEBUG - PING 87.181.142.131 (87.181.142.131): 56 data bytes 64 bytes from 87.181.142.131: seq=0 ttl=63 time=4.777 ms 64 bytes from 87.181.142.131: seq=1 ttl=63 time=1.300 ms 64 bytes from 87.181.142.131: seq=2 ttl=63 time=1.718 ms --- 87.181.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.300/2.598/4.777 ms 2026-08-27 19:56:54,840 - INFO - Ping to IP 87.181.142.131 from VM ctest-TestBasicPolicy-88417516-86261544 passed 2026-08-27 19:56:55,039 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fb6a94ee-b837-44ed-ad44-5d57402ff4d2", "href": "http://10.0.0.177:8082/network-policy/fb6a94ee-b837-44ed-ad44-5d57402ff4d2"}} 2026-08-27 19:56:55,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:56:55,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.181.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-27 19:56:55,040 - DEBUG - ping -s 56 -c 3 -W 1 87.181.142.131 2026-08-27 19:56:58,191 - DEBUG - PING 87.181.142.131 (87.181.142.131): 56 data bytes 64 bytes from 87.181.142.131: seq=0 ttl=63 time=1.501 ms --- 87.181.142.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.501/1.501/1.501 ms 2026-08-27 19:56:58,191 - WARNING - Ping to IP 87.181.142.131 from VM ctest-TestBasicPolicy-88417516-86261544 failed 2026-08-27 19:56:58,191 - INFO - Deleting VM ctest-TestBasicPolicy-88417516-49818849 2026-08-27 19:56:58,290 - INFO - Deleting VM ctest-TestBasicPolicy-88417516-86261544 2026-08-27 19:56:58,766 - INFO - Deleted policy ctest-policy-allow-all-05749455 2026-08-27 19:56:58,767 - INFO - Deleting VN ctest-vn-49816082 2026-08-27 19:56:58,823 - DEBUG - VN 6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc still in use: Unable to complete operation on network 6d8b1f89-c8b6-4a2c-b99f-68436eaa1bbc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18c48a6e-f467-4acd-bb1a-1173f56c6bf7'] 2026-08-27 19:56:58,823 - WARNING - Deleting VN ctest-vn-49816082 failed..Will retry 2026-08-27 19:57:00,998 - DEBUG - Response for deleting network () 2026-08-27 19:57:00,998 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/d62aebe5-f007-4ee8-9efd-5430ff6141ae 2026-08-27 19:57:01,005 - DEBUG - Response Code: 404 2026-08-27 19:57:01,006 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:57:01,014 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:57:01,071 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:57:01,161 - INFO - Validated that VN ctest-vn-49816082 is not found in API Server 2026-08-27 19:57:01,174 - DEBUG - VN ctest-vn-49816082 is not present in Agent 10.0.0.177 2026-08-27 19:57:01,174 - INFO - Validated that VN ctest-vn-49816082 is not in any agent 2026-08-27 19:57:01,197 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49816082 info 2026-08-27 19:57:01,197 - INFO - Deleting VN ctest-vn-53568058 2026-08-27 19:57:01,335 - DEBUG - Response for deleting network () 2026-08-27 19:57:01,336 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c45965b1-b4cf-419b-95d3-4a0816949c6b 2026-08-27 19:57:01,343 - DEBUG - Response Code: 404 2026-08-27 19:57:01,344 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-27 19:57:01,350 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b06706ea-80fc-4b5e-9a1b-0eab60eedf51 2026-08-27 19:57:01,406 - DEBUG - Requesting: http://10.0.0.177:8082/project/8ffc06ed-0a51-4572-97ea-b8a0c9ef103b 2026-08-27 19:57:01,495 - INFO - Validated that VN ctest-vn-53568058 is not found in API Server 2026-08-27 19:57:01,506 - DEBUG - VN ctest-vn-53568058 is not present in Agent 10.0.0.177 2026-08-27 19:57:01,506 - INFO - Validated that VN ctest-vn-53568058 is not in any agent 2026-08-27 19:57:01,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53568058 info 2026-08-27 19:57:01,802 - DEBUG - No XMPP flaps were noticed during the test 2026-08-27 19:57:01,802 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-08-27 19:57:01,802 - INFO - -------------------------------------------------------------------------------- 2026-08-27 19:57:02,584 - INFO - Deleted project: ctest-TestBasicPolicy-88417516, ID : 8ffc06ed-0a51-4572-97ea-b8a0c9ef103b