2025-09-11 16:58:02,220 - INFO - Domain Default found not creating 2025-09-11 16:58:02,382 - INFO - Project ctest-TestBasicPolicy-50502384 not found, creating it 2025-09-11 16:58:02,835 - INFO - Created Project:ctest-TestBasicPolicy-50502384, ID : cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:04,219 - INFO - ================================================================================ 2025-09-11 16:58:04,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 16:58:04,219 - 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-09-11 16:58:04,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-11 16:58:04,472 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:58:04,472 - INFO - 2025-09-11 16:58:05,006 - DEBUG - Response for create_network : {'network': {'id': 'd2d193aa-9b8b-4f5b-b1cc-b98d36c2238c', 'name': 'ctest-vn-39909885', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-vn-39909885'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:58:05,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '94217bcd-2ce3-4eb1-8461-f6d129c0771f', 'name': '', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'network_id': 'd2d193aa-9b8b-4f5b-b1cc-b98d36c2238c', 'ip_version': 4, 'cidr': '105.106.6.192/26', 'allocation_pools': [{'start': '105.106.6.194', 'end': '105.106.6.254'}], 'gateway_ip': '105.106.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.106.6.194', 'tags': [], 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21'}} 2025-09-11 16:58:05,193 - INFO - Created VN ctest-vn-39909885 2025-09-11 16:58:05,247 - DEBUG - VN ctest-vn-39909885 UUID is d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:05,533 - DEBUG - Response for create_network : {'network': {'id': 'e1357cec-e034-4126-b95b-5ed36cfc64ac', 'name': 'ctest-vn-89130083', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-vn-89130083'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:58:05,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd0cfce9-021d-4587-aae1-c307861cfea4', 'name': '', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'network_id': 'e1357cec-e034-4126-b95b-5ed36cfc64ac', 'ip_version': 4, 'cidr': '26.85.231.64/26', 'allocation_pools': [{'start': '26.85.231.66', 'end': '26.85.231.126'}], 'gateway_ip': '26.85.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.85.231.66', 'tags': [], 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21'}} 2025-09-11 16:58:05,745 - INFO - Created VN ctest-vn-89130083 2025-09-11 16:58:05,799 - DEBUG - VN ctest-vn-89130083 UUID is e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:05,910 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885, 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-50502384:ctest-vn-89130083, 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-09-11 16:58:06,196 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2d193aa-9b8b-4f5b-b1cc-b98d36c2238c', 'name': 'ctest-vn-39909885', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94217bcd-2ce3-4eb1-8461-f6d129c0771f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-vn-39909885'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-policy-allow-all-96143841']], 'subnet_ipam': [{'subnet_cidr': '105.106.6.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:58:06,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1357cec-e034-4126-b95b-5ed36cfc64ac', 'name': 'ctest-vn-89130083', 'tenant_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'project_id': 'cb166ccbcb994603ab17a0ff84d76f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd0cfce9-021d-4587-aae1-c307861cfea4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-vn-89130083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-policy-allow-all-96143841']], 'subnet_ipam': [{'subnet_cidr': '26.85.231.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:58:06,603 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:06,890 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:06,917 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:06,928 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:06,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,016 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:07,023 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:07,031 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7df7f90-d8ce-45ed-9ac8-0e53a2ca0ed0 2025-09-11 16:58:07,037 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 16:58:07,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,047 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:07,063 - INFO - Verified VN network id 12 for VN d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,063 - INFO - Verifications in API Server for VN ctest-vn-39909885 passed 2025-09-11 16:58:07,063 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,073 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:07,080 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:07,089 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7df7f90-d8ce-45ed-9ac8-0e53a2ca0ed0 2025-09-11 16:58:07,101 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50502384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15191085379060715355', 'uuid-lslong': '12811819056122438540'}, 'enable': 'true', 'created': '2025-09-11T16:58:04', 'last-modified': '2025-09-11T16:58:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936786'} 2025-09-11 16:58:07,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 16:58:07,107 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39909885 passed 2025-09-11 16:58:07,107 - DEBUG - ====Verifying policy data for ctest-vn-39909885 in API_Server ====== 2025-09-11 16:58:07,107 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:07,113 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:07,125 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:07,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d193aa-9b8b-4f5b-b1cc-b98d36c2238c 2025-09-11 16:58:07,203 - DEBUG - ==>Verifying data for policy with id: 548a7428-feca-4f77-9b39-8dcaefec6ab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-policy-allow-all-96143841'] 2025-09-11 16:58:07,203 - INFO - VN ctest-vn-39909885 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 16:58:07,203 - DEBUG - Verifying the vn in opserver 2025-09-11 16:58:07,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885 virtual network link through opserver 10.0.0.50 2025-09-11 16:58:07,204 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 16:58:07,495 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 16:58:07,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885?flat'} 2025-09-11 16:58:07,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885 is found in opserver 2025-09-11 16:58:07,556 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 16:58:07,560 - DEBUG - VRF ids for VN ctest-vn-39909885: {} 2025-09-11 16:58:07,560 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:07,565 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:07,575 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:07,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,655 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,665 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:07,672 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:07,680 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e05c2fc0-3ec8-450c-af94-b1f482c2ab4c 2025-09-11 16:58:07,687 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 16:58:07,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,696 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:07,710 - INFO - Verified VN network id 13 for VN e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,710 - INFO - Verifications in API Server for VN ctest-vn-89130083 passed 2025-09-11 16:58:07,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,719 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:07,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:07,730 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e05c2fc0-3ec8-450c-af94-b1f482c2ab4c 2025-09-11 16:58:07,741 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-89130083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50502384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16228014189115097382', 'uuid-lslong': '13356373382056928428'}, 'enable': 'true', 'created': '2025-09-11T16:58:05', 'last-modified': '2025-09-11T16:58:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338995'} 2025-09-11 16:58:07,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 16:58:07,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89130083 passed 2025-09-11 16:58:07,748 - DEBUG - ====Verifying policy data for ctest-vn-89130083 in API_Server ====== 2025-09-11 16:58:07,748 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:07,753 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:07,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:07,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e1357cec-e034-4126-b95b-5ed36cfc64ac 2025-09-11 16:58:07,843 - DEBUG - ==>Verifying data for policy with id: 548a7428-feca-4f77-9b39-8dcaefec6ab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-50502384', 'ctest-policy-allow-all-96143841'] 2025-09-11 16:58:07,843 - INFO - VN ctest-vn-89130083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 16:58:07,843 - DEBUG - Verifying the vn in opserver 2025-09-11 16:58:07,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-89130083 virtual network link through opserver 10.0.0.50 2025-09-11 16:58:07,843 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 16:58:07,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-89130083', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-89130083?flat'} 2025-09-11 16:58:07,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-89130083 is found in opserver 2025-09-11 16:58:07,860 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 16:58:07,864 - DEBUG - VRF ids for VN ctest-vn-89130083: {} 2025-09-11 16:58:07,925 - DEBUG - Services list from nova: [, , ] 2025-09-11 16:58:08,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:58:09,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:58:09,978 - INFO - Waiting for VM ctest-TestBasicPolicy-50502384-14738185 to be up.. 2025-09-11 16:58:10,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 16:58:15,157 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:58:15,157 - INFO - VM name : ctest-TestBasicPolicy-50502384-14738185 2025-09-11 16:58:15,236 - DEBUG - VM ctest-TestBasicPolicy-50502384-14738185 ID is f1fc0692-6b8d-4c03-a9b3-dc216517c23c 2025-09-11 16:58:15,258 - DEBUG - VM ctest-TestBasicPolicy-50502384-14738185 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:58:15,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f1fc0692-6b8d-4c03-a9b3-dc216517c23c 2025-09-11 16:58:15,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/456ff12d-9aa2-44da-a0e4-083a17003f19 2025-09-11 16:58:18,588 - 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 1019ms') 2025-09-11 16:58:18,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50502384-14738185 failed! 2025-09-11 16:58:18,643 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50502384:ctest-vn-39909885 is 105.106.6.193 and allocation pool is NOT set 2025-09-11 16:58:20,704 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/3.723/6.978/3.255 ms') 2025-09-11 16:58:20,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50502384-14738185 passed 2025-09-11 16:58:20,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:58:20,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50502384-14738185, IP 105.106.6.195, Port 22 2025-09-11 16:58:21,006 - DEBUG - VM ctest-TestBasicPolicy-50502384-14738185 is ready for SSH connections 2025-09-11 16:58:21,006 - INFO - Waiting for VM ctest-TestBasicPolicy-50502384-74347925 to be up.. 2025-09-11 16:58:21,085 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:58:21,085 - INFO - VM name : ctest-TestBasicPolicy-50502384-74347925 2025-09-11 16:58:21,160 - DEBUG - VM ctest-TestBasicPolicy-50502384-74347925 ID is 152ee6e3-a1a6-4579-9ad8-e427d46eba12 2025-09-11 16:58:21,160 - DEBUG - VM ctest-TestBasicPolicy-50502384-74347925 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:58:21,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/152ee6e3-a1a6-4579-9ad8-e427d46eba12 2025-09-11 16:58:21,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4387bf8c-2963-486d-9b10-a9d6276657bc 2025-09-11 16:58:22,473 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.780/2.990/4.200/1.210 ms') 2025-09-11 16:58:22,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50502384-74347925 passed 2025-09-11 16:58:22,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:58:22,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50502384-74347925, IP 26.85.231.67, Port 22 2025-09-11 16:58:22,774 - DEBUG - VM ctest-TestBasicPolicy-50502384-74347925 is ready for SSH connections 2025-09-11 16:58:22,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:58:22,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.85.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 16:58:22,775 - DEBUG - ping -s 56 -c 3 -W 1 26.85.231.67 2025-09-11 16:58:26,487 - DEBUG - PING 26.85.231.67 (26.85.231.67): 56 data bytes 64 bytes from 26.85.231.67: seq=0 ttl=63 time=3.294 ms 64 bytes from 26.85.231.67: seq=1 ttl=63 time=0.757 ms 64 bytes from 26.85.231.67: seq=2 ttl=63 time=0.781 ms --- 26.85.231.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.610/3.294 ms 2025-09-11 16:58:26,487 - INFO - Ping to IP 26.85.231.67 from VM ctest-TestBasicPolicy-50502384-14738185 passed 2025-09-11 16:58:26,662 - DEBUG - Policy Update Response {"network-policy": {"uuid": "548a7428-feca-4f77-9b39-8dcaefec6ab9", "href": "http://10.0.0.50:8082/network-policy/548a7428-feca-4f77-9b39-8dcaefec6ab9"}} 2025-09-11 16:58:26,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:58:26,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.85.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 16:58:26,663 - DEBUG - ping -s 56 -c 3 -W 1 26.85.231.67 2025-09-11 16:58:29,864 - DEBUG - PING 26.85.231.67 (26.85.231.67): 56 data bytes --- 26.85.231.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 16:58:29,865 - WARNING - Ping to IP 26.85.231.67 from VM ctest-TestBasicPolicy-50502384-14738185 failed 2025-09-11 16:58:29,865 - INFO - Deleting VM ctest-TestBasicPolicy-50502384-74347925 2025-09-11 16:58:29,926 - INFO - Deleting VM ctest-TestBasicPolicy-50502384-14738185 2025-09-11 16:58:30,297 - INFO - Deleted policy ctest-policy-allow-all-96143841 2025-09-11 16:58:30,297 - INFO - Deleting VN ctest-vn-89130083 2025-09-11 16:58:30,328 - DEBUG - VN e1357cec-e034-4126-b95b-5ed36cfc64ac still in use: Unable to complete operation on network e1357cec-e034-4126-b95b-5ed36cfc64ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f858e26-1ba6-4077-ac1e-b06c22ffc91d'] 2025-09-11 16:58:30,328 - WARNING - Deleting VN ctest-vn-89130083 failed..Will retry 2025-09-11 16:58:32,432 - DEBUG - Response for deleting network () 2025-09-11 16:58:32,432 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52153d31-ad28-452e-a923-47a60bf0583b 2025-09-11 16:58:32,440 - DEBUG - Response Code: 404 2025-09-11 16:58:32,440 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:32,446 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:32,501 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:32,572 - INFO - Validated that VN ctest-vn-89130083 is not found in API Server 2025-09-11 16:58:32,583 - DEBUG - VN ctest-vn-89130083 is not present in Agent 10.0.0.50 2025-09-11 16:58:32,583 - INFO - Validated that VN ctest-vn-89130083 is not in any agent 2025-09-11 16:58:32,598 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89130083 info 2025-09-11 16:58:32,598 - INFO - Deleting VN ctest-vn-39909885 2025-09-11 16:58:32,698 - DEBUG - Response for deleting network () 2025-09-11 16:58:32,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08771576-65ed-4d47-9625-2c5ea3f6bc57 2025-09-11 16:58:32,704 - DEBUG - Response Code: 404 2025-09-11 16:58:32,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 16:58:32,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/60104877-ff97-4f4a-96f2-783b5fd6e12b 2025-09-11 16:58:32,763 - DEBUG - Requesting: http://10.0.0.50:8082/project/cb166ccb-cb99-4603-ab17-a0ff84d76f21 2025-09-11 16:58:32,830 - INFO - Validated that VN ctest-vn-39909885 is not found in API Server 2025-09-11 16:58:32,839 - DEBUG - VN ctest-vn-39909885 is not present in Agent 10.0.0.50 2025-09-11 16:58:32,839 - INFO - Validated that VN ctest-vn-39909885 is not in any agent 2025-09-11 16:58:32,854 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39909885 info 2025-09-11 16:58:33,111 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:58:33,111 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-11 16:58:33,111 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:58:33,783 - INFO - Deleted project: ctest-TestBasicPolicy-50502384, ID : cb166ccb-cb99-4603-ab17-a0ff84d76f21