2026-08-20 07:04:20,437 - INFO - Domain Default found not creating 2026-08-20 07:04:20,637 - INFO - Project ctest-TestBasicPolicy-41670429 not found, creating it 2026-08-20 07:04:21,178 - INFO - Created Project:ctest-TestBasicPolicy-41670429, ID : 2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:04:23,053 - INFO - ================================================================================ 2026-08-20 07:04:23,054 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 07:04:23,054 - 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-20 07:04:23,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-08-20 07:04:23,337 - INFO - Initial checks done. Running the testcase now 2026-08-20 07:04:23,337 - INFO - 2026-08-20 07:04:24,051 - DEBUG - Response for create_network : {'network': {'id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'name': 'ctest-vn-23119594', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-23119594'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:04:24,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '58327327-4a8c-45b2-b4ed-bd8380de4d38', 'name': '', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'network_id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'ip_version': 4, 'cidr': '113.10.182.192/26', 'allocation_pools': [{'start': '113.10.182.194', 'end': '113.10.182.254'}], 'gateway_ip': '113.10.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.10.182.194', 'tags': [], 'project_id': '2aa5057678104abf9f2b00b02d5b07bc'}} 2026-08-20 07:04:24,278 - INFO - Created VN ctest-vn-23119594 2026-08-20 07:04:24,331 - DEBUG - VN ctest-vn-23119594 UUID is d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:24,680 - DEBUG - Response for create_network : {'network': {'id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'name': 'ctest-vn-26833205', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-26833205'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:04:24,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '8277b393-f2ea-49a2-badd-048b0b7d07c2', 'name': '', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'network_id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'ip_version': 4, 'cidr': '91.207.196.64/26', 'allocation_pools': [{'start': '91.207.196.66', 'end': '91.207.196.126'}], 'gateway_ip': '91.207.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.207.196.66', 'tags': [], 'project_id': '2aa5057678104abf9f2b00b02d5b07bc'}} 2026-08-20 07:04:24,912 - INFO - Created VN ctest-vn-26833205 2026-08-20 07:04:24,967 - DEBUG - VN ctest-vn-26833205 UUID is eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:25,085 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594, 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-41670429:ctest-vn-26833205, 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-20 07:04:25,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'name': 'ctest-vn-23119594', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58327327-4a8c-45b2-b4ed-bd8380de4d38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-23119594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']], 'subnet_ipam': [{'subnet_cidr': '113.10.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:04:25,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'name': 'ctest-vn-26833205', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8277b393-f2ea-49a2-badd-048b0b7d07c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-26833205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']], 'subnet_ipam': [{'subnet_cidr': '91.207.196.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:04:25,919 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:04:26,316 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:04:26,351 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:04:26,367 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:04:26,450 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,466 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,478 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:04:26,490 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:04:26,499 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/131810e2-dd61-4931-9675-ff870d2c3017 2026-08-20 07:04:26,508 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 07:04:26,508 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,519 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:04:26,539 - INFO - Verified VN network id 11 for VN d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,539 - INFO - Verifications in API Server for VN ctest-vn-23119594 passed 2026-08-20 07:04:26,539 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,550 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:04:26,559 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:04:26,568 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/131810e2-dd61-4931-9675-ff870d2c3017 2026-08-20 07:04:26,584 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41670429', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15626151687705675273', 'uuid-lslong': '12597245939400877603'}, 'enable': 'true', 'created': '2026-08-20T07:04:23', 'last-modified': '2026-08-20T07:04:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.170066'} 2026-08-20 07:04:26,593 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 07:04:26,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23119594 passed 2026-08-20 07:04:26,593 - DEBUG - ====Verifying policy data for ctest-vn-23119594 in API_Server ====== 2026-08-20 07:04:26,593 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:04:26,600 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:04:26,615 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:04:26,701 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623 2026-08-20 07:04:26,715 - DEBUG - ==>Verifying data for policy with id: f9526904-256c-4729-8568-b2b4922856d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453'] 2026-08-20 07:04:26,715 - INFO - VN ctest-vn-23119594 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 07:04:26,715 - DEBUG - Verifying the vn in opserver 2026-08-20 07:04:26,715 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594 virtual network link through opserver 10.0.0.177 2026-08-20 07:04:26,715 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 07:04:27,101 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 07:04:27,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594?flat'} 2026-08-20 07:04:27,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594 is found in opserver 2026-08-20 07:04:27,181 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 07:04:27,187 - DEBUG - VRF ids for VN ctest-vn-23119594: {} 2026-08-20 07:04:27,188 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:04:27,196 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:04:27,212 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:04:27,295 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,311 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,323 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:04:27,332 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:04:27,343 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d259b5a9-2f7e-4a66-b8af-3070e1d3b318 2026-08-20 07:04:27,352 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 07:04:27,352 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,364 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:04:27,384 - INFO - Verified VN network id 12 for VN eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,384 - INFO - Verifications in API Server for VN ctest-vn-26833205 passed 2026-08-20 07:04:27,385 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,397 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:04:27,405 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:04:27,413 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d259b5a9-2f7e-4a66-b8af-3070e1d3b318 2026-08-20 07:04:27,428 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41670429', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17206692013121490246', 'uuid-lslong': '12779812770611786804'}, 'enable': 'true', 'created': '2026-08-20T07:04:24', 'last-modified': '2026-08-20T07:04:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.732354'} 2026-08-20 07:04:27,436 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 07:04:27,436 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26833205 passed 2026-08-20 07:04:27,437 - DEBUG - ====Verifying policy data for ctest-vn-26833205 in API_Server ====== 2026-08-20 07:04:27,437 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:04:27,443 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:04:27,459 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:04:27,542 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434 2026-08-20 07:04:27,554 - DEBUG - ==>Verifying data for policy with id: f9526904-256c-4729-8568-b2b4922856d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453'] 2026-08-20 07:04:27,554 - INFO - VN ctest-vn-26833205 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 07:04:27,554 - DEBUG - Verifying the vn in opserver 2026-08-20 07:04:27,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205 virtual network link through opserver 10.0.0.177 2026-08-20 07:04:27,554 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 07:04:27,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205?flat'} 2026-08-20 07:04:27,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205 is found in opserver 2026-08-20 07:04:27,578 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 07:04:27,585 - DEBUG - VRF ids for VN ctest-vn-26833205: {} 2026-08-20 07:04:27,668 - DEBUG - Services list from nova: [, , ] 2026-08-20 07:04:28,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6182-1) 2026-08-20 07:04:28,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6182-1) 2026-08-20 07:04:28,623 - INFO - Waiting for VM ctest-TestBasicPolicy-41670429-15919026 to be up.. 2026-08-20 07:04:28,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:33,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:38,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:43,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:49,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:54,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:04:59,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:05:04,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:05:09,454 - DEBUG - VM is in ACTIVE state now 2026-08-20 07:05:09,454 - INFO - VM name : ctest-TestBasicPolicy-41670429-15919026 2026-08-20 07:05:09,541 - DEBUG - VM ctest-TestBasicPolicy-41670429-15919026 ID is e45a5da1-222a-4ae9-8ea7-4ec24fcf7e1e 2026-08-20 07:05:09,567 - DEBUG - VM ctest-TestBasicPolicy-41670429-15919026 launched on Node cn-jenkins-deploy-platform-ansible-os-6182-1 2026-08-20 07:05:09,656 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/e45a5da1-222a-4ae9-8ea7-4ec24fcf7e1e 2026-08-20 07:05:09,666 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/9e5f4ca5-79df-4384-b95f-6577f0a1d431 2026-08-20 07:05:12,934 - 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 1023ms') 2026-08-20 07:05:12,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41670429-15919026 failed! 2026-08-20 07:05:12,991 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594 is 113.10.182.193 and allocation pool is NOT set 2026-08-20 07:05:15,054 - 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=4.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.710 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 = 0.710/2.836/4.962/2.126 ms') 2026-08-20 07:05:15,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41670429-15919026 passed 2026-08-20 07:05:15,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:05:15,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41670429-15919026, IP 113.10.182.195, Port 22 2026-08-20 07:05:15,382 - DEBUG - VM ctest-TestBasicPolicy-41670429-15919026 is ready for SSH connections 2026-08-20 07:05:15,382 - INFO - Waiting for VM ctest-TestBasicPolicy-41670429-09221601 to be up.. 2026-08-20 07:05:15,467 - DEBUG - VM is in ACTIVE state now 2026-08-20 07:05:15,468 - INFO - VM name : ctest-TestBasicPolicy-41670429-09221601 2026-08-20 07:05:15,554 - DEBUG - VM ctest-TestBasicPolicy-41670429-09221601 ID is 90cf2393-4239-4f41-8b27-de15d31fd9fe 2026-08-20 07:05:15,554 - DEBUG - VM ctest-TestBasicPolicy-41670429-09221601 launched on Node cn-jenkins-deploy-platform-ansible-os-6182-1 2026-08-20 07:05:15,642 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/90cf2393-4239-4f41-8b27-de15d31fd9fe 2026-08-20 07:05:15,655 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/3c11c7a7-1703-4124-8ce0-d1f45dc3168f 2026-08-20 07:05:18,922 - 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 1020ms') 2026-08-20 07:05:18,922 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41670429-09221601 failed! 2026-08-20 07:05:18,979 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205 is 91.207.196.65 and allocation pool is NOT set 2026-08-20 07:05:21,046 - 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=3.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/2.208/3.882/1.673 ms') 2026-08-20 07:05:21,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41670429-09221601 passed 2026-08-20 07:05:21,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:05:21,203 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41670429-09221601, IP 91.207.196.67, Port 22 2026-08-20 07:05:21,374 - DEBUG - VM ctest-TestBasicPolicy-41670429-09221601 is ready for SSH connections 2026-08-20 07:05:21,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:05:21,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.207.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 07:05:21,374 - DEBUG - ping -s 56 -c 3 -W 1 91.207.196.67 2026-08-20 07:05:25,436 - DEBUG - PING 91.207.196.67 (91.207.196.67): 56 data bytes 64 bytes from 91.207.196.67: seq=0 ttl=63 time=4.735 ms 64 bytes from 91.207.196.67: seq=1 ttl=63 time=1.097 ms 64 bytes from 91.207.196.67: seq=2 ttl=63 time=0.973 ms --- 91.207.196.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.973/2.268/4.735 ms 2026-08-20 07:05:25,437 - INFO - Ping to IP 91.207.196.67 from VM ctest-TestBasicPolicy-41670429-15919026 passed 2026-08-20 07:05:25,627 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9526904-256c-4729-8568-b2b4922856d3", "href": "http://10.0.0.177:8082/network-policy/f9526904-256c-4729-8568-b2b4922856d3"}} 2026-08-20 07:05:25,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:05:25,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.207.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 07:05:25,627 - DEBUG - ping -s 56 -c 3 -W 1 91.207.196.67 2026-08-20 07:05:28,754 - DEBUG - PING 91.207.196.67 (91.207.196.67): 56 data bytes 64 bytes from 91.207.196.67: seq=0 ttl=63 time=1.722 ms --- 91.207.196.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.722/1.722/1.722 ms 2026-08-20 07:05:28,754 - WARNING - Ping to IP 91.207.196.67 from VM ctest-TestBasicPolicy-41670429-15919026 failed 2026-08-20 07:05:28,754 - INFO - Deleting VM ctest-TestBasicPolicy-41670429-09221601 2026-08-20 07:05:28,833 - INFO - Deleting VM ctest-TestBasicPolicy-41670429-15919026 2026-08-20 07:05:29,270 - INFO - Deleted policy ctest-policy-allow-all-35083453 2026-08-20 07:05:29,270 - INFO - Deleting VN ctest-vn-26833205 2026-08-20 07:05:29,308 - DEBUG - VN eeca7338-91a8-4d46-b15b-04012850f434 still in use: Unable to complete operation on network eeca7338-91a8-4d46-b15b-04012850f434. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ac990a8-59ba-4d47-b26a-29452da477b5'] 2026-08-20 07:05:29,308 - WARNING - Deleting VN ctest-vn-26833205 failed..Will retry 2026-08-20 07:05:31,450 - DEBUG - Response for deleting network () 2026-08-20 07:05:31,450 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d 2026-08-20 07:05:31,455 - DEBUG - Response Code: 404 2026-08-20 07:05:31,455 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:05:31,464 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:05:31,527 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:05:31,602 - INFO - Validated that VN ctest-vn-26833205 is not found in API Server 2026-08-20 07:05:31,614 - DEBUG - VN ctest-vn-26833205 is not present in Agent 10.0.0.177 2026-08-20 07:05:31,614 - INFO - Validated that VN ctest-vn-26833205 is not in any agent 2026-08-20 07:05:31,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26833205 info 2026-08-20 07:05:31,634 - INFO - Deleting VN ctest-vn-23119594 2026-08-20 07:05:31,751 - DEBUG - Response for deleting network () 2026-08-20 07:05:31,751 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c 2026-08-20 07:05:31,762 - DEBUG - Response Code: 404 2026-08-20 07:05:31,762 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 07:05:31,768 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b 2026-08-20 07:05:31,825 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc 2026-08-20 07:05:31,901 - INFO - Validated that VN ctest-vn-23119594 is not found in API Server 2026-08-20 07:05:31,912 - DEBUG - VN ctest-vn-23119594 is not present in Agent 10.0.0.177 2026-08-20 07:05:31,912 - INFO - Validated that VN ctest-vn-23119594 is not in any agent 2026-08-20 07:05:31,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23119594 info 2026-08-20 07:05:32,204 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 07:05:32,204 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-20 07:05:32,204 - INFO - -------------------------------------------------------------------------------- 2026-08-20 07:05:32,997 - INFO - Deleted project: ctest-TestBasicPolicy-41670429, ID : 2aa50576-7810-4abf-9f2b-00b02d5b07bc