2025-06-19 02:11:33,466 - INFO - Domain Default found not creating 2025-06-19 02:11:33,618 - INFO - Project ctest-TestBasicPolicy-96441395 not found, creating it 2025-06-19 02:11:34,098 - INFO - Created Project:ctest-TestBasicPolicy-96441395, ID : 978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:11:35,493 - INFO - ================================================================================ 2025-06-19 02:11:35,494 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 02:11:35,494 - 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 2025-06-19 02:11:35,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-06-19 02:11:35,750 - INFO - Initial checks done. Running the testcase now 2025-06-19 02:11:35,750 - INFO - 2025-06-19 02:11:36,278 - DEBUG - Response for create_network : {'network': {'id': 'd1247392-a07d-4499-937d-fb55920be786', 'name': 'ctest-vn-85038275', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'project_id': '978f435f9070481eb6d9bc4a24cd5d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-vn-85038275'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:36,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4c28914-bd98-4460-b226-938f4588cb24', 'name': '', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'network_id': 'd1247392-a07d-4499-937d-fb55920be786', 'ip_version': 4, 'cidr': '25.171.230.64/26', 'allocation_pools': [{'start': '25.171.230.66', 'end': '25.171.230.126'}], 'gateway_ip': '25.171.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.171.230.66', 'tags': [], 'project_id': '978f435f9070481eb6d9bc4a24cd5d82'}} 2025-06-19 02:11:36,498 - INFO - Created VN ctest-vn-85038275 2025-06-19 02:11:36,555 - DEBUG - VN ctest-vn-85038275 UUID is d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:36,841 - DEBUG - Response for create_network : {'network': {'id': 'b513f804-9d55-4788-a025-d46f9c85c3c0', 'name': 'ctest-vn-31889726', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'project_id': '978f435f9070481eb6d9bc4a24cd5d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-vn-31889726'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:37,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '95f816aa-abbd-4895-a43f-1b97a4731fe5', 'name': '', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'network_id': 'b513f804-9d55-4788-a025-d46f9c85c3c0', 'ip_version': 4, 'cidr': '89.82.112.128/26', 'allocation_pools': [{'start': '89.82.112.130', 'end': '89.82.112.190'}], 'gateway_ip': '89.82.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.82.112.130', 'tags': [], 'project_id': '978f435f9070481eb6d9bc4a24cd5d82'}} 2025-06-19 02:11:37,050 - INFO - Created VN ctest-vn-31889726 2025-06-19 02:11:37,103 - DEBUG - VN ctest-vn-31889726 UUID is b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:37,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275, 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-96441395:ctest-vn-31889726, 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] 2025-06-19 02:11:37,508 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1247392-a07d-4499-937d-fb55920be786', 'name': 'ctest-vn-85038275', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'project_id': '978f435f9070481eb6d9bc4a24cd5d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4c28914-bd98-4460-b226-938f4588cb24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-vn-85038275'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-policy-allow-all-39085804']], 'subnet_ipam': [{'subnet_cidr': '25.171.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:37,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b513f804-9d55-4788-a025-d46f9c85c3c0', 'name': 'ctest-vn-31889726', 'tenant_id': '978f435f9070481eb6d9bc4a24cd5d82', 'project_id': '978f435f9070481eb6d9bc4a24cd5d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95f816aa-abbd-4895-a43f-1b97a4731fe5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-vn-31889726'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-policy-allow-all-39085804']], 'subnet_ipam': [{'subnet_cidr': '89.82.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:37,907 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:11:38,212 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:11:38,243 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:11:38,257 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:11:38,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,361 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:11:38,371 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:11:38,389 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e0b22ba-9685-4290-a685-9d487e843c12 2025-06-19 02:11:38,396 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 02:11:38,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,407 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:11:38,425 - INFO - Verified VN network id 8 for VN d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,425 - INFO - Verifications in API Server for VN ctest-vn-85038275 passed 2025-06-19 02:11:38,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,436 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:11:38,447 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:11:38,454 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e0b22ba-9685-4290-a685-9d487e843c12 2025-06-19 02:11:38,468 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96441395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15070297326683505817', 'uuid-lslong': '10627927040605284230'}, 'enable': 'true', 'created': '2025-06-19T02:11:36', 'last-modified': '2025-06-19T02:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982029'} 2025-06-19 02:11:38,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 02:11:38,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85038275 passed 2025-06-19 02:11:38,475 - DEBUG - ====Verifying policy data for ctest-vn-85038275 in API_Server ====== 2025-06-19 02:11:38,475 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:11:38,481 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:11:38,492 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:11:38,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1247392-a07d-4499-937d-fb55920be786 2025-06-19 02:11:38,597 - DEBUG - ==>Verifying data for policy with id: dfb7967c-382f-45a8-9aef-04fc49190594, fqn: ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-policy-allow-all-39085804'] 2025-06-19 02:11:38,598 - INFO - VN ctest-vn-85038275 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 02:11:38,598 - DEBUG - Verifying the vn in opserver 2025-06-19 02:11:38,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275 virtual network link through opserver 10.0.0.38 2025-06-19 02:11:38,598 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 02:11:38,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 02:11:38,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275?flat'} 2025-06-19 02:11:38,947 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275 is found in opserver 2025-06-19 02:11:38,957 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 02:11:38,962 - DEBUG - VRF ids for VN ctest-vn-85038275: {} 2025-06-19 02:11:38,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:11:38,968 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:11:38,980 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:11:39,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:11:39,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:11:39,086 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ff907a54-e06e-4871-a0e6-c936fce3d007 2025-06-19 02:11:39,092 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 02:11:39,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,101 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:11:39,117 - INFO - Verified VN network id 9 for VN b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,117 - INFO - Verifications in API Server for VN ctest-vn-31889726 passed 2025-06-19 02:11:39,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:11:39,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:11:39,145 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ff907a54-e06e-4871-a0e6-c936fce3d007 2025-06-19 02:11:39,160 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-31889726', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96441395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13048045244125628296', 'uuid-lslong': '11539863196039234496'}, 'enable': 'true', 'created': '2025-06-19T02:11:36', 'last-modified': '2025-06-19T02:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448051'} 2025-06-19 02:11:39,166 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 02:11:39,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31889726 passed 2025-06-19 02:11:39,167 - DEBUG - ====Verifying policy data for ctest-vn-31889726 in API_Server ====== 2025-06-19 02:11:39,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:11:39,173 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:11:39,185 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:11:39,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b513f804-9d55-4788-a025-d46f9c85c3c0 2025-06-19 02:11:39,267 - DEBUG - ==>Verifying data for policy with id: dfb7967c-382f-45a8-9aef-04fc49190594, fqn: ['default-domain', 'ctest-TestBasicPolicy-96441395', 'ctest-policy-allow-all-39085804'] 2025-06-19 02:11:39,267 - INFO - VN ctest-vn-31889726 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 02:11:39,267 - DEBUG - Verifying the vn in opserver 2025-06-19 02:11:39,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-31889726 virtual network link through opserver 10.0.0.38 2025-06-19 02:11:39,268 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 02:11:39,280 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-31889726', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-31889726?flat'} 2025-06-19 02:11:39,280 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-31889726 is found in opserver 2025-06-19 02:11:39,291 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 02:11:39,297 - DEBUG - VRF ids for VN ctest-vn-31889726: {} 2025-06-19 02:11:39,354 - DEBUG - Services list from nova: [, , ] 2025-06-19 02:11:40,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3483-1) 2025-06-19 02:11:41,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3483-1) 2025-06-19 02:11:41,560 - INFO - Waiting for VM ctest-TestBasicPolicy-96441395-77067734 to be up.. 2025-06-19 02:11:41,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 02:11:46,726 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:11:46,726 - INFO - VM name : ctest-TestBasicPolicy-96441395-77067734 2025-06-19 02:11:46,809 - DEBUG - VM ctest-TestBasicPolicy-96441395-77067734 ID is c42bd8d0-96dc-44ff-8338-5ba4ce9b3c4f 2025-06-19 02:11:46,829 - DEBUG - VM ctest-TestBasicPolicy-96441395-77067734 launched on Node cn-jenkins-deploy-platform-ansible-os-3483-1 2025-06-19 02:11:46,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c42bd8d0-96dc-44ff-8338-5ba4ce9b3c4f 2025-06-19 02:11:46,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/97e654a7-1062-4dfc-b6fc-48225a910e86 2025-06-19 02:11:50,188 - 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 1010ms') 2025-06-19 02:11:50,188 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96441395-77067734 failed! 2025-06-19 02:11:50,243 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96441395:ctest-vn-85038275 is 25.171.230.65 and allocation pool is NOT set 2025-06-19 02:11:52,302 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.568/2.689/1.121 ms') 2025-06-19 02:11:52,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96441395-77067734 passed 2025-06-19 02:11:52,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:52,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96441395-77067734, IP 25.171.230.67, Port 22 2025-06-19 02:11:52,602 - DEBUG - VM ctest-TestBasicPolicy-96441395-77067734 is ready for SSH connections 2025-06-19 02:11:52,602 - INFO - Waiting for VM ctest-TestBasicPolicy-96441395-79137938 to be up.. 2025-06-19 02:11:52,677 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:11:52,677 - INFO - VM name : ctest-TestBasicPolicy-96441395-79137938 2025-06-19 02:11:52,754 - DEBUG - VM ctest-TestBasicPolicy-96441395-79137938 ID is b6aad2d8-f849-47c4-b260-fa9e439afd95 2025-06-19 02:11:52,754 - DEBUG - VM ctest-TestBasicPolicy-96441395-79137938 launched on Node cn-jenkins-deploy-platform-ansible-os-3483-1 2025-06-19 02:11:52,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6aad2d8-f849-47c4-b260-fa9e439afd95 2025-06-19 02:11:52,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d892d467-e0c8-4bae-b008-a3b5e3e31de6 2025-06-19 02:11:54,103 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.764/3.085/1.321 ms') 2025-06-19 02:11:54,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96441395-79137938 passed 2025-06-19 02:11:54,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:54,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96441395-79137938, IP 89.82.112.131, Port 22 2025-06-19 02:11:54,442 - DEBUG - VM ctest-TestBasicPolicy-96441395-79137938 is ready for SSH connections 2025-06-19 02:11:54,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:54,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.82.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 02:11:54,443 - DEBUG - ping -s 56 -c 3 -W 1 89.82.112.131 2025-06-19 02:11:58,442 - DEBUG - PING 89.82.112.131 (89.82.112.131): 56 data bytes 64 bytes from 89.82.112.131: seq=0 ttl=63 time=3.263 ms 64 bytes from 89.82.112.131: seq=1 ttl=63 time=0.989 ms 64 bytes from 89.82.112.131: seq=2 ttl=63 time=0.799 ms --- 89.82.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.683/3.263 ms 2025-06-19 02:11:58,442 - INFO - Ping to IP 89.82.112.131 from VM ctest-TestBasicPolicy-96441395-77067734 passed 2025-06-19 02:11:58,630 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dfb7967c-382f-45a8-9aef-04fc49190594", "href": "http://10.0.0.38:8082/network-policy/dfb7967c-382f-45a8-9aef-04fc49190594"}} 2025-06-19 02:11:58,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:58,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.82.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 02:11:58,631 - DEBUG - ping -s 56 -c 3 -W 1 89.82.112.131 2025-06-19 02:12:01,842 - DEBUG - PING 89.82.112.131 (89.82.112.131): 56 data bytes --- 89.82.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 02:12:01,842 - WARNING - Ping to IP 89.82.112.131 from VM ctest-TestBasicPolicy-96441395-77067734 failed 2025-06-19 02:12:01,842 - INFO - Deleting VM ctest-TestBasicPolicy-96441395-79137938 2025-06-19 02:12:01,908 - INFO - Deleting VM ctest-TestBasicPolicy-96441395-77067734 2025-06-19 02:12:02,278 - INFO - Deleted policy ctest-policy-allow-all-39085804 2025-06-19 02:12:02,278 - INFO - Deleting VN ctest-vn-31889726 2025-06-19 02:12:02,316 - DEBUG - VN b513f804-9d55-4788-a025-d46f9c85c3c0 still in use: Unable to complete operation on network b513f804-9d55-4788-a025-d46f9c85c3c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-669e4cf7-8d5c-40a2-92ee-ca8a738b642c'] 2025-06-19 02:12:02,317 - WARNING - Deleting VN ctest-vn-31889726 failed..Will retry 2025-06-19 02:12:04,426 - DEBUG - Response for deleting network () 2025-06-19 02:12:04,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/927de305-525d-43c8-a629-654a7988ce71 2025-06-19 02:12:04,431 - DEBUG - Response Code: 404 2025-06-19 02:12:04,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:12:04,438 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:12:04,492 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:12:04,574 - INFO - Validated that VN ctest-vn-31889726 is not found in API Server 2025-06-19 02:12:04,585 - DEBUG - VN ctest-vn-31889726 is not present in Agent 10.0.0.38 2025-06-19 02:12:04,586 - INFO - Validated that VN ctest-vn-31889726 is not in any agent 2025-06-19 02:12:04,603 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31889726 info 2025-06-19 02:12:04,603 - INFO - Deleting VN ctest-vn-85038275 2025-06-19 02:12:04,713 - DEBUG - Response for deleting network () 2025-06-19 02:12:04,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/244b8595-e22d-4b80-891b-1e0e75ba023f 2025-06-19 02:12:04,721 - DEBUG - Response Code: 404 2025-06-19 02:12:04,722 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 02:12:04,727 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a656dad-1240-471e-abd8-f19f258cf646 2025-06-19 02:12:04,781 - DEBUG - Requesting: http://10.0.0.38:8082/project/978f435f-9070-481e-b6d9-bc4a24cd5d82 2025-06-19 02:12:04,859 - INFO - Validated that VN ctest-vn-85038275 is not found in API Server 2025-06-19 02:12:04,872 - DEBUG - VN ctest-vn-85038275 is not present in Agent 10.0.0.38 2025-06-19 02:12:04,873 - INFO - Validated that VN ctest-vn-85038275 is not in any agent 2025-06-19 02:12:04,891 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85038275 info 2025-06-19 02:12:05,140 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 02:12:05,140 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-19 02:12:05,140 - INFO - -------------------------------------------------------------------------------- 2025-06-19 02:12:05,800 - INFO - Deleted project: ctest-TestBasicPolicy-96441395, ID : 978f435f-9070-481e-b6d9-bc4a24cd5d82