2025-08-11 21:37:41,527 - INFO - Domain Default found not creating 2025-08-11 21:37:41,644 - INFO - Project ctest-TestBasicPolicy-78383140 not found, creating it 2025-08-11 21:37:42,054 - INFO - Created Project:ctest-TestBasicPolicy-78383140, ID : 5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:37:43,352 - INFO - ================================================================================ 2025-08-11 21:37:43,353 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 21:37:43,353 - 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-08-11 21:37:43,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 21:37:43,605 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:37:43,605 - INFO - 2025-08-11 21:37:44,137 - DEBUG - Response for create_network : {'network': {'id': '39ae89d6-2220-4931-a0c1-eac867a643b2', 'name': 'ctest-vn-80133533', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'project_id': '5ff463791055429b8a3f2c198d2259f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-vn-80133533'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:44,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5bc454c-9e82-421a-a7f9-bb533f83712d', 'name': '', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'network_id': '39ae89d6-2220-4931-a0c1-eac867a643b2', 'ip_version': 4, 'cidr': '137.236.143.128/26', 'allocation_pools': [{'start': '137.236.143.130', 'end': '137.236.143.190'}], 'gateway_ip': '137.236.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.236.143.130', 'tags': [], 'project_id': '5ff463791055429b8a3f2c198d2259f3'}} 2025-08-11 21:37:44,325 - INFO - Created VN ctest-vn-80133533 2025-08-11 21:37:44,381 - DEBUG - VN ctest-vn-80133533 UUID is 39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:44,686 - DEBUG - Response for create_network : {'network': {'id': 'f20631ef-1187-4a1e-a842-8c81e6bc4444', 'name': 'ctest-vn-27605235', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'project_id': '5ff463791055429b8a3f2c198d2259f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-vn-27605235'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:44,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd28e332a-6069-4a3d-9676-3f6bde5b01ae', 'name': '', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'network_id': 'f20631ef-1187-4a1e-a842-8c81e6bc4444', 'ip_version': 4, 'cidr': '21.135.70.0/26', 'allocation_pools': [{'start': '21.135.70.2', 'end': '21.135.70.62'}], 'gateway_ip': '21.135.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.135.70.2', 'tags': [], 'project_id': '5ff463791055429b8a3f2c198d2259f3'}} 2025-08-11 21:37:44,908 - INFO - Created VN ctest-vn-27605235 2025-08-11 21:37:44,960 - DEBUG - VN ctest-vn-27605235 UUID is f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:45,108 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533, 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-78383140:ctest-vn-27605235, 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-08-11 21:37:45,399 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '39ae89d6-2220-4931-a0c1-eac867a643b2', 'name': 'ctest-vn-80133533', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'project_id': '5ff463791055429b8a3f2c198d2259f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5bc454c-9e82-421a-a7f9-bb533f83712d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-vn-80133533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-policy-allow-all-96948506']], 'subnet_ipam': [{'subnet_cidr': '137.236.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:45,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f20631ef-1187-4a1e-a842-8c81e6bc4444', 'name': 'ctest-vn-27605235', 'tenant_id': '5ff463791055429b8a3f2c198d2259f3', 'project_id': '5ff463791055429b8a3f2c198d2259f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d28e332a-6069-4a3d-9676-3f6bde5b01ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-vn-27605235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-policy-allow-all-96948506']], 'subnet_ipam': [{'subnet_cidr': '21.135.70.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:45,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:37:46,075 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:37:46,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:37:46,112 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:37:46,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,198 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:37:46,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:37:46,210 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d39141d-957e-4b24-bfc3-52925698ed28 2025-08-11 21:37:46,215 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 21:37:46,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:37:46,235 - INFO - Verified VN network id 11 for VN 39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,235 - INFO - Verifications in API Server for VN ctest-vn-80133533 passed 2025-08-11 21:37:46,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:37:46,249 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:37:46,255 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d39141d-957e-4b24-bfc3-52925698ed28 2025-08-11 21:37:46,265 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78383140', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4156411058898094385', 'uuid-lslong': '11583797863026934706'}, 'enable': 'true', 'created': '2025-08-11T21:37:44', 'last-modified': '2025-08-11T21:37:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894102'} 2025-08-11 21:37:46,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 21:37:46,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80133533 passed 2025-08-11 21:37:46,271 - DEBUG - ====Verifying policy data for ctest-vn-80133533 in API_Server ====== 2025-08-11 21:37:46,272 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:37:46,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:37:46,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:37:46,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39ae89d6-2220-4931-a0c1-eac867a643b2 2025-08-11 21:37:46,361 - DEBUG - ==>Verifying data for policy with id: 21c14b1b-7f69-4380-b9d7-4a113ebc0ba5, fqn: ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-policy-allow-all-96948506'] 2025-08-11 21:37:46,361 - INFO - VN ctest-vn-80133533 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 21:37:46,361 - DEBUG - Verifying the vn in opserver 2025-08-11 21:37:46,362 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533 virtual network link through opserver 10.0.0.38 2025-08-11 21:37:46,362 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 21:37:46,652 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 21:37:46,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533?flat'} 2025-08-11 21:37:46,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533 is found in opserver 2025-08-11 21:37:46,714 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 21:37:46,719 - DEBUG - VRF ids for VN ctest-vn-80133533: {} 2025-08-11 21:37:46,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:37:46,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:37:46,735 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:37:46,807 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:37:46,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:37:46,839 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e07cef49-fe38-4080-b1bf-e91c4d3f0470 2025-08-11 21:37:46,844 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 21:37:46,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,852 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:37:46,864 - INFO - Verified VN network id 12 for VN f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,865 - INFO - Verifications in API Server for VN ctest-vn-27605235 passed 2025-08-11 21:37:46,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,873 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:37:46,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:37:46,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e07cef49-fe38-4080-b1bf-e91c4d3f0470 2025-08-11 21:37:46,896 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-27605235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78383140', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17439681509899848222', 'uuid-lslong': '12124407636384564292'}, 'enable': 'true', 'created': '2025-08-11T21:37:44', 'last-modified': '2025-08-11T21:37:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289431'} 2025-08-11 21:37:46,901 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 21:37:46,902 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27605235 passed 2025-08-11 21:37:46,902 - DEBUG - ====Verifying policy data for ctest-vn-27605235 in API_Server ====== 2025-08-11 21:37:46,902 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:37:46,907 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:37:46,918 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:37:46,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f20631ef-1187-4a1e-a842-8c81e6bc4444 2025-08-11 21:37:46,993 - DEBUG - ==>Verifying data for policy with id: 21c14b1b-7f69-4380-b9d7-4a113ebc0ba5, fqn: ['default-domain', 'ctest-TestBasicPolicy-78383140', 'ctest-policy-allow-all-96948506'] 2025-08-11 21:37:46,994 - INFO - VN ctest-vn-27605235 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 21:37:46,994 - DEBUG - Verifying the vn in opserver 2025-08-11 21:37:46,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-27605235 virtual network link through opserver 10.0.0.38 2025-08-11 21:37:46,994 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 21:37:47,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-27605235', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-27605235?flat'} 2025-08-11 21:37:47,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-27605235 is found in opserver 2025-08-11 21:37:47,011 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 21:37:47,016 - DEBUG - VRF ids for VN ctest-vn-27605235: {} 2025-08-11 21:37:47,064 - DEBUG - Services list from nova: [, , ] 2025-08-11 21:37:47,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:37:49,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:37:49,004 - INFO - Waiting for VM ctest-TestBasicPolicy-78383140-61998652 to be up.. 2025-08-11 21:37:49,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 21:37:54,142 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:37:54,142 - INFO - VM name : ctest-TestBasicPolicy-78383140-61998652 2025-08-11 21:37:54,206 - DEBUG - VM ctest-TestBasicPolicy-78383140-61998652 ID is 2cd861d8-7a69-4d08-a7c8-2c442f30d4f7 2025-08-11 21:37:54,223 - DEBUG - VM ctest-TestBasicPolicy-78383140-61998652 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:37:54,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2cd861d8-7a69-4d08-a7c8-2c442f30d4f7 2025-08-11 21:37:54,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dd20e14c-f03b-4e86-8cb7-4320c6450acb 2025-08-11 21:37:57,536 - 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 1016ms') 2025-08-11 21:37:57,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78383140-61998652 failed! 2025-08-11 21:37:57,588 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78383140:ctest-vn-80133533 is 137.236.143.129 and allocation pool is NOT set 2025-08-11 21:37:59,644 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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 = 0.388/1.490/2.593/1.102 ms') 2025-08-11 21:37:59,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78383140-61998652 passed 2025-08-11 21:37:59,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:37:59,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78383140-61998652, IP 137.236.143.131, Port 22 2025-08-11 21:37:59,952 - DEBUG - VM ctest-TestBasicPolicy-78383140-61998652 is ready for SSH connections 2025-08-11 21:37:59,953 - INFO - Waiting for VM ctest-TestBasicPolicy-78383140-59202536 to be up.. 2025-08-11 21:38:00,015 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:38:00,015 - INFO - VM name : ctest-TestBasicPolicy-78383140-59202536 2025-08-11 21:38:00,075 - DEBUG - VM ctest-TestBasicPolicy-78383140-59202536 ID is 63aca567-b350-4f7b-a80a-555a14c9564a 2025-08-11 21:38:00,075 - DEBUG - VM ctest-TestBasicPolicy-78383140-59202536 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:38:00,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63aca567-b350-4f7b-a80a-555a14c9564a 2025-08-11 21:38:00,137 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe4e8a82-f0b6-4136-b632-591ff39e256c 2025-08-11 21:38:01,359 - 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=2.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.315 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.315/1.497/2.680/1.182 ms') 2025-08-11 21:38:01,359 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78383140-59202536 passed 2025-08-11 21:38:01,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:38:01,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78383140-59202536, IP 21.135.70.3, Port 22 2025-08-11 21:38:01,664 - DEBUG - VM ctest-TestBasicPolicy-78383140-59202536 is ready for SSH connections 2025-08-11 21:38:01,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:38:01,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.135.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 21:38:01,664 - DEBUG - ping -s 56 -c 3 -W 1 21.135.70.3 2025-08-11 21:38:05,584 - DEBUG - PING 21.135.70.3 (21.135.70.3): 56 data bytes 64 bytes from 21.135.70.3: seq=0 ttl=63 time=3.263 ms 64 bytes from 21.135.70.3: seq=1 ttl=63 time=0.703 ms 64 bytes from 21.135.70.3: seq=2 ttl=63 time=0.717 ms --- 21.135.70.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/1.561/3.263 ms 2025-08-11 21:38:05,584 - INFO - Ping to IP 21.135.70.3 from VM ctest-TestBasicPolicy-78383140-61998652 passed 2025-08-11 21:38:05,760 - DEBUG - Policy Update Response {"network-policy": {"uuid": "21c14b1b-7f69-4380-b9d7-4a113ebc0ba5", "href": "http://10.0.0.38:8082/network-policy/21c14b1b-7f69-4380-b9d7-4a113ebc0ba5"}} 2025-08-11 21:38:05,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:38:05,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.135.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 21:38:05,761 - DEBUG - ping -s 56 -c 3 -W 1 21.135.70.3 2025-08-11 21:38:08,944 - DEBUG - PING 21.135.70.3 (21.135.70.3): 56 data bytes 64 bytes from 21.135.70.3: seq=0 ttl=63 time=1.325 ms --- 21.135.70.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.325/1.325/1.325 ms 2025-08-11 21:38:08,944 - WARNING - Ping to IP 21.135.70.3 from VM ctest-TestBasicPolicy-78383140-61998652 failed 2025-08-11 21:38:08,945 - INFO - Deleting VM ctest-TestBasicPolicy-78383140-59202536 2025-08-11 21:38:09,000 - INFO - Deleting VM ctest-TestBasicPolicy-78383140-61998652 2025-08-11 21:38:09,370 - INFO - Deleted policy ctest-policy-allow-all-96948506 2025-08-11 21:38:09,370 - INFO - Deleting VN ctest-vn-27605235 2025-08-11 21:38:09,406 - DEBUG - VN f20631ef-1187-4a1e-a842-8c81e6bc4444 still in use: Unable to complete operation on network f20631ef-1187-4a1e-a842-8c81e6bc4444. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41d49db4-e935-4a74-9b03-8a9f0fcad103'] 2025-08-11 21:38:09,406 - WARNING - Deleting VN ctest-vn-27605235 failed..Will retry 2025-08-11 21:38:11,489 - DEBUG - Response for deleting network () 2025-08-11 21:38:11,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1bcb5546-b54a-463c-af68-28f3561b6f5f 2025-08-11 21:38:11,495 - DEBUG - Response Code: 404 2025-08-11 21:38:11,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:38:11,500 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:38:11,557 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:38:11,624 - INFO - Validated that VN ctest-vn-27605235 is not found in API Server 2025-08-11 21:38:11,634 - DEBUG - VN ctest-vn-27605235 is not present in Agent 10.0.0.38 2025-08-11 21:38:11,634 - INFO - Validated that VN ctest-vn-27605235 is not in any agent 2025-08-11 21:38:11,648 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27605235 info 2025-08-11 21:38:11,648 - INFO - Deleting VN ctest-vn-80133533 2025-08-11 21:38:11,737 - DEBUG - Response for deleting network () 2025-08-11 21:38:11,738 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32bd776b-9708-4a3c-95a4-b6f0fd15b1f5 2025-08-11 21:38:11,742 - DEBUG - Response Code: 404 2025-08-11 21:38:11,742 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 21:38:11,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a2622e6-a5eb-4a98-9b85-6e060ec30489 2025-08-11 21:38:11,801 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ff46379-1055-429b-8a3f-2c198d2259f3 2025-08-11 21:38:11,869 - INFO - Validated that VN ctest-vn-80133533 is not found in API Server 2025-08-11 21:38:11,879 - DEBUG - VN ctest-vn-80133533 is not present in Agent 10.0.0.38 2025-08-11 21:38:11,879 - INFO - Validated that VN ctest-vn-80133533 is not in any agent 2025-08-11 21:38:11,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80133533 info 2025-08-11 21:38:12,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 21:38:12,150 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 21:38:12,150 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:38:12,808 - INFO - Deleted project: ctest-TestBasicPolicy-78383140, ID : 5ff46379-1055-429b-8a3f-2c198d2259f3