2026-10-29 18:50:31,184 - INFO - Domain Default found not creating 2026-10-29 18:50:31,328 - INFO - Project ctest-TestBasicPolicy-86971446 not found, creating it 2026-10-29 18:50:31,802 - INFO - Created Project:ctest-TestBasicPolicy-86971446, ID : 3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:50:33,405 - INFO - ================================================================================ 2026-10-29 18:50:33,405 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-29 18:50:33,405 - 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-29 18:50:33,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with 2026-10-29 18:50:33,672 - INFO - Initial checks done. Running the testcase now 2026-10-29 18:50:33,672 - INFO - 2026-10-29 18:50:34,259 - DEBUG - Response for create_network : {'network': {'id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'name': 'ctest-vn-15301465', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-15301465'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:34,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ad1b848-ed56-4b83-89ef-41f591db5927', 'name': '', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'network_id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'ip_version': 4, 'cidr': '29.188.42.0/26', 'allocation_pools': [{'start': '29.188.42.2', 'end': '29.188.42.62'}], 'gateway_ip': '29.188.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.188.42.2', 'tags': [], 'project_id': '3d9ebc7baa4541179c282c4f7bc68431'}} 2026-10-29 18:50:34,484 - INFO - Created VN ctest-vn-15301465 2026-10-29 18:50:34,535 - DEBUG - VN ctest-vn-15301465 UUID is 732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:34,836 - DEBUG - Response for create_network : {'network': {'id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'name': 'ctest-vn-33156519', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-33156519'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:35,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f4fe42-26ec-4942-b019-4a5e0615e3ba', 'name': '', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'network_id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'ip_version': 4, 'cidr': '206.4.78.128/26', 'allocation_pools': [{'start': '206.4.78.130', 'end': '206.4.78.190'}], 'gateway_ip': '206.4.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.4.78.130', 'tags': [], 'project_id': '3d9ebc7baa4541179c282c4f7bc68431'}} 2026-10-29 18:50:35,024 - INFO - Created VN ctest-vn-33156519 2026-10-29 18:50:35,075 - DEBUG - VN ctest-vn-33156519 UUID is cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:35,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465, 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-86971446:ctest-vn-33156519, 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-29 18:50:35,504 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'name': 'ctest-vn-15301465', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5ad1b848-ed56-4b83-89ef-41f591db5927'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-15301465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']], 'subnet_ipam': [{'subnet_cidr': '29.188.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:35,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'name': 'ctest-vn-33156519', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['52f4fe42-26ec-4942-b019-4a5e0615e3ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-33156519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']], 'subnet_ipam': [{'subnet_cidr': '206.4.78.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:35,846 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:50:36,207 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:50:36,229 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:50:36,240 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:50:36,312 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,323 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,331 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:50:36,336 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:50:36,341 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/39ecf98c-c5e3-404c-9ad0-840c77073f67 2026-10-29 18:50:36,346 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 18:50:36,346 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,353 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:50:36,364 - INFO - Verified VN network id 12 for VN 732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,364 - INFO - Verifications in API Server for VN ctest-vn-15301465 passed 2026-10-29 18:50:36,364 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,371 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:50:36,376 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:50:36,381 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/39ecf98c-c5e3-404c-9ad0-840c77073f67 2026-10-29 18:50:36,391 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86971446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8300045476023388510', 'uuid-lslong': '10158638224961862421'}, 'enable': 'true', 'created': '2026-10-29T18:50:34', 'last-modified': '2026-10-29T18:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906499'} 2026-10-29 18:50:36,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 18:50:36,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15301465 passed 2026-10-29 18:50:36,397 - DEBUG - ====Verifying policy data for ctest-vn-15301465 in API_Server ====== 2026-10-29 18:50:36,397 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:50:36,401 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:50:36,409 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:50:36,479 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15 2026-10-29 18:50:36,489 - DEBUG - ==>Verifying data for policy with id: 5608650e-2c7d-4969-b8c9-c46b2a53b427, fqn: ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971'] 2026-10-29 18:50:36,489 - INFO - VN ctest-vn-15301465 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 18:50:36,489 - DEBUG - Verifying the vn in opserver 2026-10-29 18:50:36,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465 virtual network link through opserver 10.0.0.248 2026-10-29 18:50:36,489 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-29 18:50:36,845 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-29 18:50:36,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465?flat'} 2026-10-29 18:50:36,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465 is found in opserver 2026-10-29 18:50:36,900 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 18:50:36,904 - DEBUG - VRF ids for VN ctest-vn-15301465: {} 2026-10-29 18:50:36,904 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:50:36,910 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:50:36,918 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:50:36,991 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,000 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,008 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:50:37,013 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:50:37,018 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/0fa27a84-bbf4-4252-b590-634723bc5d22 2026-10-29 18:50:37,024 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 18:50:37,024 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,032 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:50:37,043 - INFO - Verified VN network id 13 for VN cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,043 - INFO - Verifications in API Server for VN ctest-vn-33156519 passed 2026-10-29 18:50:37,043 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,050 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:50:37,055 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:50:37,060 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/0fa27a84-bbf4-4252-b590-634723bc5d22 2026-10-29 18:50:37,071 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86971446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14785448064794643029', 'uuid-lslong': '10718024457632108835'}, 'enable': 'true', 'created': '2026-10-29T18:50:34', 'last-modified': '2026-10-29T18:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366270'} 2026-10-29 18:50:37,076 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 18:50:37,076 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33156519 passed 2026-10-29 18:50:37,077 - DEBUG - ====Verifying policy data for ctest-vn-33156519 in API_Server ====== 2026-10-29 18:50:37,077 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:50:37,081 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:50:37,089 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:50:37,158 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123 2026-10-29 18:50:37,167 - DEBUG - ==>Verifying data for policy with id: 5608650e-2c7d-4969-b8c9-c46b2a53b427, fqn: ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971'] 2026-10-29 18:50:37,167 - INFO - VN ctest-vn-33156519 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 18:50:37,167 - DEBUG - Verifying the vn in opserver 2026-10-29 18:50:37,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519 virtual network link through opserver 10.0.0.248 2026-10-29 18:50:37,167 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-29 18:50:37,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519?flat'} 2026-10-29 18:50:37,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519 is found in opserver 2026-10-29 18:50:37,186 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 18:50:37,189 - DEBUG - VRF ids for VN ctest-vn-33156519: {} 2026-10-29 18:50:37,238 - DEBUG - Services list from nova: [, , ] 2026-10-29 18:50:37,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6440-1) 2026-10-29 18:50:38,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6440-1) 2026-10-29 18:50:38,056 - INFO - Waiting for VM ctest-TestBasicPolicy-86971446-14181794 to be up.. 2026-10-29 18:50:38,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:43,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:48,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:53,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:58,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:51:03,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:51:08,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:51:13,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:51:18,643 - DEBUG - VM is in ACTIVE state now 2026-10-29 18:51:18,643 - INFO - VM name : ctest-TestBasicPolicy-86971446-14181794 2026-10-29 18:51:18,704 - DEBUG - VM ctest-TestBasicPolicy-86971446-14181794 ID is 50707006-d2fc-4d06-b1b5-877ded211ec3 2026-10-29 18:51:18,720 - DEBUG - VM ctest-TestBasicPolicy-86971446-14181794 launched on Node cn-jenkins-deploy-platform-ansible-os-6440-1 2026-10-29 18:51:18,780 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/50707006-d2fc-4d06-b1b5-877ded211ec3 2026-10-29 18:51:18,787 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/10b9a45e-e195-4938-a179-af9b53e39b58 2026-10-29 18:51:22,025 - 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 1007ms') 2026-10-29 18:51:22,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86971446-14181794 failed! 2026-10-29 18:51:22,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465 is 29.188.42.1 and allocation pool is NOT set 2026-10-29 18:51:24,136 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.349 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.349/1.952/3.556/1.603 ms') 2026-10-29 18:51:24,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86971446-14181794 passed 2026-10-29 18:51:24,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:24,279 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86971446-14181794, IP 29.188.42.3, Port 22 2026-10-29 18:51:24,434 - DEBUG - VM ctest-TestBasicPolicy-86971446-14181794 is ready for SSH connections 2026-10-29 18:51:24,434 - INFO - Waiting for VM ctest-TestBasicPolicy-86971446-75624930 to be up.. 2026-10-29 18:51:24,495 - DEBUG - VM is in ACTIVE state now 2026-10-29 18:51:24,495 - INFO - VM name : ctest-TestBasicPolicy-86971446-75624930 2026-10-29 18:51:24,554 - DEBUG - VM ctest-TestBasicPolicy-86971446-75624930 ID is 2981f6c8-1ffd-437d-8b75-be1f5a18674a 2026-10-29 18:51:24,554 - DEBUG - VM ctest-TestBasicPolicy-86971446-75624930 launched on Node cn-jenkins-deploy-platform-ansible-os-6440-1 2026-10-29 18:51:24,615 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/2981f6c8-1ffd-437d-8b75-be1f5a18674a 2026-10-29 18:51:24,621 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/b1bd590d-9a25-4ade-9187-3293ffe5323f 2026-10-29 18:51:25,845 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.865/3.374/1.509 ms') 2026-10-29 18:51:25,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86971446-75624930 passed 2026-10-29 18:51:25,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:25,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86971446-75624930, IP 206.4.78.131, Port 22 2026-10-29 18:51:26,150 - DEBUG - VM ctest-TestBasicPolicy-86971446-75624930 is ready for SSH connections 2026-10-29 18:51:26,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:26,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.4.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-29 18:51:26,150 - DEBUG - ping -s 56 -c 3 -W 1 206.4.78.131 2026-10-29 18:51:30,125 - DEBUG - PING 206.4.78.131 (206.4.78.131): 56 data bytes 64 bytes from 206.4.78.131: seq=0 ttl=63 time=3.982 ms 64 bytes from 206.4.78.131: seq=1 ttl=63 time=0.726 ms 64 bytes from 206.4.78.131: seq=2 ttl=63 time=0.726 ms --- 206.4.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.811/3.982 ms 2026-10-29 18:51:30,125 - INFO - Ping to IP 206.4.78.131 from VM ctest-TestBasicPolicy-86971446-14181794 passed 2026-10-29 18:51:30,298 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5608650e-2c7d-4969-b8c9-c46b2a53b427", "href": "http://10.0.0.248:8082/network-policy/5608650e-2c7d-4969-b8c9-c46b2a53b427"}} 2026-10-29 18:51:30,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:30,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.4.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-29 18:51:30,299 - DEBUG - ping -s 56 -c 3 -W 1 206.4.78.131 2026-10-29 18:51:33,420 - DEBUG - PING 206.4.78.131 (206.4.78.131): 56 data bytes 64 bytes from 206.4.78.131: seq=0 ttl=63 time=1.201 ms --- 206.4.78.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.201/1.201/1.201 ms 2026-10-29 18:51:33,420 - WARNING - Ping to IP 206.4.78.131 from VM ctest-TestBasicPolicy-86971446-14181794 failed 2026-10-29 18:51:33,421 - INFO - Deleting VM ctest-TestBasicPolicy-86971446-75624930 2026-10-29 18:51:33,480 - INFO - Deleting VM ctest-TestBasicPolicy-86971446-14181794 2026-10-29 18:51:33,772 - INFO - Deleted policy ctest-policy-allow-all-44745971 2026-10-29 18:51:33,773 - INFO - Deleting VN ctest-vn-33156519 2026-10-29 18:51:33,797 - DEBUG - VN cd3076ad-a312-4a55-94be-12752b1c5123 still in use: Unable to complete operation on network cd3076ad-a312-4a55-94be-12752b1c5123. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54837445-9e32-4d90-bd13-10f73d4bc05f'] 2026-10-29 18:51:33,797 - WARNING - Deleting VN ctest-vn-33156519 failed..Will retry 2026-10-29 18:51:35,826 - DEBUG - VN cd3076ad-a312-4a55-94be-12752b1c5123 still in use: Unable to complete operation on network cd3076ad-a312-4a55-94be-12752b1c5123. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c49e3bde-220d-4591-a58a-6fc41b5d05a4'] 2026-10-29 18:51:35,826 - WARNING - Deleting VN ctest-vn-33156519 failed..Will retry 2026-10-29 18:51:37,914 - DEBUG - Response for deleting network () 2026-10-29 18:51:37,914 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3 2026-10-29 18:51:37,919 - DEBUG - Response Code: 404 2026-10-29 18:51:37,919 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:51:37,923 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:51:37,975 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:51:38,048 - INFO - Validated that VN ctest-vn-33156519 is not found in API Server 2026-10-29 18:51:38,057 - DEBUG - VN ctest-vn-33156519 is not present in Agent 10.0.0.248 2026-10-29 18:51:38,057 - INFO - Validated that VN ctest-vn-33156519 is not in any agent 2026-10-29 18:51:38,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33156519 info 2026-10-29 18:51:38,069 - INFO - Deleting VN ctest-vn-15301465 2026-10-29 18:51:38,169 - DEBUG - Response for deleting network () 2026-10-29 18:51:38,169 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4 2026-10-29 18:51:38,177 - DEBUG - Response Code: 404 2026-10-29 18:51:38,177 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-29 18:51:38,183 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b 2026-10-29 18:51:38,239 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431 2026-10-29 18:51:38,312 - INFO - Validated that VN ctest-vn-15301465 is not found in API Server 2026-10-29 18:51:38,321 - DEBUG - VN ctest-vn-15301465 is not present in Agent 10.0.0.248 2026-10-29 18:51:38,321 - INFO - Validated that VN ctest-vn-15301465 is not in any agent 2026-10-29 18:51:38,339 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15301465 info 2026-10-29 18:51:38,591 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 18:51:38,591 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-10-29 18:51:38,592 - INFO - -------------------------------------------------------------------------------- 2026-10-29 18:51:39,313 - INFO - Deleted project: ctest-TestBasicPolicy-86971446, ID : 3d9ebc7b-aa45-4117-9c28-2c4f7bc68431