2026-01-31 16:13:03,909 - INFO - Domain Default found not creating 2026-01-31 16:13:04,070 - INFO - Project ctest-TestBasicPolicy-68383822 not found, creating it 2026-01-31 16:13:04,514 - INFO - Created Project:ctest-TestBasicPolicy-68383822, ID : 216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:05,944 - INFO - ================================================================================ 2026-01-31 16:13:05,944 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-31 16:13:05,944 - 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-01-31 16:13:06,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 16:13:06,200 - INFO - Initial checks done. Running the testcase now 2026-01-31 16:13:06,200 - INFO - 2026-01-31 16:13:06,735 - DEBUG - Response for create_network : {'network': {'id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'name': 'ctest-vn-51625364', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-51625364'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:13:06,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '57c15fe4-6e1f-45e4-ba70-03bff7c28225', 'name': '', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'network_id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'ip_version': 4, 'cidr': '203.26.167.192/26', 'allocation_pools': [{'start': '203.26.167.194', 'end': '203.26.167.254'}], 'gateway_ip': '203.26.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.26.167.194', 'tags': [], 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1'}} 2026-01-31 16:13:06,931 - INFO - Created VN ctest-vn-51625364 2026-01-31 16:13:06,986 - DEBUG - VN ctest-vn-51625364 UUID is 40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:07,315 - DEBUG - Response for create_network : {'network': {'id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'name': 'ctest-vn-71885053', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-71885053'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:13:07,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '618f9120-7425-468a-8807-42dd9fd35561', 'name': '', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'network_id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'ip_version': 4, 'cidr': '147.122.104.64/26', 'allocation_pools': [{'start': '147.122.104.66', 'end': '147.122.104.126'}], 'gateway_ip': '147.122.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.122.104.66', 'tags': [], 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1'}} 2026-01-31 16:13:07,500 - INFO - Created VN ctest-vn-71885053 2026-01-31 16:13:07,550 - DEBUG - VN ctest-vn-71885053 UUID is ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:07,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364, 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-68383822:ctest-vn-71885053, 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-01-31 16:13:07,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'name': 'ctest-vn-51625364', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57c15fe4-6e1f-45e4-ba70-03bff7c28225'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-51625364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']], 'subnet_ipam': [{'subnet_cidr': '203.26.167.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:13:08,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'name': 'ctest-vn-71885053', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['618f9120-7425-468a-8807-42dd9fd35561'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-71885053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']], 'subnet_ipam': [{'subnet_cidr': '147.122.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:13:08,370 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:08,662 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:08,692 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:08,703 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:08,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,791 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:08,797 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:08,803 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5193e6eb-75d4-4998-bab7-6c1af1fb8e77 2026-01-31 16:13:08,809 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-31 16:13:08,809 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:08,833 - INFO - Verified VN network id 12 for VN 40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,833 - INFO - Verifications in API Server for VN ctest-vn-51625364 passed 2026-01-31 16:13:08,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:08,850 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:08,856 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5193e6eb-75d4-4998-bab7-6c1af1fb8e77 2026-01-31 16:13:08,867 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68383822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4678846287995291371', 'uuid-lslong': '13356801242315457147'}, 'enable': 'true', 'created': '2026-01-31T16:13:06', 'last-modified': '2026-01-31T16:13:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907933'} 2026-01-31 16:13:08,874 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-31 16:13:08,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51625364 passed 2026-01-31 16:13:08,874 - DEBUG - ====Verifying policy data for ctest-vn-51625364 in API_Server ====== 2026-01-31 16:13:08,874 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:08,879 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:08,889 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:08,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b 2026-01-31 16:13:08,963 - DEBUG - ==>Verifying data for policy with id: 13b69205-9c92-4c9d-af31-ace97c66ddfa, fqn: ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870'] 2026-01-31 16:13:08,963 - INFO - VN ctest-vn-51625364 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-31 16:13:08,963 - DEBUG - Verifying the vn in opserver 2026-01-31 16:13:08,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364 virtual network link through opserver 10.0.0.50 2026-01-31 16:13:08,963 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 16:13:09,252 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 16:13:09,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364?flat'} 2026-01-31 16:13:09,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364 is found in opserver 2026-01-31 16:13:09,317 - DEBUG - Do not have enough data to verify VN in agent 2026-01-31 16:13:09,321 - DEBUG - VRF ids for VN ctest-vn-51625364: {} 2026-01-31 16:13:09,321 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:09,326 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:09,337 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:09,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,424 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:09,431 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:09,437 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0df14ed7-d78c-4bc0-9b04-a4ed0e3bdd46 2026-01-31 16:13:09,442 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-31 16:13:09,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:09,464 - INFO - Verified VN network id 13 for VN ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,464 - INFO - Verifications in API Server for VN ctest-vn-71885053 passed 2026-01-31 16:13:09,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:09,478 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:09,485 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0df14ed7-d78c-4bc0-9b04-a4ed0e3bdd46 2026-01-31 16:13:09,494 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68383822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17193596981582513189', 'uuid-lslong': '11607688440798694207'}, 'enable': 'true', 'created': '2026-01-31T16:13:07', 'last-modified': '2026-01-31T16:13:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.310989'} 2026-01-31 16:13:09,499 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-31 16:13:09,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71885053 passed 2026-01-31 16:13:09,500 - DEBUG - ====Verifying policy data for ctest-vn-71885053 in API_Server ====== 2026-01-31 16:13:09,500 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:09,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:09,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:09,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f 2026-01-31 16:13:09,587 - DEBUG - ==>Verifying data for policy with id: 13b69205-9c92-4c9d-af31-ace97c66ddfa, fqn: ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870'] 2026-01-31 16:13:09,587 - INFO - VN ctest-vn-71885053 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-31 16:13:09,587 - DEBUG - Verifying the vn in opserver 2026-01-31 16:13:09,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053 virtual network link through opserver 10.0.0.50 2026-01-31 16:13:09,587 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 16:13:09,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053?flat'} 2026-01-31 16:13:09,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053 is found in opserver 2026-01-31 16:13:09,604 - DEBUG - Do not have enough data to verify VN in agent 2026-01-31 16:13:09,609 - DEBUG - VRF ids for VN ctest-vn-71885053: {} 2026-01-31 16:13:09,661 - DEBUG - Services list from nova: [, , ] 2026-01-31 16:13:10,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:13:11,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:13:11,778 - INFO - Waiting for VM ctest-TestBasicPolicy-68383822-47768941 to be up.. 2026-01-31 16:13:11,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-31 16:13:16,946 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:13:16,946 - INFO - VM name : ctest-TestBasicPolicy-68383822-47768941 2026-01-31 16:13:17,031 - DEBUG - VM ctest-TestBasicPolicy-68383822-47768941 ID is a9b102bc-2e14-4da6-9240-29907db440cb 2026-01-31 16:13:17,054 - DEBUG - VM ctest-TestBasicPolicy-68383822-47768941 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:13:17,133 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9b102bc-2e14-4da6-9240-29907db440cb 2026-01-31 16:13:17,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/751fc952-0edb-42a7-97ba-db30c1759d98 2026-01-31 16:13:20,389 - 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 1015ms') 2026-01-31 16:13:20,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68383822-47768941 failed! 2026-01-31 16:13:20,442 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364 is 203.26.167.193 and allocation pool is NOT set 2026-01-31 16:13:22,500 - 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=8.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.747/4.881/8.016/3.134 ms') 2026-01-31 16:13:22,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68383822-47768941 passed 2026-01-31 16:13:22,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:13:22,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68383822-47768941, IP 203.26.167.195, Port 22 2026-01-31 16:13:22,850 - DEBUG - VM ctest-TestBasicPolicy-68383822-47768941 is ready for SSH connections 2026-01-31 16:13:22,850 - INFO - Waiting for VM ctest-TestBasicPolicy-68383822-30832202 to be up.. 2026-01-31 16:13:22,927 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:13:22,927 - INFO - VM name : ctest-TestBasicPolicy-68383822-30832202 2026-01-31 16:13:22,996 - DEBUG - VM ctest-TestBasicPolicy-68383822-30832202 ID is 294723b1-047d-41bf-878d-cd67239fffd0 2026-01-31 16:13:22,996 - DEBUG - VM ctest-TestBasicPolicy-68383822-30832202 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:13:23,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/294723b1-047d-41bf-878d-cd67239fffd0 2026-01-31 16:13:23,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/832db526-ac35-43ee-ae02-1db4f8a21175 2026-01-31 16:13:24,306 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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.200/3.185/5.171/1.985 ms') 2026-01-31 16:13:24,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68383822-30832202 passed 2026-01-31 16:13:24,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:13:24,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68383822-30832202, IP 147.122.104.67, Port 22 2026-01-31 16:13:24,622 - DEBUG - VM ctest-TestBasicPolicy-68383822-30832202 is ready for SSH connections 2026-01-31 16:13:24,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:13:24,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.122.104.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 16:13:24,623 - DEBUG - ping -s 56 -c 3 -W 1 147.122.104.67 2026-01-31 16:13:28,622 - DEBUG - PING 147.122.104.67 (147.122.104.67): 56 data bytes 64 bytes from 147.122.104.67: seq=0 ttl=63 time=3.332 ms 64 bytes from 147.122.104.67: seq=1 ttl=63 time=0.915 ms 64 bytes from 147.122.104.67: seq=2 ttl=63 time=0.907 ms --- 147.122.104.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.718/3.332 ms 2026-01-31 16:13:28,623 - INFO - Ping to IP 147.122.104.67 from VM ctest-TestBasicPolicy-68383822-47768941 passed 2026-01-31 16:13:28,814 - DEBUG - Policy Update Response {"network-policy": {"uuid": "13b69205-9c92-4c9d-af31-ace97c66ddfa", "href": "http://10.0.0.50:8082/network-policy/13b69205-9c92-4c9d-af31-ace97c66ddfa"}} 2026-01-31 16:13:28,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:13:28,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.122.104.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 16:13:28,814 - DEBUG - ping -s 56 -c 3 -W 1 147.122.104.67 2026-01-31 16:13:32,045 - DEBUG - PING 147.122.104.67 (147.122.104.67): 56 data bytes --- 147.122.104.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-31 16:13:32,045 - WARNING - Ping to IP 147.122.104.67 from VM ctest-TestBasicPolicy-68383822-47768941 failed 2026-01-31 16:13:32,045 - INFO - Deleting VM ctest-TestBasicPolicy-68383822-30832202 2026-01-31 16:13:32,114 - INFO - Deleting VM ctest-TestBasicPolicy-68383822-47768941 2026-01-31 16:13:32,468 - INFO - Deleted policy ctest-policy-allow-all-40849870 2026-01-31 16:13:32,468 - INFO - Deleting VN ctest-vn-71885053 2026-01-31 16:13:32,499 - DEBUG - VN ee9bed5b-f274-4425-a116-cb230136cb3f still in use: Unable to complete operation on network ee9bed5b-f274-4425-a116-cb230136cb3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7316f064-f045-4fb0-a4c8-08057ae72caf'] 2026-01-31 16:13:32,499 - WARNING - Deleting VN ctest-vn-71885053 failed..Will retry 2026-01-31 16:13:34,581 - DEBUG - Response for deleting network () 2026-01-31 16:13:34,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a 2026-01-31 16:13:34,587 - DEBUG - Response Code: 404 2026-01-31 16:13:34,587 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:34,592 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:34,644 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:34,711 - INFO - Validated that VN ctest-vn-71885053 is not found in API Server 2026-01-31 16:13:34,720 - DEBUG - VN ctest-vn-71885053 is not present in Agent 10.0.0.50 2026-01-31 16:13:34,720 - INFO - Validated that VN ctest-vn-71885053 is not in any agent 2026-01-31 16:13:34,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71885053 info 2026-01-31 16:13:34,733 - INFO - Deleting VN ctest-vn-51625364 2026-01-31 16:13:34,830 - DEBUG - Response for deleting network () 2026-01-31 16:13:34,830 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5 2026-01-31 16:13:34,835 - DEBUG - Response Code: 404 2026-01-31 16:13:34,835 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 16:13:34,840 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f 2026-01-31 16:13:34,894 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1 2026-01-31 16:13:34,973 - INFO - Validated that VN ctest-vn-51625364 is not found in API Server 2026-01-31 16:13:34,981 - DEBUG - VN ctest-vn-51625364 is not present in Agent 10.0.0.50 2026-01-31 16:13:34,981 - INFO - Validated that VN ctest-vn-51625364 is not in any agent 2026-01-31 16:13:34,993 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51625364 info 2026-01-31 16:13:35,255 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 16:13:35,255 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-31 16:13:35,255 - INFO - -------------------------------------------------------------------------------- 2026-01-31 16:13:35,938 - INFO - Deleted project: ctest-TestBasicPolicy-68383822, ID : 216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1