2025-10-09 23:01:18,137 - INFO - Domain Default found not creating 2025-10-09 23:01:18,248 - INFO - Project ctest-TestBasicPolicy-22298987 not found, creating it 2025-10-09 23:01:18,687 - INFO - Created Project:ctest-TestBasicPolicy-22298987, ID : 93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:19,979 - INFO - ================================================================================ 2025-10-09 23:01:19,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 23:01:19,979 - 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-09 23:01:20,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 23:01:20,232 - INFO - Initial checks done. Running the testcase now 2025-10-09 23:01:20,233 - INFO - 2025-10-09 23:01:20,734 - DEBUG - Response for create_network : {'network': {'id': '738dbd5a-3bbb-400a-be7e-d8631102d567', 'name': 'ctest-vn-41952696', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'project_id': '93e3943520874c9a85a69c55d8476fc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-vn-41952696'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 23:01:20,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '838fe1ff-9073-4cb6-accc-bb333dc46674', 'name': '', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'network_id': '738dbd5a-3bbb-400a-be7e-d8631102d567', 'ip_version': 4, 'cidr': '33.246.168.64/26', 'allocation_pools': [{'start': '33.246.168.66', 'end': '33.246.168.126'}], 'gateway_ip': '33.246.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.246.168.66', 'tags': [], 'project_id': '93e3943520874c9a85a69c55d8476fc6'}} 2025-10-09 23:01:20,915 - INFO - Created VN ctest-vn-41952696 2025-10-09 23:01:20,968 - DEBUG - VN ctest-vn-41952696 UUID is 738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:21,257 - DEBUG - Response for create_network : {'network': {'id': 'cdf1acab-d81d-42b3-8d01-94145b26eaa3', 'name': 'ctest-vn-76563254', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'project_id': '93e3943520874c9a85a69c55d8476fc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-vn-76563254'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 23:01:21,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '025714ed-32bd-4c1d-9c28-fdb30a735483', 'name': '', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'network_id': 'cdf1acab-d81d-42b3-8d01-94145b26eaa3', 'ip_version': 4, 'cidr': '164.174.184.128/26', 'allocation_pools': [{'start': '164.174.184.130', 'end': '164.174.184.190'}], 'gateway_ip': '164.174.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.174.184.130', 'tags': [], 'project_id': '93e3943520874c9a85a69c55d8476fc6'}} 2025-10-09 23:01:21,467 - INFO - Created VN ctest-vn-76563254 2025-10-09 23:01:21,516 - DEBUG - VN ctest-vn-76563254 UUID is cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:21,660 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696, 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-22298987:ctest-vn-76563254, 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-09 23:01:21,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '738dbd5a-3bbb-400a-be7e-d8631102d567', 'name': 'ctest-vn-41952696', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'project_id': '93e3943520874c9a85a69c55d8476fc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['838fe1ff-9073-4cb6-accc-bb333dc46674'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-vn-41952696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-policy-allow-all-17563579']], 'subnet_ipam': [{'subnet_cidr': '33.246.168.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 23:01:22,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cdf1acab-d81d-42b3-8d01-94145b26eaa3', 'name': 'ctest-vn-76563254', 'tenant_id': '93e3943520874c9a85a69c55d8476fc6', 'project_id': '93e3943520874c9a85a69c55d8476fc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['025714ed-32bd-4c1d-9c28-fdb30a735483'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-vn-76563254'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-policy-allow-all-17563579']], 'subnet_ipam': [{'subnet_cidr': '164.174.184.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 23:01:22,300 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:22,590 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:22,614 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:22,624 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:22,687 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,703 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:22,708 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:22,712 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/98cfe459-0e8b-4a98-87eb-b198d2c098b2 2025-10-09 23:01:22,716 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 23:01:22,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,723 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:22,733 - INFO - Verified VN network id 11 for VN 738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,733 - INFO - Verifications in API Server for VN ctest-vn-41952696 passed 2025-10-09 23:01:22,733 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,739 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:22,744 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:22,749 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/98cfe459-0e8b-4a98-87eb-b198d2c098b2 2025-10-09 23:01:22,757 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22298987', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8326519481324748810', 'uuid-lslong': '13726646634270610791'}, 'enable': 'true', 'created': '2025-10-09T23:01:20', 'last-modified': '2025-10-09T23:01:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.845167'} 2025-10-09 23:01:22,762 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 23:01:22,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41952696 passed 2025-10-09 23:01:22,762 - DEBUG - ====Verifying policy data for ctest-vn-41952696 in API_Server ====== 2025-10-09 23:01:22,762 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:22,766 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:22,775 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:22,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/738dbd5a-3bbb-400a-be7e-d8631102d567 2025-10-09 23:01:22,849 - DEBUG - ==>Verifying data for policy with id: 984fb615-96fb-434f-a792-b28fe5831c38, fqn: ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-policy-allow-all-17563579'] 2025-10-09 23:01:22,849 - INFO - VN ctest-vn-41952696 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 23:01:22,849 - DEBUG - Verifying the vn in opserver 2025-10-09 23:01:22,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696 virtual network link through opserver 10.0.0.254 2025-10-09 23:01:22,849 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 23:01:23,137 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 23:01:23,187 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696?flat'} 2025-10-09 23:01:23,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696 is found in opserver 2025-10-09 23:01:23,195 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 23:01:23,199 - DEBUG - VRF ids for VN ctest-vn-41952696: {} 2025-10-09 23:01:23,199 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:23,204 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:23,212 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:23,276 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,292 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:23,297 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:23,302 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e9fbb444-f8bb-43bd-927b-ea8264df8efc 2025-10-09 23:01:23,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 23:01:23,307 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,314 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:23,324 - INFO - Verified VN network id 12 for VN cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,324 - INFO - Verifications in API Server for VN ctest-vn-76563254 passed 2025-10-09 23:01:23,324 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,332 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:23,336 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:23,341 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e9fbb444-f8bb-43bd-927b-ea8264df8efc 2025-10-09 23:01:23,349 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-76563254', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22298987', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14839832101227676339', 'uuid-lslong': '10160565049474083491'}, 'enable': 'true', 'created': '2025-10-09T23:01:21', 'last-modified': '2025-10-09T23:01:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.224867'} 2025-10-09 23:01:23,354 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 23:01:23,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76563254 passed 2025-10-09 23:01:23,354 - DEBUG - ====Verifying policy data for ctest-vn-76563254 in API_Server ====== 2025-10-09 23:01:23,354 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:23,358 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:23,367 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:23,430 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cdf1acab-d81d-42b3-8d01-94145b26eaa3 2025-10-09 23:01:23,438 - DEBUG - ==>Verifying data for policy with id: 984fb615-96fb-434f-a792-b28fe5831c38, fqn: ['default-domain', 'ctest-TestBasicPolicy-22298987', 'ctest-policy-allow-all-17563579'] 2025-10-09 23:01:23,438 - INFO - VN ctest-vn-76563254 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 23:01:23,438 - DEBUG - Verifying the vn in opserver 2025-10-09 23:01:23,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-76563254 virtual network link through opserver 10.0.0.254 2025-10-09 23:01:23,438 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 23:01:23,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-76563254', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-76563254?flat'} 2025-10-09 23:01:23,446 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-76563254 is found in opserver 2025-10-09 23:01:23,454 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 23:01:23,458 - DEBUG - VRF ids for VN ctest-vn-76563254: {} 2025-10-09 23:01:23,506 - DEBUG - Services list from nova: [, , ] 2025-10-09 23:01:24,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1) 2025-10-09 23:01:25,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1) 2025-10-09 23:01:25,476 - INFO - Waiting for VM ctest-TestBasicPolicy-22298987-40894858 to be up.. 2025-10-09 23:01:25,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 23:01:30,600 - DEBUG - VM is in ACTIVE state now 2025-10-09 23:01:30,600 - INFO - VM name : ctest-TestBasicPolicy-22298987-40894858 2025-10-09 23:01:30,659 - DEBUG - VM ctest-TestBasicPolicy-22298987-40894858 ID is e6e0f823-2962-4531-a572-7042ee21e89d 2025-10-09 23:01:30,676 - DEBUG - VM ctest-TestBasicPolicy-22298987-40894858 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1 2025-10-09 23:01:30,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e6e0f823-2962-4531-a572-7042ee21e89d 2025-10-09 23:01:30,743 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/614b1d4b-4728-48c4-aec7-302bccabaa61 2025-10-09 23:01:33,978 - 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 1011ms') 2025-10-09 23:01:33,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22298987-40894858 failed! 2025-10-09 23:01:34,032 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22298987:ctest-vn-41952696 is 33.246.168.65 and allocation pool is NOT set 2025-10-09 23:01:36,098 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.761/3.283/4.805/1.522 ms') 2025-10-09 23:01:36,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22298987-40894858 passed 2025-10-09 23:01:36,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 23:01:36,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22298987-40894858, IP 33.246.168.67, Port 22 2025-10-09 23:01:36,399 - DEBUG - VM ctest-TestBasicPolicy-22298987-40894858 is ready for SSH connections 2025-10-09 23:01:36,400 - INFO - Waiting for VM ctest-TestBasicPolicy-22298987-25755645 to be up.. 2025-10-09 23:01:36,465 - DEBUG - VM is in ACTIVE state now 2025-10-09 23:01:36,465 - INFO - VM name : ctest-TestBasicPolicy-22298987-25755645 2025-10-09 23:01:36,524 - DEBUG - VM ctest-TestBasicPolicy-22298987-25755645 ID is 4bf894ee-3324-4fd8-9f40-1e55ad1d864b 2025-10-09 23:01:36,525 - DEBUG - VM ctest-TestBasicPolicy-22298987-25755645 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1 2025-10-09 23:01:36,584 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4bf894ee-3324-4fd8-9f40-1e55ad1d864b 2025-10-09 23:01:36,590 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f82adf71-787d-4c4d-aec0-2e035450e686 2025-10-09 23:01:37,818 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.493/2.662/1.169 ms') 2025-10-09 23:01:37,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22298987-25755645 passed 2025-10-09 23:01:37,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 23:01:37,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22298987-25755645, IP 164.174.184.131, Port 22 2025-10-09 23:01:38,120 - DEBUG - VM ctest-TestBasicPolicy-22298987-25755645 is ready for SSH connections 2025-10-09 23:01:38,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 23:01:38,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.174.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 23:01:38,120 - DEBUG - ping -s 56 -c 3 -W 1 164.174.184.131 2025-10-09 23:01:41,795 - DEBUG - PING 164.174.184.131 (164.174.184.131): 56 data bytes 64 bytes from 164.174.184.131: seq=0 ttl=63 time=3.114 ms 64 bytes from 164.174.184.131: seq=1 ttl=63 time=0.816 ms 64 bytes from 164.174.184.131: seq=2 ttl=63 time=0.828 ms --- 164.174.184.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.586/3.114 ms 2025-10-09 23:01:41,795 - INFO - Ping to IP 164.174.184.131 from VM ctest-TestBasicPolicy-22298987-40894858 passed 2025-10-09 23:01:41,964 - DEBUG - Policy Update Response {"network-policy": {"uuid": "984fb615-96fb-434f-a792-b28fe5831c38", "href": "http://10.0.0.254:8082/network-policy/984fb615-96fb-434f-a792-b28fe5831c38"}} 2025-10-09 23:01:41,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 23:01:41,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.174.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 23:01:41,964 - DEBUG - ping -s 56 -c 3 -W 1 164.174.184.131 2025-10-09 23:01:45,150 - DEBUG - PING 164.174.184.131 (164.174.184.131): 56 data bytes 64 bytes from 164.174.184.131: seq=0 ttl=63 time=1.248 ms --- 164.174.184.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.248/1.248/1.248 ms 2025-10-09 23:01:45,150 - WARNING - Ping to IP 164.174.184.131 from VM ctest-TestBasicPolicy-22298987-40894858 failed 2025-10-09 23:01:45,150 - INFO - Deleting VM ctest-TestBasicPolicy-22298987-25755645 2025-10-09 23:01:45,210 - INFO - Deleting VM ctest-TestBasicPolicy-22298987-40894858 2025-10-09 23:01:45,507 - INFO - Deleted policy ctest-policy-allow-all-17563579 2025-10-09 23:01:45,507 - INFO - Deleting VN ctest-vn-76563254 2025-10-09 23:01:45,538 - DEBUG - VN cdf1acab-d81d-42b3-8d01-94145b26eaa3 still in use: Unable to complete operation on network cdf1acab-d81d-42b3-8d01-94145b26eaa3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ced15b9-18ae-4389-b01a-03868a5e5a12'] 2025-10-09 23:01:45,538 - WARNING - Deleting VN ctest-vn-76563254 failed..Will retry 2025-10-09 23:01:47,625 - DEBUG - Response for deleting network () 2025-10-09 23:01:47,625 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/863a8899-c2b8-4491-85df-9c1dfea15467 2025-10-09 23:01:47,629 - DEBUG - Response Code: 404 2025-10-09 23:01:47,629 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:47,633 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:47,686 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:47,749 - INFO - Validated that VN ctest-vn-76563254 is not found in API Server 2025-10-09 23:01:47,756 - DEBUG - VN ctest-vn-76563254 is not present in Agent 10.0.0.254 2025-10-09 23:01:47,756 - INFO - Validated that VN ctest-vn-76563254 is not in any agent 2025-10-09 23:01:47,767 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76563254 info 2025-10-09 23:01:47,767 - INFO - Deleting VN ctest-vn-41952696 2025-10-09 23:01:47,849 - DEBUG - Response for deleting network () 2025-10-09 23:01:47,849 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c44e3b8-fa07-4900-b768-2cab2cc186c1 2025-10-09 23:01:47,853 - DEBUG - Response Code: 404 2025-10-09 23:01:47,853 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 23:01:47,858 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2427fbe1-e14c-4551-98d2-4af29752c8ae 2025-10-09 23:01:47,909 - DEBUG - Requesting: http://10.0.0.254:8082/project/93e39435-2087-4c9a-85a6-9c55d8476fc6 2025-10-09 23:01:47,974 - INFO - Validated that VN ctest-vn-41952696 is not found in API Server 2025-10-09 23:01:47,982 - DEBUG - VN ctest-vn-41952696 is not present in Agent 10.0.0.254 2025-10-09 23:01:47,982 - INFO - Validated that VN ctest-vn-41952696 is not in any agent 2025-10-09 23:01:47,993 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41952696 info 2025-10-09 23:01:48,244 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 23:01:48,244 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-09 23:01:48,244 - INFO - -------------------------------------------------------------------------------- 2025-10-09 23:01:48,866 - INFO - Deleted project: ctest-TestBasicPolicy-22298987, ID : 93e39435-2087-4c9a-85a6-9c55d8476fc6