2025-01-15 19:20:03,484 - INFO - Domain Default found not creating 2025-01-15 19:20:03,626 - INFO - Project ctest-TestBasicPolicy-19472049 not found, creating it 2025-01-15 19:20:04,141 - INFO - Created Project:ctest-TestBasicPolicy-19472049, ID : f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:05,521 - INFO - ================================================================================ 2025-01-15 19:20:05,521 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 19:20:05,521 - 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-01-15 19:20:05,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-01-15 19:20:05,775 - INFO - Initial checks done. Running the testcase now 2025-01-15 19:20:05,775 - INFO - 2025-01-15 19:20:06,307 - DEBUG - Response for create_network : {'network': {'id': 'a378292b-1726-4b89-b1e9-ee4bdff37d52', 'name': 'ctest-vn-47556843', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-vn-47556843'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:20:06,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa3090e-3ab8-49da-9fcb-3e8ba035334e', 'name': '', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'network_id': 'a378292b-1726-4b89-b1e9-ee4bdff37d52', 'ip_version': 4, 'cidr': '42.241.51.0/26', 'allocation_pools': [{'start': '42.241.51.2', 'end': '42.241.51.62'}], 'gateway_ip': '42.241.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.241.51.2', 'tags': [], 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e'}} 2025-01-15 19:20:06,475 - INFO - Created VN ctest-vn-47556843 2025-01-15 19:20:06,530 - DEBUG - VN ctest-vn-47556843 UUID is a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:06,848 - DEBUG - Response for create_network : {'network': {'id': 'c48f9c1d-1848-43e6-964a-95872314aa83', 'name': 'ctest-vn-41937514', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-vn-41937514'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:20:07,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '57db44cc-ff56-49f7-ae43-ca8040b3bad5', 'name': '', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'network_id': 'c48f9c1d-1848-43e6-964a-95872314aa83', 'ip_version': 4, 'cidr': '163.217.140.192/26', 'allocation_pools': [{'start': '163.217.140.194', 'end': '163.217.140.254'}], 'gateway_ip': '163.217.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.217.140.194', 'tags': [], 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e'}} 2025-01-15 19:20:07,052 - INFO - Created VN ctest-vn-41937514 2025-01-15 19:20:07,110 - DEBUG - VN ctest-vn-41937514 UUID is c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:07,218 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843, 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-19472049:ctest-vn-41937514, 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-01-15 19:20:07,539 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a378292b-1726-4b89-b1e9-ee4bdff37d52', 'name': 'ctest-vn-47556843', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fa3090e-3ab8-49da-9fcb-3e8ba035334e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-vn-47556843'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-policy-allow-all-00542527']], 'subnet_ipam': [{'subnet_cidr': '42.241.51.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:20:07,801 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c48f9c1d-1848-43e6-964a-95872314aa83', 'name': 'ctest-vn-41937514', 'tenant_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'project_id': 'f261d9100b9346fcb4a9266c5e15f79e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57db44cc-ff56-49f7-ae43-ca8040b3bad5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-vn-41937514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-policy-allow-all-00542527']], 'subnet_ipam': [{'subnet_cidr': '163.217.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:20:07,974 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:08,292 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:08,324 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:08,335 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:08,404 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,416 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,426 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:08,433 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:08,440 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/af837f35-fbc5-4778-bf80-57f7d8754cce 2025-01-15 19:20:08,446 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 19:20:08,446 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,455 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:08,468 - INFO - Verified VN network id 8 for VN a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,468 - INFO - Verifications in API Server for VN ctest-vn-47556843 passed 2025-01-15 19:20:08,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,477 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:08,484 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:08,491 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/af837f35-fbc5-4778-bf80-57f7d8754cce 2025-01-15 19:20:08,503 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19472049', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11779210090436250505', 'uuid-lslong': '12820039823934061906'}, 'enable': 'true', 'created': '2025-01-15T19:20:06', 'last-modified': '2025-01-15T19:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993332'} 2025-01-15 19:20:08,509 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 19:20:08,510 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47556843 passed 2025-01-15 19:20:08,510 - DEBUG - ====Verifying policy data for ctest-vn-47556843 in API_Server ====== 2025-01-15 19:20:08,510 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:08,515 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:08,525 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:08,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a378292b-1726-4b89-b1e9-ee4bdff37d52 2025-01-15 19:20:08,611 - DEBUG - ==>Verifying data for policy with id: cc388060-19bb-4abf-8305-03b33dbf838e, fqn: ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-policy-allow-all-00542527'] 2025-01-15 19:20:08,611 - INFO - VN ctest-vn-47556843 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 19:20:08,611 - DEBUG - Verifying the vn in opserver 2025-01-15 19:20:08,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843 virtual network link through opserver 10.0.0.22 2025-01-15 19:20:08,612 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-15 19:20:08,900 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-15 19:20:08,949 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843?flat'} 2025-01-15 19:20:08,949 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843 is found in opserver 2025-01-15 19:20:08,961 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 19:20:08,966 - DEBUG - VRF ids for VN ctest-vn-47556843: {} 2025-01-15 19:20:08,966 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:08,971 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:08,983 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:09,055 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,078 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:09,086 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:09,093 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fa80085a-a590-4abb-8367-494a2fbab455 2025-01-15 19:20:09,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 19:20:09,100 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,112 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:09,131 - INFO - Verified VN network id 9 for VN c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,131 - INFO - Verifications in API Server for VN ctest-vn-41937514 passed 2025-01-15 19:20:09,131 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,144 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:09,153 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:09,161 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fa80085a-a590-4abb-8367-494a2fbab455 2025-01-15 19:20:09,174 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-41937514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19472049', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14163711001878873062', 'uuid-lslong': '10829632661607459459'}, 'enable': 'true', 'created': '2025-01-15T19:20:06', 'last-modified': '2025-01-15T19:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400354'} 2025-01-15 19:20:09,180 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 19:20:09,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41937514 passed 2025-01-15 19:20:09,180 - DEBUG - ====Verifying policy data for ctest-vn-41937514 in API_Server ====== 2025-01-15 19:20:09,180 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:09,186 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:09,200 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:09,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c48f9c1d-1848-43e6-964a-95872314aa83 2025-01-15 19:20:09,284 - DEBUG - ==>Verifying data for policy with id: cc388060-19bb-4abf-8305-03b33dbf838e, fqn: ['default-domain', 'ctest-TestBasicPolicy-19472049', 'ctest-policy-allow-all-00542527'] 2025-01-15 19:20:09,284 - INFO - VN ctest-vn-41937514 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 19:20:09,284 - DEBUG - Verifying the vn in opserver 2025-01-15 19:20:09,284 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-41937514 virtual network link through opserver 10.0.0.22 2025-01-15 19:20:09,284 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-15 19:20:09,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-41937514', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-41937514?flat'} 2025-01-15 19:20:09,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-41937514 is found in opserver 2025-01-15 19:20:09,306 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 19:20:09,313 - DEBUG - VRF ids for VN ctest-vn-41937514: {} 2025-01-15 19:20:09,372 - DEBUG - Services list from nova: [, , ] 2025-01-15 19:20:10,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2644-1) 2025-01-15 19:20:11,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2644-1) 2025-01-15 19:20:11,588 - INFO - Waiting for VM ctest-TestBasicPolicy-19472049-77585305 to be up.. 2025-01-15 19:20:11,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 19:20:16,752 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:20:16,752 - INFO - VM name : ctest-TestBasicPolicy-19472049-77585305 2025-01-15 19:20:16,825 - DEBUG - VM ctest-TestBasicPolicy-19472049-77585305 ID is 66f061c2-47b2-4637-962e-d92385e38c17 2025-01-15 19:20:16,843 - DEBUG - VM ctest-TestBasicPolicy-19472049-77585305 launched on Node cn-jenkins-deploy-platform-ansible-os-2644-1 2025-01-15 19:20:16,921 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/66f061c2-47b2-4637-962e-d92385e38c17 2025-01-15 19:20:16,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7cd80432-b408-4d7d-b3cf-6a9d55caf0f6 2025-01-15 19:20:20,190 - 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-01-15 19:20:20,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19472049-77585305 failed! 2025-01-15 19:20:20,246 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19472049:ctest-vn-47556843 is 42.241.51.1 and allocation pool is NOT set 2025-01-15 19:20:22,305 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/1.811/3.174/1.363 ms') 2025-01-15 19:20:22,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19472049-77585305 passed 2025-01-15 19:20:22,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:20:22,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19472049-77585305, IP 42.241.51.3, Port 22 2025-01-15 19:20:22,617 - DEBUG - VM ctest-TestBasicPolicy-19472049-77585305 is ready for SSH connections 2025-01-15 19:20:22,618 - INFO - Waiting for VM ctest-TestBasicPolicy-19472049-97031377 to be up.. 2025-01-15 19:20:22,690 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:20:22,690 - INFO - VM name : ctest-TestBasicPolicy-19472049-97031377 2025-01-15 19:20:22,762 - DEBUG - VM ctest-TestBasicPolicy-19472049-97031377 ID is aac34d6e-39ca-44c2-9861-f3ee8f25754c 2025-01-15 19:20:22,762 - DEBUG - VM ctest-TestBasicPolicy-19472049-97031377 launched on Node cn-jenkins-deploy-platform-ansible-os-2644-1 2025-01-15 19:20:22,829 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aac34d6e-39ca-44c2-9861-f3ee8f25754c 2025-01-15 19:20:22,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/247857be-7208-499e-bc2e-c4a24051f88f 2025-01-15 19:20:24,074 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.649/2.869/1.219 ms') 2025-01-15 19:20:24,074 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19472049-97031377 passed 2025-01-15 19:20:24,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:20:24,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19472049-97031377, IP 163.217.140.195, Port 22 2025-01-15 19:20:24,381 - DEBUG - VM ctest-TestBasicPolicy-19472049-97031377 is ready for SSH connections 2025-01-15 19:20:24,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:20:24,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.217.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-15 19:20:24,382 - DEBUG - ping -s 56 -c 3 -W 1 163.217.140.195 2025-01-15 19:20:28,096 - DEBUG - PING 163.217.140.195 (163.217.140.195): 56 data bytes 64 bytes from 163.217.140.195: seq=0 ttl=63 time=4.132 ms 64 bytes from 163.217.140.195: seq=1 ttl=63 time=1.155 ms 64 bytes from 163.217.140.195: seq=2 ttl=63 time=1.284 ms --- 163.217.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.155/2.190/4.132 ms 2025-01-15 19:20:28,096 - INFO - Ping to IP 163.217.140.195 from VM ctest-TestBasicPolicy-19472049-77585305 passed 2025-01-15 19:20:28,278 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cc388060-19bb-4abf-8305-03b33dbf838e", "href": "http://10.0.0.22:8082/network-policy/cc388060-19bb-4abf-8305-03b33dbf838e"}} 2025-01-15 19:20:28,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:20:28,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.217.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-15 19:20:28,278 - DEBUG - ping -s 56 -c 3 -W 1 163.217.140.195 2025-01-15 19:20:31,480 - DEBUG - PING 163.217.140.195 (163.217.140.195): 56 data bytes --- 163.217.140.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-15 19:20:31,480 - WARNING - Ping to IP 163.217.140.195 from VM ctest-TestBasicPolicy-19472049-77585305 failed 2025-01-15 19:20:31,480 - INFO - Deleting VM ctest-TestBasicPolicy-19472049-97031377 2025-01-15 19:20:31,550 - INFO - Deleting VM ctest-TestBasicPolicy-19472049-77585305 2025-01-15 19:20:31,946 - INFO - Deleted policy ctest-policy-allow-all-00542527 2025-01-15 19:20:31,946 - INFO - Deleting VN ctest-vn-41937514 2025-01-15 19:20:31,980 - DEBUG - VN c48f9c1d-1848-43e6-964a-95872314aa83 still in use: Unable to complete operation on network c48f9c1d-1848-43e6-964a-95872314aa83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92da744a-621e-4632-8fe5-e48cf46feb5d'] 2025-01-15 19:20:31,980 - WARNING - Deleting VN ctest-vn-41937514 failed..Will retry 2025-01-15 19:20:34,095 - DEBUG - Response for deleting network () 2025-01-15 19:20:34,095 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f34e2945-5293-475a-b984-246193162319 2025-01-15 19:20:34,102 - DEBUG - Response Code: 404 2025-01-15 19:20:34,102 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:34,108 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:34,163 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:34,235 - INFO - Validated that VN ctest-vn-41937514 is not found in API Server 2025-01-15 19:20:34,246 - DEBUG - VN ctest-vn-41937514 is not present in Agent 10.0.0.22 2025-01-15 19:20:34,246 - INFO - Validated that VN ctest-vn-41937514 is not in any agent 2025-01-15 19:20:34,260 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41937514 info 2025-01-15 19:20:34,260 - INFO - Deleting VN ctest-vn-47556843 2025-01-15 19:20:34,358 - DEBUG - Response for deleting network () 2025-01-15 19:20:34,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/827ce337-6a0a-45fa-8b9d-c870cc7d452c 2025-01-15 19:20:34,363 - DEBUG - Response Code: 404 2025-01-15 19:20:34,363 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-15 19:20:34,368 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19b3ec52-8005-49f9-88c9-fbd698d99db2 2025-01-15 19:20:34,427 - DEBUG - Requesting: http://10.0.0.22:8082/project/f261d910-0b93-46fc-b4a9-266c5e15f79e 2025-01-15 19:20:34,499 - INFO - Validated that VN ctest-vn-47556843 is not found in API Server 2025-01-15 19:20:34,511 - DEBUG - VN ctest-vn-47556843 is not present in Agent 10.0.0.22 2025-01-15 19:20:34,511 - INFO - Validated that VN ctest-vn-47556843 is not in any agent 2025-01-15 19:20:34,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47556843 info 2025-01-15 19:20:34,780 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 19:20:34,780 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-01-15 19:20:34,781 - INFO - -------------------------------------------------------------------------------- 2025-01-15 19:20:35,452 - INFO - Deleted project: ctest-TestBasicPolicy-19472049, ID : f261d910-0b93-46fc-b4a9-266c5e15f79e