2026-06-15 12:42:49,226 - INFO - Domain Default found not creating 2026-06-15 12:42:49,370 - INFO - Project ctest-TestBasicPolicy-22873727 not found, creating it 2026-06-15 12:42:49,797 - INFO - Created Project:ctest-TestBasicPolicy-22873727, ID : 607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:42:51,253 - INFO - ================================================================================ 2026-06-15 12:42:51,253 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 12:42:51,253 - 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-06-15 12:42:51,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-06-15 12:42:51,532 - INFO - Initial checks done. Running the testcase now 2026-06-15 12:42:51,532 - INFO - 2026-06-15 12:42:52,103 - DEBUG - Response for create_network : {'network': {'id': 'abbc4c02-0e48-423b-be9e-b84d9e383a22', 'name': 'ctest-vn-84337690', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'project_id': '607a0c4563bc483983f956bb12be39d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-vn-84337690'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:52,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc4ec7db-de51-4212-97a0-9bb8f40508be', 'name': '', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'network_id': 'abbc4c02-0e48-423b-be9e-b84d9e383a22', 'ip_version': 4, 'cidr': '171.201.0.128/26', 'allocation_pools': [{'start': '171.201.0.130', 'end': '171.201.0.190'}], 'gateway_ip': '171.201.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.201.0.130', 'tags': [], 'project_id': '607a0c4563bc483983f956bb12be39d6'}} 2026-06-15 12:42:52,295 - INFO - Created VN ctest-vn-84337690 2026-06-15 12:42:52,351 - DEBUG - VN ctest-vn-84337690 UUID is abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:52,656 - DEBUG - Response for create_network : {'network': {'id': 'ab97157d-af80-43cc-bbea-55aada4a278f', 'name': 'ctest-vn-24593156', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'project_id': '607a0c4563bc483983f956bb12be39d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-vn-24593156'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:52,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c0a5c3f-40a9-49f2-aa20-463e2a2522af', 'name': '', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'network_id': 'ab97157d-af80-43cc-bbea-55aada4a278f', 'ip_version': 4, 'cidr': '35.173.10.64/26', 'allocation_pools': [{'start': '35.173.10.66', 'end': '35.173.10.126'}], 'gateway_ip': '35.173.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.173.10.66', 'tags': [], 'project_id': '607a0c4563bc483983f956bb12be39d6'}} 2026-06-15 12:42:52,826 - INFO - Created VN ctest-vn-24593156 2026-06-15 12:42:52,875 - DEBUG - VN ctest-vn-24593156 UUID is ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:53,015 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690, 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-22873727:ctest-vn-24593156, 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-06-15 12:42:53,309 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abbc4c02-0e48-423b-be9e-b84d9e383a22', 'name': 'ctest-vn-84337690', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'project_id': '607a0c4563bc483983f956bb12be39d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc4ec7db-de51-4212-97a0-9bb8f40508be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-vn-84337690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-policy-allow-all-52163346']], 'subnet_ipam': [{'subnet_cidr': '171.201.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:53,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab97157d-af80-43cc-bbea-55aada4a278f', 'name': 'ctest-vn-24593156', 'tenant_id': '607a0c4563bc483983f956bb12be39d6', 'project_id': '607a0c4563bc483983f956bb12be39d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c0a5c3f-40a9-49f2-aa20-463e2a2522af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-vn-24593156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-policy-allow-all-52163346']], 'subnet_ipam': [{'subnet_cidr': '35.173.10.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:53,699 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:42:54,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:42:54,045 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:42:54,055 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:42:54,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,141 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:42:54,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:42:54,152 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8b0536eb-a35e-451f-8dca-4a2e8d5c799b 2026-06-15 12:42:54,156 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 12:42:54,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:42:54,174 - INFO - Verified VN network id 12 for VN abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,174 - INFO - Verifications in API Server for VN ctest-vn-84337690 passed 2026-06-15 12:42:54,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:42:54,186 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:42:54,191 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8b0536eb-a35e-451f-8dca-4a2e8d5c799b 2026-06-15 12:42:54,200 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22873727', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12374849447820542523', 'uuid-lslong': '13735618557033069090'}, 'enable': 'true', 'created': '2026-06-15T12:42:52', 'last-modified': '2026-06-15T12:42:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912921'} 2026-06-15 12:42:54,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 12:42:54,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84337690 passed 2026-06-15 12:42:54,205 - DEBUG - ====Verifying policy data for ctest-vn-84337690 in API_Server ====== 2026-06-15 12:42:54,205 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:42:54,209 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:42:54,218 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:42:54,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abbc4c02-0e48-423b-be9e-b84d9e383a22 2026-06-15 12:42:54,298 - DEBUG - ==>Verifying data for policy with id: d8fc3528-2b48-464e-8d90-04a46b04641e, fqn: ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-policy-allow-all-52163346'] 2026-06-15 12:42:54,298 - INFO - VN ctest-vn-84337690 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 12:42:54,298 - DEBUG - Verifying the vn in opserver 2026-06-15 12:42:54,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690 virtual network link through opserver 10.0.0.38 2026-06-15 12:42:54,298 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-15 12:42:54,612 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-15 12:42:54,964 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690?flat'} 2026-06-15 12:42:54,964 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690 is found in opserver 2026-06-15 12:42:54,972 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 12:42:54,976 - DEBUG - VRF ids for VN ctest-vn-84337690: {} 2026-06-15 12:42:54,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:42:54,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:42:54,990 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:42:55,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:42:55,087 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:42:55,093 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4dff453e-9506-490d-9495-7a89962a4b74 2026-06-15 12:42:55,099 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 12:42:55,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:42:55,122 - INFO - Verified VN network id 13 for VN ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,123 - INFO - Verifications in API Server for VN ctest-vn-24593156 passed 2026-06-15 12:42:55,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:42:55,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:42:55,146 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4dff453e-9506-490d-9495-7a89962a4b74 2026-06-15 12:42:55,156 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-24593156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22873727', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12364374931528500172', 'uuid-lslong': '13540729421937911695'}, 'enable': 'true', 'created': '2026-06-15T12:42:52', 'last-modified': '2026-06-15T12:42:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.633672'} 2026-06-15 12:42:55,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 12:42:55,161 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24593156 passed 2026-06-15 12:42:55,161 - DEBUG - ====Verifying policy data for ctest-vn-24593156 in API_Server ====== 2026-06-15 12:42:55,161 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:42:55,166 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:42:55,178 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:42:55,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab97157d-af80-43cc-bbea-55aada4a278f 2026-06-15 12:42:55,252 - DEBUG - ==>Verifying data for policy with id: d8fc3528-2b48-464e-8d90-04a46b04641e, fqn: ['default-domain', 'ctest-TestBasicPolicy-22873727', 'ctest-policy-allow-all-52163346'] 2026-06-15 12:42:55,253 - INFO - VN ctest-vn-24593156 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 12:42:55,253 - DEBUG - Verifying the vn in opserver 2026-06-15 12:42:55,253 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-24593156 virtual network link through opserver 10.0.0.38 2026-06-15 12:42:55,253 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-15 12:42:55,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-24593156', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-24593156?flat'} 2026-06-15 12:42:55,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-24593156 is found in opserver 2026-06-15 12:42:55,270 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 12:42:55,274 - DEBUG - VRF ids for VN ctest-vn-24593156: {} 2026-06-15 12:42:55,324 - DEBUG - Services list from nova: [, , ] 2026-06-15 12:42:56,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5944-1) 2026-06-15 12:42:57,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5944-1) 2026-06-15 12:42:57,379 - INFO - Waiting for VM ctest-TestBasicPolicy-22873727-62482676 to be up.. 2026-06-15 12:42:57,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:43:02,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:43:07,583 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:43:07,583 - INFO - VM name : ctest-TestBasicPolicy-22873727-62482676 2026-06-15 12:43:07,668 - DEBUG - VM ctest-TestBasicPolicy-22873727-62482676 ID is 787182a1-9262-4f81-a1b8-2b9fe10d2c6b 2026-06-15 12:43:07,688 - DEBUG - VM ctest-TestBasicPolicy-22873727-62482676 launched on Node cn-jenkins-deploy-platform-ansible-os-5944-1 2026-06-15 12:43:07,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/787182a1-9262-4f81-a1b8-2b9fe10d2c6b 2026-06-15 12:43:07,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bad95843-b9c6-45ba-9a51-f72620bed8e2 2026-06-15 12:43:11,031 - 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 1026ms') 2026-06-15 12:43:11,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22873727-62482676 failed! 2026-06-15 12:43:11,091 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22873727:ctest-vn-84337690 is 171.201.0.129 and allocation pool is NOT set 2026-06-15 12:43:13,152 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/5.392/10.374/4.981 ms') 2026-06-15 12:43:13,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22873727-62482676 passed 2026-06-15 12:43:13,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:43:13,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22873727-62482676, IP 171.201.0.131, Port 22 2026-06-15 12:43:13,464 - DEBUG - VM ctest-TestBasicPolicy-22873727-62482676 is ready for SSH connections 2026-06-15 12:43:13,464 - INFO - Waiting for VM ctest-TestBasicPolicy-22873727-47609728 to be up.. 2026-06-15 12:43:13,530 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:43:13,530 - INFO - VM name : ctest-TestBasicPolicy-22873727-47609728 2026-06-15 12:43:13,607 - DEBUG - VM ctest-TestBasicPolicy-22873727-47609728 ID is 1890599b-ef8d-4a22-89c5-e2efdb8dda8a 2026-06-15 12:43:13,607 - DEBUG - VM ctest-TestBasicPolicy-22873727-47609728 launched on Node cn-jenkins-deploy-platform-ansible-os-5944-1 2026-06-15 12:43:13,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1890599b-ef8d-4a22-89c5-e2efdb8dda8a 2026-06-15 12:43:13,684 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d39f5871-cd2d-4a76-95e7-d39ad6856489 2026-06-15 12:43:14,912 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/1.761/2.983/1.221 ms') 2026-06-15 12:43:14,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22873727-47609728 passed 2026-06-15 12:43:15,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:43:15,063 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22873727-47609728, IP 35.173.10.67, Port 22 2026-06-15 12:43:15,219 - DEBUG - VM ctest-TestBasicPolicy-22873727-47609728 is ready for SSH connections 2026-06-15 12:43:15,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:43:15,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.173.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-15 12:43:15,219 - DEBUG - ping -s 56 -c 3 -W 1 35.173.10.67 2026-06-15 12:43:19,107 - DEBUG - PING 35.173.10.67 (35.173.10.67): 56 data bytes 64 bytes from 35.173.10.67: seq=0 ttl=63 time=3.886 ms 64 bytes from 35.173.10.67: seq=1 ttl=63 time=0.864 ms 64 bytes from 35.173.10.67: seq=2 ttl=63 time=0.864 ms --- 35.173.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.871/3.886 ms 2026-06-15 12:43:19,107 - INFO - Ping to IP 35.173.10.67 from VM ctest-TestBasicPolicy-22873727-62482676 passed 2026-06-15 12:43:19,279 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d8fc3528-2b48-464e-8d90-04a46b04641e", "href": "http://10.0.0.38:8082/network-policy/d8fc3528-2b48-464e-8d90-04a46b04641e"}} 2026-06-15 12:43:19,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:43:19,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.173.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-15 12:43:19,279 - DEBUG - ping -s 56 -c 3 -W 1 35.173.10.67 2026-06-15 12:43:22,400 - DEBUG - PING 35.173.10.67 (35.173.10.67): 56 data bytes --- 35.173.10.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 12:43:22,400 - WARNING - Ping to IP 35.173.10.67 from VM ctest-TestBasicPolicy-22873727-62482676 failed 2026-06-15 12:43:22,401 - INFO - Deleting VM ctest-TestBasicPolicy-22873727-47609728 2026-06-15 12:43:22,473 - INFO - Deleting VM ctest-TestBasicPolicy-22873727-62482676 2026-06-15 12:43:22,850 - INFO - Deleted policy ctest-policy-allow-all-52163346 2026-06-15 12:43:22,850 - INFO - Deleting VN ctest-vn-24593156 2026-06-15 12:43:22,881 - DEBUG - VN ab97157d-af80-43cc-bbea-55aada4a278f still in use: Unable to complete operation on network ab97157d-af80-43cc-bbea-55aada4a278f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a66f462-cd7a-435e-9000-cb28e369f8cd'] 2026-06-15 12:43:22,881 - WARNING - Deleting VN ctest-vn-24593156 failed..Will retry 2026-06-15 12:43:24,967 - DEBUG - Response for deleting network () 2026-06-15 12:43:24,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31cd521e-5241-4551-a62c-55d688fdcc43 2026-06-15 12:43:24,972 - DEBUG - Response Code: 404 2026-06-15 12:43:24,972 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:43:24,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:43:25,028 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:43:25,095 - INFO - Validated that VN ctest-vn-24593156 is not found in API Server 2026-06-15 12:43:25,103 - DEBUG - VN ctest-vn-24593156 is not present in Agent 10.0.0.38 2026-06-15 12:43:25,103 - INFO - Validated that VN ctest-vn-24593156 is not in any agent 2026-06-15 12:43:25,115 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24593156 info 2026-06-15 12:43:25,115 - INFO - Deleting VN ctest-vn-84337690 2026-06-15 12:43:25,198 - DEBUG - Response for deleting network () 2026-06-15 12:43:25,198 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc820a86-980b-4fed-b31f-9a43cce0b189 2026-06-15 12:43:25,205 - DEBUG - Response Code: 404 2026-06-15 12:43:25,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-15 12:43:25,210 - DEBUG - Requesting: http://10.0.0.38:8082/domain/36dcb4fc-0d2b-4d81-9fd0-98a450c78c4a 2026-06-15 12:43:25,260 - DEBUG - Requesting: http://10.0.0.38:8082/project/607a0c45-63bc-4839-83f9-56bb12be39d6 2026-06-15 12:43:25,330 - INFO - Validated that VN ctest-vn-84337690 is not found in API Server 2026-06-15 12:43:25,338 - DEBUG - VN ctest-vn-84337690 is not present in Agent 10.0.0.38 2026-06-15 12:43:25,338 - INFO - Validated that VN ctest-vn-84337690 is not in any agent 2026-06-15 12:43:25,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84337690 info 2026-06-15 12:43:25,604 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 12:43:25,604 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-15 12:43:25,604 - INFO - -------------------------------------------------------------------------------- 2026-06-15 12:43:26,292 - INFO - Deleted project: ctest-TestBasicPolicy-22873727, ID : 607a0c45-63bc-4839-83f9-56bb12be39d6