2025-10-09 18:48:42,814 - INFO - Domain Default found not creating 2025-10-09 18:48:42,951 - INFO - Project ctest-TestBasicPolicy-01089793 not found, creating it 2025-10-09 18:48:43,395 - INFO - Created Project:ctest-TestBasicPolicy-01089793, ID : ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:48:44,736 - INFO - ================================================================================ 2025-10-09 18:48:44,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 18:48:44,736 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-09 18:48:44,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 18:48:44,990 - INFO - Initial checks done. Running the testcase now 2025-10-09 18:48:44,990 - INFO - 2025-10-09 18:48:45,507 - DEBUG - Response for create_network : {'network': {'id': '9da9b603-2cef-43f7-8735-d557ea0b8dec', 'name': 'ctest-vn-25740816', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-vn-25740816'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:48:45,708 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1692538-2388-4fbe-a5bd-521db47c157d', 'name': '', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'network_id': '9da9b603-2cef-43f7-8735-d557ea0b8dec', 'ip_version': 4, 'cidr': '62.115.209.64/26', 'allocation_pools': [{'start': '62.115.209.66', 'end': '62.115.209.126'}], 'gateway_ip': '62.115.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.115.209.66', 'tags': [], 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9'}} 2025-10-09 18:48:45,727 - INFO - Created VN ctest-vn-25740816 2025-10-09 18:48:45,781 - DEBUG - VN ctest-vn-25740816 UUID is 9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:46,071 - DEBUG - Response for create_network : {'network': {'id': 'ab33847a-5fd4-47bc-8285-0ebc7fd53037', 'name': 'ctest-vn-42977271', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-vn-42977271'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:48:46,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8fc6d9d-5477-4971-b8fb-4b67c386f1a1', 'name': '', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'network_id': 'ab33847a-5fd4-47bc-8285-0ebc7fd53037', 'ip_version': 4, 'cidr': '187.221.47.192/26', 'allocation_pools': [{'start': '187.221.47.194', 'end': '187.221.47.254'}], 'gateway_ip': '187.221.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.221.47.194', 'tags': [], 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9'}} 2025-10-09 18:48:46,294 - INFO - Created VN ctest-vn-42977271 2025-10-09 18:48:46,345 - DEBUG - VN ctest-vn-42977271 UUID is ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:46,489 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816, 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-01089793:ctest-vn-42977271, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-09 18:48:46,767 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9da9b603-2cef-43f7-8735-d557ea0b8dec', 'name': 'ctest-vn-25740816', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1692538-2388-4fbe-a5bd-521db47c157d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-vn-25740816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-policy-allow-all-51002828']], 'subnet_ipam': [{'subnet_cidr': '62.115.209.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:48:46,999 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab33847a-5fd4-47bc-8285-0ebc7fd53037', 'name': 'ctest-vn-42977271', 'tenant_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'project_id': 'ce8392aa53ea4cceaf2e837e05e173a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8fc6d9d-5477-4971-b8fb-4b67c386f1a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-vn-42977271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-policy-allow-all-51002828']], 'subnet_ipam': [{'subnet_cidr': '187.221.47.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:48:47,157 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:48:47,456 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:48:47,481 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:48:47,492 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:48:47,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,573 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,580 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:48:47,587 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:48:47,592 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea0faa35-f6ce-451d-bb04-365b839bbb2d 2025-10-09 18:48:47,598 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 18:48:47,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,607 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:48:47,623 - INFO - Verified VN network id 12 for VN 9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,623 - INFO - Verifications in API Server for VN ctest-vn-25740816 passed 2025-10-09 18:48:47,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,631 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:48:47,637 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:48:47,644 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea0faa35-f6ce-451d-bb04-365b839bbb2d 2025-10-09 18:48:47,655 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01089793', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11360811659773821943', 'uuid-lslong': '9742927942451432940'}, 'enable': 'true', 'created': '2025-10-09T18:48:45', 'last-modified': '2025-10-09T18:48:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907979'} 2025-10-09 18:48:47,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 18:48:47,661 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25740816 passed 2025-10-09 18:48:47,661 - DEBUG - ====Verifying policy data for ctest-vn-25740816 in API_Server ====== 2025-10-09 18:48:47,661 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:48:47,666 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:48:47,676 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:48:47,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da9b603-2cef-43f7-8735-d557ea0b8dec 2025-10-09 18:48:47,750 - DEBUG - ==>Verifying data for policy with id: c41ea22b-d264-4135-8cb9-15b649597355, fqn: ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-policy-allow-all-51002828'] 2025-10-09 18:48:47,750 - INFO - VN ctest-vn-25740816 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 18:48:47,750 - DEBUG - Verifying the vn in opserver 2025-10-09 18:48:47,750 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816 virtual network link through opserver 10.0.0.50 2025-10-09 18:48:47,750 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 18:48:48,039 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 18:48:48,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816?flat'} 2025-10-09 18:48:48,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816 is found in opserver 2025-10-09 18:48:48,097 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 18:48:48,101 - DEBUG - VRF ids for VN ctest-vn-25740816: {} 2025-10-09 18:48:48,101 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:48:48,106 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:48:48,117 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:48:48,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:48:48,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:48:48,217 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b97edd7-cc1f-4510-ad5b-b7e5154367e1 2025-10-09 18:48:48,223 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 18:48:48,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:48:48,242 - INFO - Verified VN network id 13 for VN ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,242 - INFO - Verifications in API Server for VN ctest-vn-42977271 passed 2025-10-09 18:48:48,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,250 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:48:48,256 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:48:48,262 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b97edd7-cc1f-4510-ad5b-b7e5154367e1 2025-10-09 18:48:48,271 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-42977271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01089793', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12336349465426544572', 'uuid-lslong': '9404939599594467383'}, 'enable': 'true', 'created': '2025-10-09T18:48:46', 'last-modified': '2025-10-09T18:48:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.294471'} 2025-10-09 18:48:48,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 18:48:48,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42977271 passed 2025-10-09 18:48:48,277 - DEBUG - ====Verifying policy data for ctest-vn-42977271 in API_Server ====== 2025-10-09 18:48:48,277 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:48:48,283 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:48:48,292 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:48:48,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab33847a-5fd4-47bc-8285-0ebc7fd53037 2025-10-09 18:48:48,366 - DEBUG - ==>Verifying data for policy with id: c41ea22b-d264-4135-8cb9-15b649597355, fqn: ['default-domain', 'ctest-TestBasicPolicy-01089793', 'ctest-policy-allow-all-51002828'] 2025-10-09 18:48:48,366 - INFO - VN ctest-vn-42977271 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 18:48:48,366 - DEBUG - Verifying the vn in opserver 2025-10-09 18:48:48,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-42977271 virtual network link through opserver 10.0.0.50 2025-10-09 18:48:48,366 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 18:48:48,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-42977271', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-42977271?flat'} 2025-10-09 18:48:48,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-42977271 is found in opserver 2025-10-09 18:48:48,384 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 18:48:48,389 - DEBUG - VRF ids for VN ctest-vn-42977271: {} 2025-10-09 18:48:48,439 - DEBUG - Services list from nova: [, , ] 2025-10-09 18:48:49,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:48:50,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:48:50,492 - INFO - Waiting for VM ctest-TestBasicPolicy-01089793-24936811 to be up.. 2025-10-09 18:48:50,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 18:48:55,637 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:48:55,638 - INFO - VM name : ctest-TestBasicPolicy-01089793-24936811 2025-10-09 18:48:55,706 - DEBUG - VM ctest-TestBasicPolicy-01089793-24936811 ID is 461dd20e-61b3-4240-9fc1-12de84e302f0 2025-10-09 18:48:55,726 - DEBUG - VM ctest-TestBasicPolicy-01089793-24936811 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:48:55,791 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/461dd20e-61b3-4240-9fc1-12de84e302f0 2025-10-09 18:48:55,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/44717a22-db41-4572-ba8d-ed69827354c3 2025-10-09 18:48:59,044 - 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-10-09 18:48:59,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01089793-24936811 failed! 2025-10-09 18:48:59,097 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01089793:ctest-vn-25740816 is 62.115.209.65 and allocation pool is NOT set 2025-10-09 18:49:01,156 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/2.748/5.065/2.316 ms') 2025-10-09 18:49:01,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01089793-24936811 passed 2025-10-09 18:49:01,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:49:01,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01089793-24936811, IP 62.115.209.67, Port 22 2025-10-09 18:49:01,461 - DEBUG - VM ctest-TestBasicPolicy-01089793-24936811 is ready for SSH connections 2025-10-09 18:49:01,461 - INFO - Waiting for VM ctest-TestBasicPolicy-01089793-13471946 to be up.. 2025-10-09 18:49:01,534 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:49:01,534 - INFO - VM name : ctest-TestBasicPolicy-01089793-13471946 2025-10-09 18:49:01,602 - DEBUG - VM ctest-TestBasicPolicy-01089793-13471946 ID is c2d5c524-5bda-4daa-a739-7ff0d2b69a7e 2025-10-09 18:49:01,602 - DEBUG - VM ctest-TestBasicPolicy-01089793-13471946 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:49:01,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c2d5c524-5bda-4daa-a739-7ff0d2b69a7e 2025-10-09 18:49:01,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c658c2fb-4ab1-422e-a8ea-3036c2d66be4 2025-10-09 18:49:02,916 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.726/3.065/1.338 ms') 2025-10-09 18:49:02,916 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01089793-13471946 passed 2025-10-09 18:49:03,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:49:03,066 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01089793-13471946, IP 187.221.47.195, Port 22 2025-10-09 18:49:03,217 - DEBUG - VM ctest-TestBasicPolicy-01089793-13471946 is ready for SSH connections 2025-10-09 18:49:03,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:49:03,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.221.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:49:03,217 - DEBUG - ping -s 56 -c 3 -W 1 187.221.47.195 2025-10-09 18:49:06,909 - DEBUG - PING 187.221.47.195 (187.221.47.195): 56 data bytes 64 bytes from 187.221.47.195: seq=0 ttl=63 time=3.432 ms 64 bytes from 187.221.47.195: seq=1 ttl=63 time=0.792 ms 64 bytes from 187.221.47.195: seq=2 ttl=63 time=0.827 ms --- 187.221.47.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.683/3.432 ms 2025-10-09 18:49:06,909 - INFO - Ping to IP 187.221.47.195 from VM ctest-TestBasicPolicy-01089793-24936811 passed 2025-10-09 18:49:07,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c41ea22b-d264-4135-8cb9-15b649597355", "href": "http://10.0.0.50:8082/network-policy/c41ea22b-d264-4135-8cb9-15b649597355"}} 2025-10-09 18:49:07,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:49:07,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.221.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:49:07,077 - DEBUG - ping -s 56 -c 3 -W 1 187.221.47.195 2025-10-09 18:49:10,278 - DEBUG - PING 187.221.47.195 (187.221.47.195): 56 data bytes --- 187.221.47.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 18:49:10,279 - WARNING - Ping to IP 187.221.47.195 from VM ctest-TestBasicPolicy-01089793-24936811 failed 2025-10-09 18:49:10,279 - INFO - Deleting VM ctest-TestBasicPolicy-01089793-13471946 2025-10-09 18:49:10,342 - INFO - Deleting VM ctest-TestBasicPolicy-01089793-24936811 2025-10-09 18:49:10,682 - INFO - Deleted policy ctest-policy-allow-all-51002828 2025-10-09 18:49:10,682 - INFO - Deleting VN ctest-vn-42977271 2025-10-09 18:49:10,718 - DEBUG - VN ab33847a-5fd4-47bc-8285-0ebc7fd53037 still in use: Unable to complete operation on network ab33847a-5fd4-47bc-8285-0ebc7fd53037. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7cc7b909-d235-4e59-b74e-ec2dfe464217'] 2025-10-09 18:49:10,718 - WARNING - Deleting VN ctest-vn-42977271 failed..Will retry 2025-10-09 18:49:12,813 - DEBUG - Response for deleting network () 2025-10-09 18:49:12,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdd41371-ae9e-46c8-8623-38593418db89 2025-10-09 18:49:12,821 - DEBUG - Response Code: 404 2025-10-09 18:49:12,821 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:49:12,826 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:49:12,879 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:49:12,950 - INFO - Validated that VN ctest-vn-42977271 is not found in API Server 2025-10-09 18:49:12,958 - DEBUG - VN ctest-vn-42977271 is not present in Agent 10.0.0.50 2025-10-09 18:49:12,958 - INFO - Validated that VN ctest-vn-42977271 is not in any agent 2025-10-09 18:49:12,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42977271 info 2025-10-09 18:49:12,972 - INFO - Deleting VN ctest-vn-25740816 2025-10-09 18:49:13,063 - DEBUG - Response for deleting network () 2025-10-09 18:49:13,064 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5083906-02e7-4b56-80e5-878539a9ab0d 2025-10-09 18:49:13,070 - DEBUG - Response Code: 404 2025-10-09 18:49:13,070 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 18:49:13,075 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c43b4afb-2c1e-414f-9274-57fbae5200c8 2025-10-09 18:49:13,126 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8392aa-53ea-4cce-af2e-837e05e173a9 2025-10-09 18:49:13,194 - INFO - Validated that VN ctest-vn-25740816 is not found in API Server 2025-10-09 18:49:13,202 - DEBUG - VN ctest-vn-25740816 is not present in Agent 10.0.0.50 2025-10-09 18:49:13,202 - INFO - Validated that VN ctest-vn-25740816 is not in any agent 2025-10-09 18:49:13,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25740816 info 2025-10-09 18:49:13,469 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:49:13,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-09 18:49:13,469 - INFO - -------------------------------------------------------------------------------- 2025-10-09 18:49:14,134 - INFO - Deleted project: ctest-TestBasicPolicy-01089793, ID : ce8392aa-53ea-4cce-af2e-837e05e173a9