2025-03-22 13:49:27,711 - INFO - Domain Default found not creating 2025-03-22 13:49:27,875 - INFO - Project ctest-TestBasicPolicy-56444329 not found, creating it 2025-03-22 13:49:28,385 - INFO - Created Project:ctest-TestBasicPolicy-56444329, ID : f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:30,013 - INFO - ================================================================================ 2025-03-22 13:49:30,013 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-22 13:49:30,014 - 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-03-22 13:49:30,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.5': '0'}} with 2025-03-22 13:49:30,279 - INFO - Initial checks done. Running the testcase now 2025-03-22 13:49:30,279 - INFO - 2025-03-22 13:49:30,883 - DEBUG - Response for create_network : {'network': {'id': 'b38efebf-ee7e-49f8-92dd-3a9a66750206', 'name': 'ctest-vn-03180930', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'project_id': 'f1e0a79497fb482bbde24304dcb1469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-vn-03180930'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 13:49:31,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cad6fec3-46ab-4ded-8d07-f5eee374a88a', 'name': '', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'network_id': 'b38efebf-ee7e-49f8-92dd-3a9a66750206', 'ip_version': 4, 'cidr': '44.133.52.128/26', 'allocation_pools': [{'start': '44.133.52.130', 'end': '44.133.52.190'}], 'gateway_ip': '44.133.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.133.52.130', 'tags': [], 'project_id': 'f1e0a79497fb482bbde24304dcb1469e'}} 2025-03-22 13:49:31,146 - INFO - Created VN ctest-vn-03180930 2025-03-22 13:49:31,199 - DEBUG - VN ctest-vn-03180930 UUID is b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:31,533 - DEBUG - Response for create_network : {'network': {'id': '68826f2a-338a-4792-a189-691776faedec', 'name': 'ctest-vn-30362293', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'project_id': 'f1e0a79497fb482bbde24304dcb1469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-vn-30362293'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 13:49:31,789 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e02c799f-ab00-40f6-a8c8-18101db5a806', 'name': '', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'network_id': '68826f2a-338a-4792-a189-691776faedec', 'ip_version': 4, 'cidr': '197.184.225.64/26', 'allocation_pools': [{'start': '197.184.225.66', 'end': '197.184.225.126'}], 'gateway_ip': '197.184.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.184.225.66', 'tags': [], 'project_id': 'f1e0a79497fb482bbde24304dcb1469e'}} 2025-03-22 13:49:31,816 - INFO - Created VN ctest-vn-30362293 2025-03-22 13:49:31,871 - DEBUG - VN ctest-vn-30362293 UUID is 68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:32,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930, 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-56444329:ctest-vn-30362293, 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-03-22 13:49:32,351 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b38efebf-ee7e-49f8-92dd-3a9a66750206', 'name': 'ctest-vn-03180930', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'project_id': 'f1e0a79497fb482bbde24304dcb1469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cad6fec3-46ab-4ded-8d07-f5eee374a88a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-vn-03180930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-policy-allow-all-58503709']], 'subnet_ipam': [{'subnet_cidr': '44.133.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 13:49:32,622 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68826f2a-338a-4792-a189-691776faedec', 'name': 'ctest-vn-30362293', 'tenant_id': 'f1e0a79497fb482bbde24304dcb1469e', 'project_id': 'f1e0a79497fb482bbde24304dcb1469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e02c799f-ab00-40f6-a8c8-18101db5a806'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-vn-30362293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-policy-allow-all-58503709']], 'subnet_ipam': [{'subnet_cidr': '197.184.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 13:49:32,775 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:33,081 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:33,114 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:33,130 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:33,208 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,221 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,232 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:33,242 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:33,251 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f74070d9-cd49-4128-9137-683b33d35e9a 2025-03-22 13:49:33,259 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 13:49:33,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,271 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:33,288 - INFO - Verified VN network id 8 for VN b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,288 - INFO - Verifications in API Server for VN ctest-vn-03180930 passed 2025-03-22 13:49:33,289 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,300 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:33,309 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:33,317 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f74070d9-cd49-4128-9137-683b33d35e9a 2025-03-22 13:49:33,334 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56444329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12938558879775476216', 'uuid-lslong': '10582679134208852486'}, 'enable': 'true', 'created': '2025-03-22T13:49:30', 'last-modified': '2025-03-22T13:49:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019639'} 2025-03-22 13:49:33,342 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 13:49:33,342 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03180930 passed 2025-03-22 13:49:33,343 - DEBUG - ====Verifying policy data for ctest-vn-03180930 in API_Server ====== 2025-03-22 13:49:33,343 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:33,350 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:33,363 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:33,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b38efebf-ee7e-49f8-92dd-3a9a66750206 2025-03-22 13:49:33,474 - DEBUG - ==>Verifying data for policy with id: 919d698b-ace8-40a2-a2dc-e616204f05c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-policy-allow-all-58503709'] 2025-03-22 13:49:33,474 - INFO - VN ctest-vn-03180930 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 13:49:33,474 - DEBUG - Verifying the vn in opserver 2025-03-22 13:49:33,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930 virtual network link through opserver 10.0.0.22 2025-03-22 13:49:33,475 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 13:49:33,770 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 13:49:33,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930?flat'} 2025-03-22 13:49:33,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930 is found in opserver 2025-03-22 13:49:33,846 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 13:49:33,853 - DEBUG - VRF ids for VN ctest-vn-03180930: {} 2025-03-22 13:49:33,853 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:33,859 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:33,871 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:33,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:33,957 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:33,968 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:33,977 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:33,987 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abe6f687-5c87-423d-b343-e020cb2bb8b9 2025-03-22 13:49:34,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 13:49:34,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:34,018 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:34,036 - INFO - Verified VN network id 9 for VN 68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:34,036 - INFO - Verifications in API Server for VN ctest-vn-30362293 passed 2025-03-22 13:49:34,036 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:34,048 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:34,057 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:34,067 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abe6f687-5c87-423d-b343-e020cb2bb8b9 2025-03-22 13:49:34,084 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-30362293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56444329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7530703753960900498', 'uuid-lslong': '11639950261417078252'}, 'enable': 'true', 'created': '2025-03-22T13:49:31', 'last-modified': '2025-03-22T13:49:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497104'} 2025-03-22 13:49:34,091 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 13:49:34,091 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30362293 passed 2025-03-22 13:49:34,092 - DEBUG - ====Verifying policy data for ctest-vn-30362293 in API_Server ====== 2025-03-22 13:49:34,092 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:34,099 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:34,114 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:34,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68826f2a-338a-4792-a189-691776faedec 2025-03-22 13:49:34,215 - DEBUG - ==>Verifying data for policy with id: 919d698b-ace8-40a2-a2dc-e616204f05c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-56444329', 'ctest-policy-allow-all-58503709'] 2025-03-22 13:49:34,215 - INFO - VN ctest-vn-30362293 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 13:49:34,215 - DEBUG - Verifying the vn in opserver 2025-03-22 13:49:34,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-30362293 virtual network link through opserver 10.0.0.22 2025-03-22 13:49:34,215 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 13:49:34,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-30362293', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-30362293?flat'} 2025-03-22 13:49:34,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-30362293 is found in opserver 2025-03-22 13:49:34,240 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 13:49:34,246 - DEBUG - VRF ids for VN ctest-vn-30362293: {} 2025-03-22 13:49:34,309 - DEBUG - Services list from nova: [, , ] 2025-03-22 13:49:35,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2937-1) 2025-03-22 13:49:36,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2937-1) 2025-03-22 13:49:36,747 - INFO - Waiting for VM ctest-TestBasicPolicy-56444329-37334460 to be up.. 2025-03-22 13:49:36,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-22 13:49:41,948 - DEBUG - VM is in ACTIVE state now 2025-03-22 13:49:41,948 - INFO - VM name : ctest-TestBasicPolicy-56444329-37334460 2025-03-22 13:49:42,036 - DEBUG - VM ctest-TestBasicPolicy-56444329-37334460 ID is eb285c89-96b5-4c4b-a8cc-3815d5bf314d 2025-03-22 13:49:42,060 - DEBUG - VM ctest-TestBasicPolicy-56444329-37334460 launched on Node cn-jenkins-deploy-platform-ansible-os-2937-1 2025-03-22 13:49:42,158 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eb285c89-96b5-4c4b-a8cc-3815d5bf314d 2025-03-22 13:49:42,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8bb6ca3f-6dc7-49a6-8652-3256fdf14052 2025-03-22 13:49:45,401 - 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 1026ms') 2025-03-22 13:49:45,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56444329-37334460 failed! 2025-03-22 13:49:45,459 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56444329:ctest-vn-03180930 is 44.133.52.129 and allocation pool is NOT set 2025-03-22 13:49:47,530 - 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=9.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.684 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.684/4.927/9.171/4.243 ms') 2025-03-22 13:49:47,530 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56444329-37334460 passed 2025-03-22 13:49:47,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 13:49:47,691 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56444329-37334460, IP 44.133.52.131, Port 22 2025-03-22 13:49:47,861 - DEBUG - VM ctest-TestBasicPolicy-56444329-37334460 is ready for SSH connections 2025-03-22 13:49:47,861 - INFO - Waiting for VM ctest-TestBasicPolicy-56444329-50917043 to be up.. 2025-03-22 13:49:47,959 - DEBUG - VM is in ACTIVE state now 2025-03-22 13:49:47,960 - INFO - VM name : ctest-TestBasicPolicy-56444329-50917043 2025-03-22 13:49:48,059 - DEBUG - VM ctest-TestBasicPolicy-56444329-50917043 ID is 74c6f230-e51b-464a-83a5-034798be5d76 2025-03-22 13:49:48,060 - DEBUG - VM ctest-TestBasicPolicy-56444329-50917043 launched on Node cn-jenkins-deploy-platform-ansible-os-2937-1 2025-03-22 13:49:48,165 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/74c6f230-e51b-464a-83a5-034798be5d76 2025-03-22 13:49:48,178 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/82a05e57-e74e-4378-87a7-75931bfd4bf7 2025-03-22 13:49:49,433 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.804 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.804/2.500/4.196/1.696 ms') 2025-03-22 13:49:49,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56444329-50917043 passed 2025-03-22 13:49:49,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 13:49:49,591 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56444329-50917043, IP 197.184.225.67, Port 22 2025-03-22 13:49:49,759 - DEBUG - VM ctest-TestBasicPolicy-56444329-50917043 is ready for SSH connections 2025-03-22 13:49:49,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 13:49:49,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.184.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-22 13:49:49,760 - DEBUG - ping -s 56 -c 3 -W 1 197.184.225.67 2025-03-22 13:49:53,439 - DEBUG - PING 197.184.225.67 (197.184.225.67): 56 data bytes 64 bytes from 197.184.225.67: seq=0 ttl=63 time=3.936 ms 64 bytes from 197.184.225.67: seq=1 ttl=63 time=1.115 ms 64 bytes from 197.184.225.67: seq=2 ttl=63 time=0.940 ms --- 197.184.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/1.997/3.936 ms 2025-03-22 13:49:53,440 - INFO - Ping to IP 197.184.225.67 from VM ctest-TestBasicPolicy-56444329-37334460 passed 2025-03-22 13:49:53,627 - DEBUG - Policy Update Response {"network-policy": {"uuid": "919d698b-ace8-40a2-a2dc-e616204f05c1", "href": "http://10.0.0.22:8082/network-policy/919d698b-ace8-40a2-a2dc-e616204f05c1"}} 2025-03-22 13:49:53,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 13:49:53,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.184.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-22 13:49:53,627 - DEBUG - ping -s 56 -c 3 -W 1 197.184.225.67 2025-03-22 13:49:56,850 - DEBUG - PING 197.184.225.67 (197.184.225.67): 56 data bytes 64 bytes from 197.184.225.67: seq=0 ttl=63 time=1.938 ms --- 197.184.225.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.938/1.938/1.938 ms 2025-03-22 13:49:56,850 - WARNING - Ping to IP 197.184.225.67 from VM ctest-TestBasicPolicy-56444329-37334460 failed 2025-03-22 13:49:56,850 - INFO - Deleting VM ctest-TestBasicPolicy-56444329-50917043 2025-03-22 13:49:56,927 - INFO - Deleting VM ctest-TestBasicPolicy-56444329-37334460 2025-03-22 13:49:57,394 - INFO - Deleted policy ctest-policy-allow-all-58503709 2025-03-22 13:49:57,395 - INFO - Deleting VN ctest-vn-30362293 2025-03-22 13:49:57,447 - DEBUG - VN 68826f2a-338a-4792-a189-691776faedec still in use: Unable to complete operation on network 68826f2a-338a-4792-a189-691776faedec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77c24293-f5b6-4a98-afb2-54f69c9f2062'] 2025-03-22 13:49:57,447 - WARNING - Deleting VN ctest-vn-30362293 failed..Will retry 2025-03-22 13:49:59,561 - DEBUG - Response for deleting network () 2025-03-22 13:49:59,561 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d49c6c45-5906-447b-92d8-359bd6150d01 2025-03-22 13:49:59,573 - DEBUG - Response Code: 404 2025-03-22 13:49:59,573 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:59,580 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:59,637 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:49:59,715 - INFO - Validated that VN ctest-vn-30362293 is not found in API Server 2025-03-22 13:49:59,727 - DEBUG - VN ctest-vn-30362293 is not present in Agent 10.0.0.22 2025-03-22 13:49:59,727 - INFO - Validated that VN ctest-vn-30362293 is not in any agent 2025-03-22 13:49:59,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30362293 info 2025-03-22 13:49:59,744 - INFO - Deleting VN ctest-vn-03180930 2025-03-22 13:49:59,870 - DEBUG - Response for deleting network () 2025-03-22 13:49:59,870 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c2f854d0-f02c-466a-9a4c-90e230299c26 2025-03-22 13:49:59,877 - DEBUG - Response Code: 404 2025-03-22 13:49:59,877 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 13:49:59,892 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dba87b4c-4563-4660-ac05-db9b39c07ceb 2025-03-22 13:49:59,950 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1e0a794-97fb-482b-bde2-4304dcb1469e 2025-03-22 13:50:00,029 - INFO - Validated that VN ctest-vn-03180930 is not found in API Server 2025-03-22 13:50:00,046 - DEBUG - VN ctest-vn-03180930 is not present in Agent 10.0.0.22 2025-03-22 13:50:00,046 - INFO - Validated that VN ctest-vn-03180930 is not in any agent 2025-03-22 13:50:00,070 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03180930 info 2025-03-22 13:50:00,333 - DEBUG - No XMPP flaps were noticed during the test
2025-03-22 13:50:00,333 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-22 13:50:00,333 - INFO - -------------------------------------------------------------------------------- 2025-03-22 13:50:01,094 - INFO - Deleted project: ctest-TestBasicPolicy-56444329, ID : f1e0a794-97fb-482b-bde2-4304dcb1469e