2025-07-10 02:26:45,581 - INFO - Domain Default found not creating 2025-07-10 02:26:45,765 - INFO - Project ctest-TestBasicPolicy-74961296 not found, creating it 2025-07-10 02:26:46,247 - INFO - Created Project:ctest-TestBasicPolicy-74961296, ID : adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:26:47,867 - INFO - ================================================================================ 2025-07-10 02:26:47,867 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-10 02:26:47,867 - 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-07-10 02:26:48,144 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0'}} with 2025-07-10 02:26:48,144 - INFO - Initial checks done. Running the testcase now 2025-07-10 02:26:48,144 - INFO - 2025-07-10 02:26:48,763 - DEBUG - Response for create_network : {'network': {'id': 'd6b67976-d052-49b3-9caf-b71f2419f6e0', 'name': 'ctest-vn-75294733', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-vn-75294733'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:26:49,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf46ba93-6572-4b6b-bec4-4b7d212353ae', 'name': '', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'network_id': 'd6b67976-d052-49b3-9caf-b71f2419f6e0', 'ip_version': 4, 'cidr': '129.228.187.0/26', 'allocation_pools': [{'start': '129.228.187.2', 'end': '129.228.187.62'}], 'gateway_ip': '129.228.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.228.187.2', 'tags': [], 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7'}} 2025-07-10 02:26:49,022 - INFO - Created VN ctest-vn-75294733 2025-07-10 02:26:49,078 - DEBUG - VN ctest-vn-75294733 UUID is d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:49,393 - DEBUG - Response for create_network : {'network': {'id': '2a46d7f6-42d4-4899-b1ca-85433a74e8ee', 'name': 'ctest-vn-52868489', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-vn-52868489'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:26:49,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8244374-bb02-4d82-940b-8658ddbbe600', 'name': '', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'network_id': '2a46d7f6-42d4-4899-b1ca-85433a74e8ee', 'ip_version': 4, 'cidr': '14.214.247.64/26', 'allocation_pools': [{'start': '14.214.247.66', 'end': '14.214.247.126'}], 'gateway_ip': '14.214.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.214.247.66', 'tags': [], 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7'}} 2025-07-10 02:26:49,563 - INFO - Created VN ctest-vn-52868489 2025-07-10 02:26:49,618 - DEBUG - VN ctest-vn-52868489 UUID is 2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:49,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733, 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-74961296:ctest-vn-52868489, 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-07-10 02:26:50,049 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6b67976-d052-49b3-9caf-b71f2419f6e0', 'name': 'ctest-vn-75294733', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf46ba93-6572-4b6b-bec4-4b7d212353ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-vn-75294733'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-policy-allow-all-10368186']], 'subnet_ipam': [{'subnet_cidr': '129.228.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:26:50,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a46d7f6-42d4-4899-b1ca-85433a74e8ee', 'name': 'ctest-vn-52868489', 'tenant_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'project_id': 'adb7ea4498214c3aa7e69d7efb65e8b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8244374-bb02-4d82-940b-8658ddbbe600'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-vn-52868489'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-policy-allow-all-10368186']], 'subnet_ipam': [{'subnet_cidr': '14.214.247.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:26:50,462 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:26:50,809 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:26:50,841 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:26:50,856 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:26:50,933 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:50,946 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:50,957 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:26:50,966 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:26:50,974 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d6052aa4-608a-4f27-a242-00523e9fbfef 2025-07-10 02:26:50,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:26:50,982 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:50,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:26:51,009 - INFO - Verified VN network id 8 for VN d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:51,010 - INFO - Verifications in API Server for VN ctest-vn-75294733 passed 2025-07-10 02:26:51,010 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:51,021 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:26:51,029 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:26:51,037 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d6052aa4-608a-4f27-a242-00523e9fbfef 2025-07-10 02:26:51,053 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74961296', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15471687121086073267', 'uuid-lslong': '11290444135218673376'}, 'enable': 'true', 'created': '2025-07-10T02:26:48', 'last-modified': '2025-07-10T02:26:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035920'} 2025-07-10 02:26:51,060 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:26:51,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75294733 passed 2025-07-10 02:26:51,061 - DEBUG - ====Verifying policy data for ctest-vn-75294733 in API_Server ====== 2025-07-10 02:26:51,061 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:26:51,068 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:26:51,082 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:26:51,158 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6b67976-d052-49b3-9caf-b71f2419f6e0 2025-07-10 02:26:51,173 - DEBUG - ==>Verifying data for policy with id: 77d8b697-4130-46b6-8f70-19f92b6957c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-policy-allow-all-10368186'] 2025-07-10 02:26:51,173 - INFO - VN ctest-vn-75294733 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:26:51,173 - DEBUG - Verifying the vn in opserver 2025-07-10 02:26:51,173 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733 virtual network link through opserver 10.0.0.22 2025-07-10 02:26:51,173 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-10 02:26:51,510 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-10 02:26:51,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733?flat'} 2025-07-10 02:26:51,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733 is found in opserver 2025-07-10 02:26:51,583 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:26:51,589 - DEBUG - VRF ids for VN ctest-vn-75294733: {} 2025-07-10 02:26:51,589 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:26:51,596 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:26:51,609 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:26:51,684 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,698 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,709 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:26:51,717 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:26:51,725 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e58b36ba-3847-4bf7-9012-81597677e5f0 2025-07-10 02:26:51,733 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:26:51,733 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,748 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:26:51,765 - INFO - Verified VN network id 9 for VN 2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,766 - INFO - Verifications in API Server for VN ctest-vn-52868489 passed 2025-07-10 02:26:51,766 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,776 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:26:51,784 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:26:51,792 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e58b36ba-3847-4bf7-9012-81597677e5f0 2025-07-10 02:26:51,805 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-52868489', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74961296', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3046359650645854361', 'uuid-lslong': '12811198613798840558'}, 'enable': 'true', 'created': '2025-07-10T02:26:49', 'last-modified': '2025-07-10T02:26:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.567619'} 2025-07-10 02:26:51,813 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:26:51,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52868489 passed 2025-07-10 02:26:51,813 - DEBUG - ====Verifying policy data for ctest-vn-52868489 in API_Server ====== 2025-07-10 02:26:51,813 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:26:51,820 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:26:51,833 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:26:51,909 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a46d7f6-42d4-4899-b1ca-85433a74e8ee 2025-07-10 02:26:51,921 - DEBUG - ==>Verifying data for policy with id: 77d8b697-4130-46b6-8f70-19f92b6957c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-74961296', 'ctest-policy-allow-all-10368186'] 2025-07-10 02:26:51,921 - INFO - VN ctest-vn-52868489 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:26:51,921 - DEBUG - Verifying the vn in opserver 2025-07-10 02:26:51,921 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-52868489 virtual network link through opserver 10.0.0.22 2025-07-10 02:26:51,921 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-10 02:26:51,934 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-52868489', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-52868489?flat'} 2025-07-10 02:26:51,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-52868489 is found in opserver 2025-07-10 02:26:51,946 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:26:51,954 - DEBUG - VRF ids for VN ctest-vn-52868489: {} 2025-07-10 02:26:52,015 - DEBUG - Services list from nova: [, , ] 2025-07-10 02:26:53,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3624-1) 2025-07-10 02:26:54,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3624-1) 2025-07-10 02:26:54,593 - INFO - Waiting for VM ctest-TestBasicPolicy-74961296-03385188 to be up.. 2025-07-10 02:26:54,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-10 02:26:59,774 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:26:59,774 - INFO - VM name : ctest-TestBasicPolicy-74961296-03385188 2025-07-10 02:26:59,871 - DEBUG - VM ctest-TestBasicPolicy-74961296-03385188 ID is 8dbcca16-eb11-4899-b08e-d4257cf2de52 2025-07-10 02:26:59,894 - DEBUG - VM ctest-TestBasicPolicy-74961296-03385188 launched on Node cn-jenkins-deploy-platform-ansible-os-3624-1 2025-07-10 02:26:59,977 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8dbcca16-eb11-4899-b08e-d4257cf2de52 2025-07-10 02:26:59,989 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f99b4647-2df2-41e7-93cb-caa7eb5d571b 2025-07-10 02:27:03,251 - 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-07-10 02:27:03,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74961296-03385188 failed! 2025-07-10 02:27:03,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74961296:ctest-vn-75294733 is 129.228.187.1 and allocation pool is NOT set 2025-07-10 02:27:05,364 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/2.902/5.411/2.509 ms') 2025-07-10 02:27:05,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74961296-03385188 passed 2025-07-10 02:27:05,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:27:05,526 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74961296-03385188, IP 129.228.187.3, Port 22 2025-07-10 02:27:05,689 - DEBUG - VM ctest-TestBasicPolicy-74961296-03385188 is ready for SSH connections 2025-07-10 02:27:05,690 - INFO - Waiting for VM ctest-TestBasicPolicy-74961296-51430068 to be up.. 2025-07-10 02:27:05,801 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:27:05,801 - INFO - VM name : ctest-TestBasicPolicy-74961296-51430068 2025-07-10 02:27:05,881 - DEBUG - VM ctest-TestBasicPolicy-74961296-51430068 ID is e25907ad-bce7-4552-bd46-d23da49e0eff 2025-07-10 02:27:05,881 - DEBUG - VM ctest-TestBasicPolicy-74961296-51430068 launched on Node cn-jenkins-deploy-platform-ansible-os-3624-1 2025-07-10 02:27:05,959 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e25907ad-bce7-4552-bd46-d23da49e0eff 2025-07-10 02:27:05,969 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c5a3bc78-877e-4aa6-ad59-3509291d24e2 2025-07-10 02:27:07,226 - 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=6.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.456/3.643/6.831/3.187 ms') 2025-07-10 02:27:07,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74961296-51430068 passed 2025-07-10 02:27:07,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:27:07,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74961296-51430068, IP 14.214.247.67, Port 22 2025-07-10 02:27:07,542 - DEBUG - VM ctest-TestBasicPolicy-74961296-51430068 is ready for SSH connections 2025-07-10 02:27:07,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:27:07,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.214.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-07-10 02:27:07,542 - DEBUG - ping -s 56 -c 3 -W 1 14.214.247.67 2025-07-10 02:27:11,626 - DEBUG - PING 14.214.247.67 (14.214.247.67): 56 data bytes 64 bytes from 14.214.247.67: seq=0 ttl=63 time=4.146 ms 64 bytes from 14.214.247.67: seq=1 ttl=63 time=0.905 ms 64 bytes from 14.214.247.67: seq=2 ttl=63 time=0.855 ms --- 14.214.247.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.968/4.146 ms 2025-07-10 02:27:11,627 - INFO - Ping to IP 14.214.247.67 from VM ctest-TestBasicPolicy-74961296-03385188 passed 2025-07-10 02:27:11,814 - DEBUG - Policy Update Response {"network-policy": {"uuid": "77d8b697-4130-46b6-8f70-19f92b6957c7", "href": "http://10.0.0.22:8082/network-policy/77d8b697-4130-46b6-8f70-19f92b6957c7"}} 2025-07-10 02:27:11,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:27:11,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.214.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-07-10 02:27:11,814 - DEBUG - ping -s 56 -c 3 -W 1 14.214.247.67 2025-07-10 02:27:15,035 - DEBUG - PING 14.214.247.67 (14.214.247.67): 56 data bytes 64 bytes from 14.214.247.67: seq=0 ttl=63 time=1.517 ms --- 14.214.247.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.517/1.517/1.517 ms 2025-07-10 02:27:15,036 - WARNING - Ping to IP 14.214.247.67 from VM ctest-TestBasicPolicy-74961296-03385188 failed 2025-07-10 02:27:15,036 - INFO - Deleting VM ctest-TestBasicPolicy-74961296-51430068 2025-07-10 02:27:15,108 - INFO - Deleting VM ctest-TestBasicPolicy-74961296-03385188 2025-07-10 02:27:15,522 - INFO - Deleted policy ctest-policy-allow-all-10368186 2025-07-10 02:27:15,522 - INFO - Deleting VN ctest-vn-52868489 2025-07-10 02:27:15,563 - DEBUG - VN 2a46d7f6-42d4-4899-b1ca-85433a74e8ee still in use: Unable to complete operation on network 2a46d7f6-42d4-4899-b1ca-85433a74e8ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b72fa3f2-878a-4123-829e-410d1ab411cc'] 2025-07-10 02:27:15,563 - WARNING - Deleting VN ctest-vn-52868489 failed..Will retry 2025-07-10 02:27:17,699 - DEBUG - Response for deleting network () 2025-07-10 02:27:17,699 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3369aa4-ac61-427d-b416-91d41730bb7f 2025-07-10 02:27:17,707 - DEBUG - Response Code: 404 2025-07-10 02:27:17,708 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:27:17,716 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:27:17,774 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:27:17,856 - INFO - Validated that VN ctest-vn-52868489 is not found in API Server 2025-07-10 02:27:17,870 - DEBUG - VN ctest-vn-52868489 is not present in Agent 10.0.0.22 2025-07-10 02:27:17,870 - INFO - Validated that VN ctest-vn-52868489 is not in any agent 2025-07-10 02:27:17,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52868489 info 2025-07-10 02:27:17,892 - INFO - Deleting VN ctest-vn-75294733 2025-07-10 02:27:18,012 - DEBUG - Response for deleting network () 2025-07-10 02:27:18,012 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/60358287-a5e1-4c76-b0a2-6ca7575abd07 2025-07-10 02:27:18,020 - DEBUG - Response Code: 404 2025-07-10 02:27:18,020 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-10 02:27:18,031 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3dee1766-372a-4f75-b1e1-89cf3e854bde 2025-07-10 02:27:18,088 - DEBUG - Requesting: http://10.0.0.22:8082/project/adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7 2025-07-10 02:27:18,174 - INFO - Validated that VN ctest-vn-75294733 is not found in API Server 2025-07-10 02:27:18,186 - DEBUG - VN ctest-vn-75294733 is not present in Agent 10.0.0.22 2025-07-10 02:27:18,186 - INFO - Validated that VN ctest-vn-75294733 is not in any agent 2025-07-10 02:27:18,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75294733 info 2025-07-10 02:27:18,461 - DEBUG - No XMPP flaps were noticed during the test 2025-07-10 02:27:18,461 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-07-10 02:27:18,461 - INFO - -------------------------------------------------------------------------------- 2025-07-10 02:27:19,199 - INFO - Deleted project: ctest-TestBasicPolicy-74961296, ID : adb7ea44-9821-4c3a-a7e6-9d7efb65e8b7