2026-05-14 10:34:26,296 - INFO - Domain Default found not creating 2026-05-14 10:34:26,552 - INFO - Project ctest-TestBasicPolicy-23872059 not found, creating it 2026-05-14 10:34:27,078 - INFO - Created Project:ctest-TestBasicPolicy-23872059, ID : 641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:34:28,984 - INFO - ================================================================================ 2026-05-14 10:34:28,985 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 10:34:28,985 - 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 2026-05-14 10:34:29,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-14 10:34:29,242 - INFO - Initial checks done. Running the testcase now 2026-05-14 10:34:29,243 - INFO - 2026-05-14 10:34:29,829 - DEBUG - Response for create_network : {'network': {'id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'name': 'ctest-vn-89961098', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-89961098'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 10:34:29,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '59db9356-9548-44de-8a2a-e7b747ee4809', 'name': '', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'network_id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'ip_version': 4, 'cidr': '15.207.174.0/26', 'allocation_pools': [{'start': '15.207.174.2', 'end': '15.207.174.62'}], 'gateway_ip': '15.207.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.207.174.2', 'tags': [], 'project_id': '641d6cd2a1fb4195978eaa0028f4f541'}} 2026-05-14 10:34:30,019 - INFO - Created VN ctest-vn-89961098 2026-05-14 10:34:30,075 - DEBUG - VN ctest-vn-89961098 UUID is 97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:30,397 - DEBUG - Response for create_network : {'network': {'id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'name': 'ctest-vn-88953908', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-88953908'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 10:34:30,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dc7576b-9599-4d22-9455-e651e6ae4cff', 'name': '', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'network_id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'ip_version': 4, 'cidr': '222.244.133.0/26', 'allocation_pools': [{'start': '222.244.133.2', 'end': '222.244.133.62'}], 'gateway_ip': '222.244.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.244.133.2', 'tags': [], 'project_id': '641d6cd2a1fb4195978eaa0028f4f541'}} 2026-05-14 10:34:30,637 - INFO - Created VN ctest-vn-88953908 2026-05-14 10:34:30,691 - DEBUG - VN ctest-vn-88953908 UUID is b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:30,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098, 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-23872059:ctest-vn-88953908, 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] 2026-05-14 10:34:31,114 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'name': 'ctest-vn-89961098', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59db9356-9548-44de-8a2a-e7b747ee4809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-89961098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']], 'subnet_ipam': [{'subnet_cidr': '15.207.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 10:34:31,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'name': 'ctest-vn-88953908', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6dc7576b-9599-4d22-9455-e651e6ae4cff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-88953908'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']], 'subnet_ipam': [{'subnet_cidr': '222.244.133.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 10:34:31,527 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:34:31,832 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:34:31,868 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:34:31,881 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:34:31,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:31,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:31,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:34:31,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:34:32,003 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c65c3c51-f755-455d-9e44-2b6298f4eb5e 2026-05-14 10:34:32,011 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 10:34:32,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:32,023 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:34:32,038 - INFO - Verified VN network id 12 for VN 97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:32,038 - INFO - Verifications in API Server for VN ctest-vn-89961098 passed 2026-05-14 10:34:32,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:32,048 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:34:32,058 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:34:32,067 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c65c3c51-f755-455d-9e44-2b6298f4eb5e 2026-05-14 10:34:32,080 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23872059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10909197167079473196', 'uuid-lslong': '11744174706059226168'}, 'enable': 'true', 'created': '2026-05-14T10:34:29', 'last-modified': '2026-05-14T10:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994526'} 2026-05-14 10:34:32,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 10:34:32,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89961098 passed 2026-05-14 10:34:32,087 - DEBUG - ====Verifying policy data for ctest-vn-89961098 in API_Server ====== 2026-05-14 10:34:32,087 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:34:32,096 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:34:32,109 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:34:32,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38 2026-05-14 10:34:32,193 - DEBUG - ==>Verifying data for policy with id: 3ca152e5-5b93-4975-b2a8-aa342d10f8bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515'] 2026-05-14 10:34:32,193 - INFO - VN ctest-vn-89961098 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 10:34:32,193 - DEBUG - Verifying the vn in opserver 2026-05-14 10:34:32,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 virtual network link through opserver 10.0.0.50 2026-05-14 10:34:32,193 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 10:34:32,504 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 10:34:32,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098?flat'} 2026-05-14 10:34:32,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 is found in opserver 2026-05-14 10:34:32,591 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 10:34:32,597 - DEBUG - VRF ids for VN ctest-vn-89961098: {} 2026-05-14 10:34:32,597 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:34:32,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:34:32,615 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:34:32,691 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,703 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:34:32,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:34:32,730 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee789caa-decd-4dce-bcce-28bea43085fa 2026-05-14 10:34:32,737 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 10:34:32,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,747 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:34:32,762 - INFO - Verified VN network id 13 for VN b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,762 - INFO - Verifications in API Server for VN ctest-vn-88953908 passed 2026-05-14 10:34:32,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:34:32,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:34:32,789 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee789caa-decd-4dce-bcce-28bea43085fa 2026-05-14 10:34:32,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23872059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12949190740721421961', 'uuid-lslong': '10852932117975500332'}, 'enable': 'true', 'created': '2026-05-14T10:34:30', 'last-modified': '2026-05-14T10:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469423'} 2026-05-14 10:34:32,808 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 10:34:32,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88953908 passed 2026-05-14 10:34:32,808 - DEBUG - ====Verifying policy data for ctest-vn-88953908 in API_Server ====== 2026-05-14 10:34:32,808 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:34:32,814 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:34:32,825 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:34:32,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c 2026-05-14 10:34:32,910 - DEBUG - ==>Verifying data for policy with id: 3ca152e5-5b93-4975-b2a8-aa342d10f8bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515'] 2026-05-14 10:34:32,910 - INFO - VN ctest-vn-88953908 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 10:34:32,910 - DEBUG - Verifying the vn in opserver 2026-05-14 10:34:32,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908 virtual network link through opserver 10.0.0.50 2026-05-14 10:34:32,910 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 10:34:32,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908?flat'} 2026-05-14 10:34:32,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908 is found in opserver 2026-05-14 10:34:32,931 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 10:34:32,936 - DEBUG - VRF ids for VN ctest-vn-88953908: {} 2026-05-14 10:34:33,003 - DEBUG - Services list from nova: [, , ] 2026-05-14 10:34:34,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5782-1) 2026-05-14 10:34:35,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5782-1) 2026-05-14 10:34:35,670 - INFO - Waiting for VM ctest-TestBasicPolicy-23872059-22950479 to be up.. 2026-05-14 10:34:35,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 10:34:40,904 - DEBUG - VM is in ACTIVE state now 2026-05-14 10:34:40,905 - INFO - VM name : ctest-TestBasicPolicy-23872059-22950479 2026-05-14 10:34:41,016 - DEBUG - VM ctest-TestBasicPolicy-23872059-22950479 ID is 055bf310-c824-44a8-8357-c3357109b1d8 2026-05-14 10:34:41,040 - DEBUG - VM ctest-TestBasicPolicy-23872059-22950479 launched on Node cn-jenkins-deploy-platform-ansible-os-5782-1 2026-05-14 10:34:41,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/055bf310-c824-44a8-8357-c3357109b1d8 2026-05-14 10:34:41,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ee9c7b14-ea88-4e8d-8264-2f8b5a399568 2026-05-14 10:34:44,433 - 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') 2026-05-14 10:34:44,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23872059-22950479 failed! 2026-05-14 10:34:44,496 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 is 15.207.174.1 and allocation pool is NOT set 2026-05-14 10:34:48,568 - 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 1001ms') 2026-05-14 10:34:48,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23872059-22950479 failed! 2026-05-14 10:34:48,627 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 is 15.207.174.1 and allocation pool is NOT set 2026-05-14 10:34:50,699 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.691/4.353/6.015/1.662 ms') 2026-05-14 10:34:50,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23872059-22950479 passed 2026-05-14 10:34:50,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 10:34:50,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23872059-22950479, IP 15.207.174.3, Port 22 2026-05-14 10:34:51,034 - DEBUG - VM ctest-TestBasicPolicy-23872059-22950479 is ready for SSH connections 2026-05-14 10:34:51,034 - INFO - Waiting for VM ctest-TestBasicPolicy-23872059-73230632 to be up.. 2026-05-14 10:34:51,153 - DEBUG - VM is in ACTIVE state now 2026-05-14 10:34:51,153 - INFO - VM name : ctest-TestBasicPolicy-23872059-73230632 2026-05-14 10:34:51,302 - DEBUG - VM ctest-TestBasicPolicy-23872059-73230632 ID is 1351a229-0d2e-4986-8b16-9dd066833030 2026-05-14 10:34:51,302 - DEBUG - VM ctest-TestBasicPolicy-23872059-73230632 launched on Node cn-jenkins-deploy-platform-ansible-os-5782-1 2026-05-14 10:34:51,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1351a229-0d2e-4986-8b16-9dd066833030 2026-05-14 10:34:51,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/62472829-4e06-43ff-8e83-f30d593007c7 2026-05-14 10:34:52,732 - 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=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.957 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.957/2.719/4.481/1.762 ms') 2026-05-14 10:34:52,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23872059-73230632 passed 2026-05-14 10:34:52,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 10:34:52,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23872059-73230632, IP 222.244.133.3, Port 22 2026-05-14 10:34:53,074 - DEBUG - VM ctest-TestBasicPolicy-23872059-73230632 is ready for SSH connections 2026-05-14 10:34:53,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 10:34:53,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.244.133.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 10:34:53,075 - DEBUG - ping -s 56 -c 3 -W 1 222.244.133.3 2026-05-14 10:34:57,458 - DEBUG - PING 222.244.133.3 (222.244.133.3): 56 data bytes 64 bytes from 222.244.133.3: seq=0 ttl=63 time=4.836 ms 64 bytes from 222.244.133.3: seq=1 ttl=63 time=1.503 ms 64 bytes from 222.244.133.3: seq=2 ttl=63 time=1.596 ms --- 222.244.133.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.503/2.645/4.836 ms 2026-05-14 10:34:57,459 - INFO - Ping to IP 222.244.133.3 from VM ctest-TestBasicPolicy-23872059-22950479 passed 2026-05-14 10:34:57,659 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3ca152e5-5b93-4975-b2a8-aa342d10f8bd", "href": "http://10.0.0.50:8082/network-policy/3ca152e5-5b93-4975-b2a8-aa342d10f8bd"}} 2026-05-14 10:34:57,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 10:34:57,660 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.244.133.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 10:34:57,660 - DEBUG - ping -s 56 -c 3 -W 1 222.244.133.3 2026-05-14 10:35:00,984 - DEBUG - PING 222.244.133.3 (222.244.133.3): 56 data bytes --- 222.244.133.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-14 10:35:00,984 - WARNING - Ping to IP 222.244.133.3 from VM ctest-TestBasicPolicy-23872059-22950479 failed 2026-05-14 10:35:00,985 - INFO - Deleting VM ctest-TestBasicPolicy-23872059-73230632 2026-05-14 10:35:01,109 - INFO - Deleting VM ctest-TestBasicPolicy-23872059-22950479 2026-05-14 10:35:01,727 - INFO - Deleted policy ctest-policy-allow-all-87421515 2026-05-14 10:35:01,728 - INFO - Deleting VN ctest-vn-88953908 2026-05-14 10:35:01,788 - DEBUG - VN b3b4c45e-f57a-4e89-969d-5c428f5b862c still in use: Unable to complete operation on network b3b4c45e-f57a-4e89-969d-5c428f5b862c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0be3212-c930-44fb-90a8-340a8d5e132f'] 2026-05-14 10:35:01,788 - WARNING - Deleting VN ctest-vn-88953908 failed..Will retry 2026-05-14 10:35:03,939 - DEBUG - Response for deleting network () 2026-05-14 10:35:03,939 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9 2026-05-14 10:35:03,946 - DEBUG - Response Code: 404 2026-05-14 10:35:03,947 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:35:03,954 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:35:04,010 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:35:04,091 - INFO - Validated that VN ctest-vn-88953908 is not found in API Server 2026-05-14 10:35:04,103 - DEBUG - VN ctest-vn-88953908 is not present in Agent 10.0.0.50 2026-05-14 10:35:04,104 - INFO - Validated that VN ctest-vn-88953908 is not in any agent 2026-05-14 10:35:04,124 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88953908 info 2026-05-14 10:35:04,124 - INFO - Deleting VN ctest-vn-89961098 2026-05-14 10:35:04,248 - DEBUG - Response for deleting network () 2026-05-14 10:35:04,248 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36 2026-05-14 10:35:04,258 - DEBUG - Response Code: 404 2026-05-14 10:35:04,258 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 10:35:04,264 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a 2026-05-14 10:35:04,321 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541 2026-05-14 10:35:04,403 - INFO - Validated that VN ctest-vn-89961098 is not found in API Server 2026-05-14 10:35:04,415 - DEBUG - VN ctest-vn-89961098 is not present in Agent 10.0.0.50 2026-05-14 10:35:04,415 - INFO - Validated that VN ctest-vn-89961098 is not in any agent 2026-05-14 10:35:04,434 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89961098 info 2026-05-14 10:35:04,711 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 10:35:04,712 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-05-14 10:35:04,712 - INFO - -------------------------------------------------------------------------------- 2026-05-14 10:35:05,441 - INFO - Deleted project: ctest-TestBasicPolicy-23872059, ID : 641d6cd2-a1fb-4195-978e-aa0028f4f541