2025-10-23 10:46:59,665 - INFO - Domain Default found not creating 2025-10-23 10:46:59,819 - INFO - Project ctest-TestBasicPolicy-25400237 not found, creating it 2025-10-23 10:47:00,280 - INFO - Created Project:ctest-TestBasicPolicy-25400237, ID : f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:01,755 - INFO - ================================================================================ 2025-10-23 10:47:01,755 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 10:47:01,755 - 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-10-23 10:47:02,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-23 10:47:02,010 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:47:02,010 - INFO - 2025-10-23 10:47:02,564 - DEBUG - Response for create_network : {'network': {'id': '1bb3cbc8-b53e-475e-9e5a-b6f0743604e3', 'name': 'ctest-vn-05830041', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-vn-05830041'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:02,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db376718-d0bd-4329-946c-59baac67712c', 'name': '', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'network_id': '1bb3cbc8-b53e-475e-9e5a-b6f0743604e3', 'ip_version': 4, 'cidr': '35.29.163.0/26', 'allocation_pools': [{'start': '35.29.163.2', 'end': '35.29.163.62'}], 'gateway_ip': '35.29.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.29.163.2', 'tags': [], 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b'}} 2025-10-23 10:47:02,763 - INFO - Created VN ctest-vn-05830041 2025-10-23 10:47:02,813 - DEBUG - VN ctest-vn-05830041 UUID is 1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:03,131 - DEBUG - Response for create_network : {'network': {'id': 'af2e667c-2e28-4511-84aa-bae8eaf3216f', 'name': 'ctest-vn-31886541', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-vn-31886541'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:03,345 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3e0f0c5-90bd-43ab-8039-97009c2d921c', 'name': '', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'network_id': 'af2e667c-2e28-4511-84aa-bae8eaf3216f', 'ip_version': 4, 'cidr': '132.88.27.192/26', 'allocation_pools': [{'start': '132.88.27.194', 'end': '132.88.27.254'}], 'gateway_ip': '132.88.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.88.27.194', 'tags': [], 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b'}} 2025-10-23 10:47:03,365 - INFO - Created VN ctest-vn-31886541 2025-10-23 10:47:03,417 - DEBUG - VN ctest-vn-31886541 UUID is af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:03,538 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041, 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-25400237:ctest-vn-31886541, 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-10-23 10:47:03,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bb3cbc8-b53e-475e-9e5a-b6f0743604e3', 'name': 'ctest-vn-05830041', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db376718-d0bd-4329-946c-59baac67712c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-vn-05830041'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-policy-allow-all-46855223']], 'subnet_ipam': [{'subnet_cidr': '35.29.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:04,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af2e667c-2e28-4511-84aa-bae8eaf3216f', 'name': 'ctest-vn-31886541', 'tenant_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'project_id': 'f0dee775d3824b34b5d1ddf802d2026b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3e0f0c5-90bd-43ab-8039-97009c2d921c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-vn-31886541'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-policy-allow-all-46855223']], 'subnet_ipam': [{'subnet_cidr': '132.88.27.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:04,253 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:04,565 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:04,596 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:04,608 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:04,686 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,698 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,707 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:04,716 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:04,723 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a505d483-362c-4b4a-aaba-dec3eb0fb4ab 2025-10-23 10:47:04,730 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:47:04,730 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,739 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:04,757 - INFO - Verified VN network id 11 for VN 1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,757 - INFO - Verifications in API Server for VN ctest-vn-05830041 passed 2025-10-23 10:47:04,757 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,768 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:04,776 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:04,784 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a505d483-362c-4b4a-aaba-dec3eb0fb4ab 2025-10-23 10:47:04,795 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25400237', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1996163122749917022', 'uuid-lslong': '11410633749754676451'}, 'enable': 'true', 'created': '2025-10-23T10:47:02', 'last-modified': '2025-10-23T10:47:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988032'} 2025-10-23 10:47:04,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:47:04,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05830041 passed 2025-10-23 10:47:04,801 - DEBUG - ====Verifying policy data for ctest-vn-05830041 in API_Server ====== 2025-10-23 10:47:04,801 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:04,807 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:04,819 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:04,894 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1bb3cbc8-b53e-475e-9e5a-b6f0743604e3 2025-10-23 10:47:04,904 - DEBUG - ==>Verifying data for policy with id: ab920d42-89ae-421e-bc0b-2df6c97c39f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-policy-allow-all-46855223'] 2025-10-23 10:47:04,904 - INFO - VN ctest-vn-05830041 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:47:04,904 - DEBUG - Verifying the vn in opserver 2025-10-23 10:47:04,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041 virtual network link through opserver 10.0.0.19 2025-10-23 10:47:04,905 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-23 10:47:05,196 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-23 10:47:05,272 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041?flat'} 2025-10-23 10:47:05,272 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041 is found in opserver 2025-10-23 10:47:05,284 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:47:05,290 - DEBUG - VRF ids for VN ctest-vn-05830041: {} 2025-10-23 10:47:05,290 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:05,296 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:05,308 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:05,387 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,399 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,409 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:05,416 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:05,424 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e93728ee-70a0-4793-a0b4-b7e6e7a673e6 2025-10-23 10:47:05,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:47:05,433 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,441 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:05,457 - INFO - Verified VN network id 12 for VN af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,457 - INFO - Verifications in API Server for VN ctest-vn-31886541 passed 2025-10-23 10:47:05,457 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,466 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:05,472 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:05,481 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e93728ee-70a0-4793-a0b4-b7e6e7a673e6 2025-10-23 10:47:05,493 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-31886541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25400237', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12623139489102447889', 'uuid-lslong': '9559658668584280431'}, 'enable': 'true', 'created': '2025-10-23T10:47:03', 'last-modified': '2025-10-23T10:47:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441801'} 2025-10-23 10:47:05,499 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:47:05,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31886541 passed 2025-10-23 10:47:05,500 - DEBUG - ====Verifying policy data for ctest-vn-31886541 in API_Server ====== 2025-10-23 10:47:05,500 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:05,505 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:05,516 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:05,591 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/af2e667c-2e28-4511-84aa-bae8eaf3216f 2025-10-23 10:47:05,602 - DEBUG - ==>Verifying data for policy with id: ab920d42-89ae-421e-bc0b-2df6c97c39f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-25400237', 'ctest-policy-allow-all-46855223'] 2025-10-23 10:47:05,602 - INFO - VN ctest-vn-31886541 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:47:05,602 - DEBUG - Verifying the vn in opserver 2025-10-23 10:47:05,602 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-31886541 virtual network link through opserver 10.0.0.19 2025-10-23 10:47:05,602 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-23 10:47:05,611 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-31886541', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-31886541?flat'} 2025-10-23 10:47:05,612 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-31886541 is found in opserver 2025-10-23 10:47:05,621 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:47:05,626 - DEBUG - VRF ids for VN ctest-vn-31886541: {} 2025-10-23 10:47:05,703 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:47:06,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:47:07,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:47:07,916 - INFO - Waiting for VM ctest-TestBasicPolicy-25400237-21145292 to be up.. 2025-10-23 10:47:08,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:47:13,116 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:47:13,116 - INFO - VM name : ctest-TestBasicPolicy-25400237-21145292 2025-10-23 10:47:13,198 - DEBUG - VM ctest-TestBasicPolicy-25400237-21145292 ID is c18dea60-fe5a-483e-9d84-0bb804f5f42c 2025-10-23 10:47:13,220 - DEBUG - VM ctest-TestBasicPolicy-25400237-21145292 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:47:13,300 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c18dea60-fe5a-483e-9d84-0bb804f5f42c 2025-10-23 10:47:13,309 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f1b1636e-4dac-4a68-8b08-8dee86d2bace 2025-10-23 10:47:16,525 - 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 1018ms') 2025-10-23 10:47:16,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25400237-21145292 failed! 2025-10-23 10:47:16,585 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25400237:ctest-vn-05830041 is 35.29.163.1 and allocation pool is NOT set 2025-10-23 10:47:18,651 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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 = 2.840/4.868/6.897/2.028 ms') 2025-10-23 10:47:18,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25400237-21145292 passed 2025-10-23 10:47:18,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:47:18,809 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25400237-21145292, IP 35.29.163.3, Port 22 2025-10-23 10:47:18,972 - DEBUG - VM ctest-TestBasicPolicy-25400237-21145292 is ready for SSH connections 2025-10-23 10:47:18,972 - INFO - Waiting for VM ctest-TestBasicPolicy-25400237-68800606 to be up.. 2025-10-23 10:47:19,047 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:47:19,047 - INFO - VM name : ctest-TestBasicPolicy-25400237-68800606 2025-10-23 10:47:19,126 - DEBUG - VM ctest-TestBasicPolicy-25400237-68800606 ID is 2fbbea62-8d5e-472e-9ab0-259199d4a7cf 2025-10-23 10:47:19,126 - DEBUG - VM ctest-TestBasicPolicy-25400237-68800606 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:47:19,210 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2fbbea62-8d5e-472e-9ab0-259199d4a7cf 2025-10-23 10:47:19,218 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0c53322f-2460-43ba-b487-3ff78ff73cf8 2025-10-23 10:47:20,457 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.524 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.524/1.950/3.377/1.426 ms') 2025-10-23 10:47:20,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25400237-68800606 passed 2025-10-23 10:47:20,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:47:20,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25400237-68800606, IP 132.88.27.195, Port 22 2025-10-23 10:47:20,772 - DEBUG - VM ctest-TestBasicPolicy-25400237-68800606 is ready for SSH connections 2025-10-23 10:47:20,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:47:20,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.88.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:47:20,772 - DEBUG - ping -s 56 -c 3 -W 1 132.88.27.195 2025-10-23 10:47:24,827 - DEBUG - PING 132.88.27.195 (132.88.27.195): 56 data bytes 64 bytes from 132.88.27.195: seq=0 ttl=63 time=3.135 ms 64 bytes from 132.88.27.195: seq=1 ttl=63 time=0.847 ms 64 bytes from 132.88.27.195: seq=2 ttl=63 time=1.203 ms --- 132.88.27.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/1.728/3.135 ms 2025-10-23 10:47:24,827 - INFO - Ping to IP 132.88.27.195 from VM ctest-TestBasicPolicy-25400237-21145292 passed 2025-10-23 10:47:25,008 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ab920d42-89ae-421e-bc0b-2df6c97c39f5", "href": "http://10.0.0.19:8082/network-policy/ab920d42-89ae-421e-bc0b-2df6c97c39f5"}} 2025-10-23 10:47:25,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:47:25,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.88.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:47:25,009 - DEBUG - ping -s 56 -c 3 -W 1 132.88.27.195 2025-10-23 10:47:28,250 - DEBUG - PING 132.88.27.195 (132.88.27.195): 56 data bytes --- 132.88.27.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:47:28,251 - WARNING - Ping to IP 132.88.27.195 from VM ctest-TestBasicPolicy-25400237-21145292 failed 2025-10-23 10:47:28,251 - INFO - Deleting VM ctest-TestBasicPolicy-25400237-68800606 2025-10-23 10:47:28,322 - INFO - Deleting VM ctest-TestBasicPolicy-25400237-21145292 2025-10-23 10:47:28,701 - INFO - Deleted policy ctest-policy-allow-all-46855223 2025-10-23 10:47:28,701 - INFO - Deleting VN ctest-vn-31886541 2025-10-23 10:47:28,736 - DEBUG - VN af2e667c-2e28-4511-84aa-bae8eaf3216f still in use: Unable to complete operation on network af2e667c-2e28-4511-84aa-bae8eaf3216f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-271126f9-f95a-4f08-ba0e-4ea12e1898e1'] 2025-10-23 10:47:28,736 - WARNING - Deleting VN ctest-vn-31886541 failed..Will retry 2025-10-23 10:47:30,838 - DEBUG - Response for deleting network () 2025-10-23 10:47:30,839 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/237987d1-34d1-493a-9f5d-cfc7ebbffd89 2025-10-23 10:47:30,847 - DEBUG - Response Code: 404 2025-10-23 10:47:30,847 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:30,853 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:30,905 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:30,986 - INFO - Validated that VN ctest-vn-31886541 is not found in API Server 2025-10-23 10:47:30,997 - DEBUG - VN ctest-vn-31886541 is not present in Agent 10.0.0.19 2025-10-23 10:47:30,997 - INFO - Validated that VN ctest-vn-31886541 is not in any agent 2025-10-23 10:47:31,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31886541 info 2025-10-23 10:47:31,011 - INFO - Deleting VN ctest-vn-05830041 2025-10-23 10:47:31,126 - DEBUG - Response for deleting network () 2025-10-23 10:47:31,126 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/556a313b-3427-4b6e-91ce-2b7f0ec386dd 2025-10-23 10:47:31,130 - DEBUG - Response Code: 404 2025-10-23 10:47:31,131 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-23 10:47:31,138 - DEBUG - Requesting: http://10.0.0.19:8082/domain/fbba2215-407a-481f-8c8e-2d76b867e8d0 2025-10-23 10:47:31,190 - DEBUG - Requesting: http://10.0.0.19:8082/project/f0dee775-d382-4b34-b5d1-ddf802d2026b 2025-10-23 10:47:31,257 - INFO - Validated that VN ctest-vn-05830041 is not found in API Server 2025-10-23 10:47:31,267 - DEBUG - VN ctest-vn-05830041 is not present in Agent 10.0.0.19 2025-10-23 10:47:31,267 - INFO - Validated that VN ctest-vn-05830041 is not in any agent 2025-10-23 10:47:31,280 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05830041 info 2025-10-23 10:47:31,534 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:47:31,534 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-23 10:47:31,534 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:47:32,217 - INFO - Deleted project: ctest-TestBasicPolicy-25400237, ID : f0dee775-d382-4b34-b5d1-ddf802d2026b