2025-10-27 22:44:49,743 - INFO - Domain Default found not creating 2025-10-27 22:44:49,892 - INFO - Project ctest-TestBasicPolicy-18113490 not found, creating it 2025-10-27 22:44:50,345 - INFO - Created Project:ctest-TestBasicPolicy-18113490, ID : 9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:44:51,774 - INFO - ================================================================================ 2025-10-27 22:44:51,774 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 22:44:51,774 - 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-27 22:44:52,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-27 22:44:52,030 - INFO - Initial checks done. Running the testcase now 2025-10-27 22:44:52,030 - INFO - 2025-10-27 22:44:52,586 - DEBUG - Response for create_network : {'network': {'id': '377dcecf-17c1-4c97-bfba-77b8d5f8fdc9', 'name': 'ctest-vn-82593435', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'project_id': '9c685bcd645541cb8a293b0ef8eccd92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-vn-82593435'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:52,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f112461b-2d75-4320-9660-e90112248203', 'name': '', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'network_id': '377dcecf-17c1-4c97-bfba-77b8d5f8fdc9', 'ip_version': 4, 'cidr': '4.61.226.64/26', 'allocation_pools': [{'start': '4.61.226.66', 'end': '4.61.226.126'}], 'gateway_ip': '4.61.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.61.226.66', 'tags': [], 'project_id': '9c685bcd645541cb8a293b0ef8eccd92'}} 2025-10-27 22:44:52,770 - INFO - Created VN ctest-vn-82593435 2025-10-27 22:44:52,825 - DEBUG - VN ctest-vn-82593435 UUID is 377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:53,103 - DEBUG - Response for create_network : {'network': {'id': 'b5756eee-5320-439f-a943-cc9585bd3217', 'name': 'ctest-vn-20147729', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'project_id': '9c685bcd645541cb8a293b0ef8eccd92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-vn-20147729'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:53,332 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3fe82ed-55fa-487e-87ce-bbdc535b7451', 'name': '', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'network_id': 'b5756eee-5320-439f-a943-cc9585bd3217', 'ip_version': 4, 'cidr': '211.38.194.0/26', 'allocation_pools': [{'start': '211.38.194.2', 'end': '211.38.194.62'}], 'gateway_ip': '211.38.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.38.194.2', 'tags': [], 'project_id': '9c685bcd645541cb8a293b0ef8eccd92'}} 2025-10-27 22:44:53,349 - INFO - Created VN ctest-vn-20147729 2025-10-27 22:44:53,401 - DEBUG - VN ctest-vn-20147729 UUID is b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:53,557 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435, 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-18113490:ctest-vn-20147729, 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-27 22:44:53,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '377dcecf-17c1-4c97-bfba-77b8d5f8fdc9', 'name': 'ctest-vn-82593435', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'project_id': '9c685bcd645541cb8a293b0ef8eccd92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f112461b-2d75-4320-9660-e90112248203'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-vn-82593435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-policy-allow-all-33353694']], 'subnet_ipam': [{'subnet_cidr': '4.61.226.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:54,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5756eee-5320-439f-a943-cc9585bd3217', 'name': 'ctest-vn-20147729', 'tenant_id': '9c685bcd645541cb8a293b0ef8eccd92', 'project_id': '9c685bcd645541cb8a293b0ef8eccd92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3fe82ed-55fa-487e-87ce-bbdc535b7451'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-vn-20147729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-policy-allow-all-33353694']], 'subnet_ipam': [{'subnet_cidr': '211.38.194.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:54,217 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:44:54,522 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:44:54,549 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:44:54,562 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:44:54,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,652 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:44:54,658 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:44:54,663 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46df7936-b7b1-4d35-8923-35358ba200b3 2025-10-27 22:44:54,668 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 22:44:54,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:44:54,688 - INFO - Verified VN network id 11 for VN 377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,688 - INFO - Verifications in API Server for VN ctest-vn-82593435 passed 2025-10-27 22:44:54,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:44:54,701 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:44:54,706 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46df7936-b7b1-4d35-8923-35358ba200b3 2025-10-27 22:44:54,715 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18113490', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3998579433026964631', 'uuid-lslong': '13815486442659970505'}, 'enable': 'true', 'created': '2025-10-27T22:44:52', 'last-modified': '2025-10-27T22:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894514'} 2025-10-27 22:44:54,721 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 22:44:54,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82593435 passed 2025-10-27 22:44:54,721 - DEBUG - ====Verifying policy data for ctest-vn-82593435 in API_Server ====== 2025-10-27 22:44:54,721 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:44:54,727 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:44:54,737 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:44:54,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/377dcecf-17c1-4c97-bfba-77b8d5f8fdc9 2025-10-27 22:44:54,816 - DEBUG - ==>Verifying data for policy with id: 3d2ad12d-c3cd-4e75-87bc-3269c109632c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-policy-allow-all-33353694'] 2025-10-27 22:44:54,816 - INFO - VN ctest-vn-82593435 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 22:44:54,817 - DEBUG - Verifying the vn in opserver 2025-10-27 22:44:54,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435 virtual network link through opserver 10.0.0.38 2025-10-27 22:44:54,817 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-27 22:44:55,109 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-27 22:44:55,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435?flat'} 2025-10-27 22:44:55,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435 is found in opserver 2025-10-27 22:44:55,172 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 22:44:55,176 - DEBUG - VRF ids for VN ctest-vn-82593435: {} 2025-10-27 22:44:55,177 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:44:55,182 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:44:55,194 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:44:55,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:44:55,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:44:55,296 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cddf9440-73b6-4ae5-b062-0217efc410a9 2025-10-27 22:44:55,301 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 22:44:55,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:44:55,325 - INFO - Verified VN network id 12 for VN b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,325 - INFO - Verifications in API Server for VN ctest-vn-20147729 passed 2025-10-27 22:44:55,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:44:55,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:44:55,346 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cddf9440-73b6-4ae5-b062-0217efc410a9 2025-10-27 22:44:55,357 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-20147729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18113490', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13075479063015998367', 'uuid-lslong': '12196817158415397399'}, 'enable': 'true', 'created': '2025-10-27T22:44:53', 'last-modified': '2025-10-27T22:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312535'} 2025-10-27 22:44:55,367 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 22:44:55,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20147729 passed 2025-10-27 22:44:55,367 - DEBUG - ====Verifying policy data for ctest-vn-20147729 in API_Server ====== 2025-10-27 22:44:55,367 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:44:55,377 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:44:55,387 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:44:55,459 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5756eee-5320-439f-a943-cc9585bd3217 2025-10-27 22:44:55,469 - DEBUG - ==>Verifying data for policy with id: 3d2ad12d-c3cd-4e75-87bc-3269c109632c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18113490', 'ctest-policy-allow-all-33353694'] 2025-10-27 22:44:55,469 - INFO - VN ctest-vn-20147729 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 22:44:55,469 - DEBUG - Verifying the vn in opserver 2025-10-27 22:44:55,469 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-20147729 virtual network link through opserver 10.0.0.38 2025-10-27 22:44:55,469 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-27 22:44:55,478 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-20147729', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-20147729?flat'} 2025-10-27 22:44:55,478 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-20147729 is found in opserver 2025-10-27 22:44:55,488 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 22:44:55,493 - DEBUG - VRF ids for VN ctest-vn-20147729: {} 2025-10-27 22:44:55,554 - DEBUG - Services list from nova: [, , ] 2025-10-27 22:44:56,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:44:57,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:44:57,681 - INFO - Waiting for VM ctest-TestBasicPolicy-18113490-96775022 to be up.. 2025-10-27 22:44:57,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 22:45:02,839 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:45:02,839 - INFO - VM name : ctest-TestBasicPolicy-18113490-96775022 2025-10-27 22:45:02,918 - DEBUG - VM ctest-TestBasicPolicy-18113490-96775022 ID is ca6cefc9-e19e-412c-b4ca-2800a54068c3 2025-10-27 22:45:02,945 - DEBUG - VM ctest-TestBasicPolicy-18113490-96775022 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:45:03,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca6cefc9-e19e-412c-b4ca-2800a54068c3 2025-10-27 22:45:03,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ae81c38c-ff54-4b65-b2f2-0c3958f5fd0c 2025-10-27 22:45:06,252 - 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 1005ms') 2025-10-27 22:45:06,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18113490-96775022 failed! 2025-10-27 22:45:06,313 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18113490:ctest-vn-82593435 is 4.61.226.65 and allocation pool is NOT set 2025-10-27 22:45:08,371 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.328/7.706/12.085/4.378 ms') 2025-10-27 22:45:08,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18113490-96775022 passed 2025-10-27 22:45:08,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:45:08,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18113490-96775022, IP 4.61.226.67, Port 22 2025-10-27 22:45:08,690 - DEBUG - VM ctest-TestBasicPolicy-18113490-96775022 is ready for SSH connections 2025-10-27 22:45:08,691 - INFO - Waiting for VM ctest-TestBasicPolicy-18113490-74395149 to be up.. 2025-10-27 22:45:08,775 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:45:08,775 - INFO - VM name : ctest-TestBasicPolicy-18113490-74395149 2025-10-27 22:45:08,856 - DEBUG - VM ctest-TestBasicPolicy-18113490-74395149 ID is 4ad087a9-893d-422f-8bce-6873cead9767 2025-10-27 22:45:08,856 - DEBUG - VM ctest-TestBasicPolicy-18113490-74395149 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:45:08,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ad087a9-893d-422f-8bce-6873cead9767 2025-10-27 22:45:08,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/392b0db8-5f96-41d5-a4d2-43810e7257ea 2025-10-27 22:45:10,186 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.74 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.743/2.941/4.140/1.198 ms') 2025-10-27 22:45:10,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18113490-74395149 passed 2025-10-27 22:45:10,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:45:10,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18113490-74395149, IP 211.38.194.3, Port 22 2025-10-27 22:45:10,496 - DEBUG - VM ctest-TestBasicPolicy-18113490-74395149 is ready for SSH connections 2025-10-27 22:45:10,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:45:10,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.38.194.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-27 22:45:10,496 - DEBUG - ping -s 56 -c 3 -W 1 211.38.194.3 2025-10-27 22:45:14,209 - DEBUG - PING 211.38.194.3 (211.38.194.3): 56 data bytes 64 bytes from 211.38.194.3: seq=0 ttl=63 time=3.848 ms 64 bytes from 211.38.194.3: seq=1 ttl=63 time=0.877 ms 64 bytes from 211.38.194.3: seq=2 ttl=63 time=0.875 ms --- 211.38.194.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.866/3.848 ms 2025-10-27 22:45:14,209 - INFO - Ping to IP 211.38.194.3 from VM ctest-TestBasicPolicy-18113490-96775022 passed 2025-10-27 22:45:14,384 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d2ad12d-c3cd-4e75-87bc-3269c109632c", "href": "http://10.0.0.38:8082/network-policy/3d2ad12d-c3cd-4e75-87bc-3269c109632c"}} 2025-10-27 22:45:14,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:45:14,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.38.194.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-27 22:45:14,385 - DEBUG - ping -s 56 -c 3 -W 1 211.38.194.3 2025-10-27 22:45:17,598 - DEBUG - PING 211.38.194.3 (211.38.194.3): 56 data bytes --- 211.38.194.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 22:45:17,598 - WARNING - Ping to IP 211.38.194.3 from VM ctest-TestBasicPolicy-18113490-96775022 failed 2025-10-27 22:45:17,598 - INFO - Deleting VM ctest-TestBasicPolicy-18113490-74395149 2025-10-27 22:45:17,672 - INFO - Deleting VM ctest-TestBasicPolicy-18113490-96775022 2025-10-27 22:45:18,065 - INFO - Deleted policy ctest-policy-allow-all-33353694 2025-10-27 22:45:18,065 - INFO - Deleting VN ctest-vn-20147729 2025-10-27 22:45:18,098 - DEBUG - VN b5756eee-5320-439f-a943-cc9585bd3217 still in use: Unable to complete operation on network b5756eee-5320-439f-a943-cc9585bd3217. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55ea4a77-7d33-4533-871f-5bdda9364fc2'] 2025-10-27 22:45:18,098 - WARNING - Deleting VN ctest-vn-20147729 failed..Will retry 2025-10-27 22:45:20,203 - DEBUG - Response for deleting network () 2025-10-27 22:45:20,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a3bd7d-c6a8-4ec5-ac11-6a6b447bb5b0 2025-10-27 22:45:20,211 - DEBUG - Response Code: 404 2025-10-27 22:45:20,211 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:45:20,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:45:20,270 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:45:20,378 - INFO - Validated that VN ctest-vn-20147729 is not found in API Server 2025-10-27 22:45:20,392 - DEBUG - VN ctest-vn-20147729 is not present in Agent 10.0.0.38 2025-10-27 22:45:20,392 - INFO - Validated that VN ctest-vn-20147729 is not in any agent 2025-10-27 22:45:20,413 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20147729 info 2025-10-27 22:45:20,413 - INFO - Deleting VN ctest-vn-82593435 2025-10-27 22:45:20,525 - DEBUG - Response for deleting network () 2025-10-27 22:45:20,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54d272d4-7a6e-44c5-80b8-ccea3d9526b9 2025-10-27 22:45:20,534 - DEBUG - Response Code: 404 2025-10-27 22:45:20,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-27 22:45:20,544 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab761c9e-8dd5-413c-a870-debafadd9c8b 2025-10-27 22:45:20,598 - DEBUG - Requesting: http://10.0.0.38:8082/project/9c685bcd-6455-41cb-8a29-3b0ef8eccd92 2025-10-27 22:45:20,677 - INFO - Validated that VN ctest-vn-82593435 is not found in API Server 2025-10-27 22:45:20,686 - DEBUG - VN ctest-vn-82593435 is not present in Agent 10.0.0.38 2025-10-27 22:45:20,686 - INFO - Validated that VN ctest-vn-82593435 is not in any agent 2025-10-27 22:45:20,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82593435 info 2025-10-27 22:45:20,962 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 22:45:20,962 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-27 22:45:20,962 - INFO - -------------------------------------------------------------------------------- 2025-10-27 22:45:21,637 - INFO - Deleted project: ctest-TestBasicPolicy-18113490, ID : 9c685bcd-6455-41cb-8a29-3b0ef8eccd92