2025-10-31 10:19:06,724 - INFO - Domain Default found not creating 2025-10-31 10:19:06,899 - INFO - Project ctest-TestBasicPolicy-45781880 not found, creating it 2025-10-31 10:19:07,396 - INFO - Created Project:ctest-TestBasicPolicy-45781880, ID : a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:08,884 - INFO - ================================================================================ 2025-10-31 10:19:08,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 10:19:08,884 - 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-31 10:19:09,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 10:19:09,159 - INFO - Initial checks done. Running the testcase now 2025-10-31 10:19:09,159 - INFO - 2025-10-31 10:19:09,734 - DEBUG - Response for create_network : {'network': {'id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'name': 'ctest-vn-32540981', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-32540981'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:19:09,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b17f24d-d951-48fb-a223-120a38de5710', 'name': '', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'network_id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'ip_version': 4, 'cidr': '191.176.147.192/26', 'allocation_pools': [{'start': '191.176.147.194', 'end': '191.176.147.254'}], 'gateway_ip': '191.176.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.176.147.194', 'tags': [], 'project_id': 'a8aa97934881428d9fd13c5bf15c1605'}} 2025-10-31 10:19:09,972 - INFO - Created VN ctest-vn-32540981 2025-10-31 10:19:10,027 - DEBUG - VN ctest-vn-32540981 UUID is 45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:10,358 - DEBUG - Response for create_network : {'network': {'id': 'ce97666d-244c-4030-832f-0571870bf717', 'name': 'ctest-vn-83484925', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-83484925'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:19:10,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f7f221e-5b49-41f2-ac03-457b377d83ef', 'name': '', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'network_id': 'ce97666d-244c-4030-832f-0571870bf717', 'ip_version': 4, 'cidr': '206.121.80.128/26', 'allocation_pools': [{'start': '206.121.80.130', 'end': '206.121.80.190'}], 'gateway_ip': '206.121.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.121.80.130', 'tags': [], 'project_id': 'a8aa97934881428d9fd13c5bf15c1605'}} 2025-10-31 10:19:10,573 - INFO - Created VN ctest-vn-83484925 2025-10-31 10:19:10,630 - DEBUG - VN ctest-vn-83484925 UUID is ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:10,745 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981, 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-45781880:ctest-vn-83484925, 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-31 10:19:11,067 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'name': 'ctest-vn-32540981', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b17f24d-d951-48fb-a223-120a38de5710'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-32540981'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']], 'subnet_ipam': [{'subnet_cidr': '191.176.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:19:11,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce97666d-244c-4030-832f-0571870bf717', 'name': 'ctest-vn-83484925', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f7f221e-5b49-41f2-ac03-457b377d83ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-83484925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']], 'subnet_ipam': [{'subnet_cidr': '206.121.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:19:11,466 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:11,782 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:11,826 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:11,839 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:11,923 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:11,936 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:11,947 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:11,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:11,964 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4d992741-1832-4580-a002-ab0b55bb30c7 2025-10-31 10:19:11,971 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 10:19:11,971 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:11,979 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:11,992 - INFO - Verified VN network id 11 for VN 45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:11,992 - INFO - Verifications in API Server for VN ctest-vn-32540981 passed 2025-10-31 10:19:11,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:12,002 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:12,010 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:12,018 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4d992741-1832-4580-a002-ab0b55bb30c7 2025-10-31 10:19:12,031 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45781880', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4986103234229522429', 'uuid-lslong': '10292471364330122211'}, 'enable': 'true', 'created': '2025-10-31T10:19:09', 'last-modified': '2025-10-31T10:19:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988817'} 2025-10-31 10:19:12,039 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 10:19:12,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32540981 passed 2025-10-31 10:19:12,040 - DEBUG - ====Verifying policy data for ctest-vn-32540981 in API_Server ====== 2025-10-31 10:19:12,040 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:12,046 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:12,059 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:12,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3 2025-10-31 10:19:12,141 - DEBUG - ==>Verifying data for policy with id: 5b7e120d-d55c-454d-8d18-684ac3e070f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896'] 2025-10-31 10:19:12,141 - INFO - VN ctest-vn-32540981 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 10:19:12,141 - DEBUG - Verifying the vn in opserver 2025-10-31 10:19:12,141 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981 virtual network link through opserver 10.0.0.254 2025-10-31 10:19:12,141 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 10:19:12,460 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 10:19:12,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981?flat'} 2025-10-31 10:19:12,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981 is found in opserver 2025-10-31 10:19:12,536 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 10:19:12,540 - DEBUG - VRF ids for VN ctest-vn-32540981: {} 2025-10-31 10:19:12,540 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:12,546 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:12,559 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:12,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,657 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:12,666 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:12,674 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fde580ae-4ee9-4622-b04f-172928b5584c 2025-10-31 10:19:12,681 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 10:19:12,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,690 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:12,705 - INFO - Verified VN network id 12 for VN ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,705 - INFO - Verifications in API Server for VN ctest-vn-83484925 passed 2025-10-31 10:19:12,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,715 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:12,723 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:12,730 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fde580ae-4ee9-4622-b04f-172928b5584c 2025-10-31 10:19:12,743 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45781880', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14886479712242909232', 'uuid-lslong': '9452780128029112087'}, 'enable': 'true', 'created': '2025-10-31T10:19:10', 'last-modified': '2025-10-31T10:19:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469459'} 2025-10-31 10:19:12,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 10:19:12,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83484925 passed 2025-10-31 10:19:12,748 - DEBUG - ====Verifying policy data for ctest-vn-83484925 in API_Server ====== 2025-10-31 10:19:12,748 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:12,755 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:12,765 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:12,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717 2025-10-31 10:19:12,845 - DEBUG - ==>Verifying data for policy with id: 5b7e120d-d55c-454d-8d18-684ac3e070f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896'] 2025-10-31 10:19:12,845 - INFO - VN ctest-vn-83484925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 10:19:12,845 - DEBUG - Verifying the vn in opserver 2025-10-31 10:19:12,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925 virtual network link through opserver 10.0.0.254 2025-10-31 10:19:12,845 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 10:19:12,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925?flat'} 2025-10-31 10:19:12,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925 is found in opserver 2025-10-31 10:19:12,868 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 10:19:12,874 - DEBUG - VRF ids for VN ctest-vn-83484925: {} 2025-10-31 10:19:12,940 - DEBUG - Services list from nova: [, , ] 2025-10-31 10:19:14,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4574-1) 2025-10-31 10:19:15,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4574-1) 2025-10-31 10:19:15,243 - INFO - Waiting for VM ctest-TestBasicPolicy-45781880-24030379 to be up.. 2025-10-31 10:19:15,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 10:19:20,424 - DEBUG - VM is in ACTIVE state now 2025-10-31 10:19:20,424 - INFO - VM name : ctest-TestBasicPolicy-45781880-24030379 2025-10-31 10:19:20,509 - DEBUG - VM ctest-TestBasicPolicy-45781880-24030379 ID is bc1dd796-82d9-4698-950f-cf70ffdf3d4c 2025-10-31 10:19:20,534 - DEBUG - VM ctest-TestBasicPolicy-45781880-24030379 launched on Node cn-jenkins-deploy-platform-ansible-os-4574-1 2025-10-31 10:19:20,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bc1dd796-82d9-4698-950f-cf70ffdf3d4c 2025-10-31 10:19:20,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cb46935b-478d-444c-9ee6-7a89feae02a6 2025-10-31 10:19:23,895 - 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 1028ms') 2025-10-31 10:19:23,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45781880-24030379 failed! 2025-10-31 10:19:23,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981 is 191.176.147.193 and allocation pool is NOT set 2025-10-31 10:19:26,009 - 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=5.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/2.926/5.405/2.478 ms') 2025-10-31 10:19:26,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45781880-24030379 passed 2025-10-31 10:19:26,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:19:26,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45781880-24030379, IP 191.176.147.195, Port 22 2025-10-31 10:19:26,332 - DEBUG - VM ctest-TestBasicPolicy-45781880-24030379 is ready for SSH connections 2025-10-31 10:19:26,332 - INFO - Waiting for VM ctest-TestBasicPolicy-45781880-08054705 to be up.. 2025-10-31 10:19:26,421 - DEBUG - VM is in ACTIVE state now 2025-10-31 10:19:26,421 - INFO - VM name : ctest-TestBasicPolicy-45781880-08054705 2025-10-31 10:19:26,513 - DEBUG - VM ctest-TestBasicPolicy-45781880-08054705 ID is cb7b0694-3e08-40a9-a5e8-48bb6793bda6 2025-10-31 10:19:26,513 - DEBUG - VM ctest-TestBasicPolicy-45781880-08054705 launched on Node cn-jenkins-deploy-platform-ansible-os-4574-1 2025-10-31 10:19:26,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb7b0694-3e08-40a9-a5e8-48bb6793bda6 2025-10-31 10:19:26,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5eaa202b-23aa-4ba9-aa9c-ec3a8633881e 2025-10-31 10:19:27,853 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.631 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.631/2.105/3.579/1.474 ms') 2025-10-31 10:19:27,854 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45781880-08054705 passed 2025-10-31 10:19:28,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:19:28,007 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45781880-08054705, IP 206.121.80.131, Port 22 2025-10-31 10:19:28,180 - DEBUG - VM ctest-TestBasicPolicy-45781880-08054705 is ready for SSH connections 2025-10-31 10:19:28,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:19:28,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.121.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 10:19:28,181 - DEBUG - ping -s 56 -c 3 -W 1 206.121.80.131 2025-10-31 10:19:32,287 - DEBUG - PING 206.121.80.131 (206.121.80.131): 56 data bytes 64 bytes from 206.121.80.131: seq=0 ttl=63 time=4.031 ms 64 bytes from 206.121.80.131: seq=1 ttl=63 time=1.052 ms 64 bytes from 206.121.80.131: seq=2 ttl=63 time=1.720 ms --- 206.121.80.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.267/4.031 ms 2025-10-31 10:19:32,287 - INFO - Ping to IP 206.121.80.131 from VM ctest-TestBasicPolicy-45781880-24030379 passed 2025-10-31 10:19:32,478 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b7e120d-d55c-454d-8d18-684ac3e070f7", "href": "http://10.0.0.254:8082/network-policy/5b7e120d-d55c-454d-8d18-684ac3e070f7"}} 2025-10-31 10:19:32,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:19:32,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.121.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 10:19:32,479 - DEBUG - ping -s 56 -c 3 -W 1 206.121.80.131 2025-10-31 10:19:35,714 - DEBUG - PING 206.121.80.131 (206.121.80.131): 56 data bytes --- 206.121.80.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 10:19:35,714 - WARNING - Ping to IP 206.121.80.131 from VM ctest-TestBasicPolicy-45781880-24030379 failed 2025-10-31 10:19:35,714 - INFO - Deleting VM ctest-TestBasicPolicy-45781880-08054705 2025-10-31 10:19:35,787 - INFO - Deleting VM ctest-TestBasicPolicy-45781880-24030379 2025-10-31 10:19:36,215 - INFO - Deleted policy ctest-policy-allow-all-96340896 2025-10-31 10:19:36,215 - INFO - Deleting VN ctest-vn-83484925 2025-10-31 10:19:36,256 - DEBUG - VN ce97666d-244c-4030-832f-0571870bf717 still in use: Unable to complete operation on network ce97666d-244c-4030-832f-0571870bf717. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b09a4465-1160-4e6c-860a-02db9c4a2bb8'] 2025-10-31 10:19:36,256 - WARNING - Deleting VN ctest-vn-83484925 failed..Will retry 2025-10-31 10:19:38,384 - DEBUG - Response for deleting network () 2025-10-31 10:19:38,384 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474 2025-10-31 10:19:38,392 - DEBUG - Response Code: 404 2025-10-31 10:19:38,392 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:38,400 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:38,455 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:38,542 - INFO - Validated that VN ctest-vn-83484925 is not found in API Server 2025-10-31 10:19:38,552 - DEBUG - VN ctest-vn-83484925 is not present in Agent 10.0.0.254 2025-10-31 10:19:38,552 - INFO - Validated that VN ctest-vn-83484925 is not in any agent 2025-10-31 10:19:38,569 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83484925 info 2025-10-31 10:19:38,569 - INFO - Deleting VN ctest-vn-32540981 2025-10-31 10:19:38,670 - DEBUG - Response for deleting network () 2025-10-31 10:19:38,671 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a 2025-10-31 10:19:38,676 - DEBUG - Response Code: 404 2025-10-31 10:19:38,677 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 10:19:38,688 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37 2025-10-31 10:19:38,747 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605 2025-10-31 10:19:38,819 - INFO - Validated that VN ctest-vn-32540981 is not found in API Server 2025-10-31 10:19:38,829 - DEBUG - VN ctest-vn-32540981 is not present in Agent 10.0.0.254 2025-10-31 10:19:38,829 - INFO - Validated that VN ctest-vn-32540981 is not in any agent 2025-10-31 10:19:38,844 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32540981 info 2025-10-31 10:19:39,103 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 10:19:39,103 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-10-31 10:19:39,103 - INFO - -------------------------------------------------------------------------------- 2025-10-31 10:19:39,818 - INFO - Deleted project: ctest-TestBasicPolicy-45781880, ID : a8aa9793-4881-428d-9fd1-3c5bf15c1605