2025-03-30 13:16:36,226 - INFO - Domain Default found not creating 2025-03-30 13:16:36,398 - INFO - Project ctest-TestBasicPolicy-80450153 not found, creating it 2025-03-30 13:16:36,918 - INFO - Created Project:ctest-TestBasicPolicy-80450153, ID : e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:16:38,446 - INFO - ================================================================================ 2025-03-30 13:16:38,446 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-30 13:16:38,447 - 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-30 13:16:38,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.6': '0'}} with 2025-03-30 13:16:38,705 - INFO - Initial checks done. Running the testcase now 2025-03-30 13:16:38,705 - INFO - 2025-03-30 13:16:39,310 - DEBUG - Response for create_network : {'network': {'id': 'f25358ea-1dff-4d09-a069-969bfcd4c47c', 'name': 'ctest-vn-49539342', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'project_id': 'e6c470368a124931b4d0c575d7ad0392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-vn-49539342'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 13:16:39,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '653eb590-77c2-42d0-aea9-2398fa6cda99', 'name': '', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'network_id': 'f25358ea-1dff-4d09-a069-969bfcd4c47c', 'ip_version': 4, 'cidr': '23.199.244.0/26', 'allocation_pools': [{'start': '23.199.244.2', 'end': '23.199.244.62'}], 'gateway_ip': '23.199.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.199.244.2', 'tags': [], 'project_id': 'e6c470368a124931b4d0c575d7ad0392'}} 2025-03-30 13:16:39,534 - INFO - Created VN ctest-vn-49539342 2025-03-30 13:16:39,588 - DEBUG - VN ctest-vn-49539342 UUID is f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:39,888 - DEBUG - Response for create_network : {'network': {'id': '756942a6-e358-4979-ba2a-84996600e759', 'name': 'ctest-vn-41403558', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'project_id': 'e6c470368a124931b4d0c575d7ad0392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-vn-41403558'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 13:16:40,068 - DEBUG - Response for create_subnet : {'subnet': {'id': '639a43ef-9021-43ca-969b-dd810531bae2', 'name': '', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'network_id': '756942a6-e358-4979-ba2a-84996600e759', 'ip_version': 4, 'cidr': '77.254.43.64/26', 'allocation_pools': [{'start': '77.254.43.66', 'end': '77.254.43.126'}], 'gateway_ip': '77.254.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.254.43.66', 'tags': [], 'project_id': 'e6c470368a124931b4d0c575d7ad0392'}} 2025-03-30 13:16:40,090 - INFO - Created VN ctest-vn-41403558 2025-03-30 13:16:40,144 - DEBUG - VN ctest-vn-41403558 UUID is 756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:40,262 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342, 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-80450153:ctest-vn-41403558, 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-30 13:16:40,562 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f25358ea-1dff-4d09-a069-969bfcd4c47c', 'name': 'ctest-vn-49539342', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'project_id': 'e6c470368a124931b4d0c575d7ad0392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['653eb590-77c2-42d0-aea9-2398fa6cda99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-vn-49539342'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-policy-allow-all-86769516']], 'subnet_ipam': [{'subnet_cidr': '23.199.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 13:16:40,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '756942a6-e358-4979-ba2a-84996600e759', 'name': 'ctest-vn-41403558', 'tenant_id': 'e6c470368a124931b4d0c575d7ad0392', 'project_id': 'e6c470368a124931b4d0c575d7ad0392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['639a43ef-9021-43ca-969b-dd810531bae2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-vn-41403558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-policy-allow-all-86769516']], 'subnet_ipam': [{'subnet_cidr': '77.254.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 13:16:40,968 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:16:41,260 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:16:41,296 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:16:41,314 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:16:41,397 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,412 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,424 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:16:41,433 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:16:41,442 - DEBUG - Requesting: http://10.0.0.60:8082/route-target/02047270-00a6-4699-b784-394fae46a4a2 2025-03-30 13:16:41,451 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 13:16:41,451 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,463 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:16:41,480 - INFO - Verified VN network id 8 for VN f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,480 - INFO - Verifications in API Server for VN ctest-vn-49539342 passed 2025-03-30 13:16:41,480 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,493 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:16:41,501 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:16:41,509 - DEBUG - Requesting: http://10.0.0.60:8082/route-target/02047270-00a6-4699-b784-394fae46a4a2 2025-03-30 13:16:41,522 - DEBUG - Control-node 10.0.0.60 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80450153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17461397942794407177', 'uuid-lslong': '11558935515328988284'}, 'enable': 'true', 'created': '2025-03-30T13:16:39', 'last-modified': '2025-03-30T13:16:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986593'} 2025-03-30 13:16:41,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 13:16:41,530 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49539342 passed 2025-03-30 13:16:41,530 - DEBUG - ====Verifying policy data for ctest-vn-49539342 in API_Server ====== 2025-03-30 13:16:41,530 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:16:41,536 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:16:41,550 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:16:41,625 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/f25358ea-1dff-4d09-a069-969bfcd4c47c 2025-03-30 13:16:41,638 - DEBUG - ==>Verifying data for policy with id: 05faf5f6-4229-4de3-997d-71f44fc962ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-policy-allow-all-86769516'] 2025-03-30 13:16:41,638 - INFO - VN ctest-vn-49539342 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 13:16:41,638 - DEBUG - Verifying the vn in opserver 2025-03-30 13:16:41,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342 virtual network link through opserver 10.0.0.60 2025-03-30 13:16:41,638 - DEBUG - Requesting: http://10.0.0.60:8081/analytics/uves/virtual-networks 2025-03-30 13:16:41,930 - DEBUG - Requesting: http://10.0.0.60:8081/analytics/uves/virtual-networks 2025-03-30 13:16:41,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342', 'href': 'http://10.0.0.60:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342?flat'} 2025-03-30 13:16:41,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342 is found in opserver 2025-03-30 13:16:42,004 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 13:16:42,010 - DEBUG - VRF ids for VN ctest-vn-49539342: {} 2025-03-30 13:16:42,011 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:16:42,018 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:16:42,032 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:16:42,109 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,125 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,140 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:16:42,150 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:16:42,160 - DEBUG - Requesting: http://10.0.0.60:8082/route-target/bc1674e6-1fcd-4e04-903a-d7b9760b2041 2025-03-30 13:16:42,168 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 13:16:42,168 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,181 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:16:42,202 - INFO - Verified VN network id 9 for VN 756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,202 - INFO - Verifications in API Server for VN ctest-vn-41403558 passed 2025-03-30 13:16:42,202 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,216 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:16:42,225 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:16:42,233 - DEBUG - Requesting: http://10.0.0.60:8082/route-target/bc1674e6-1fcd-4e04-903a-d7b9760b2041 2025-03-30 13:16:42,249 - DEBUG - Control-node 10.0.0.60 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-41403558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80450153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8460366659538405753', 'uuid-lslong': '13414680234452641625'}, 'enable': 'true', 'created': '2025-03-30T13:16:39', 'last-modified': '2025-03-30T13:16:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476653'} 2025-03-30 13:16:42,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 13:16:42,257 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41403558 passed 2025-03-30 13:16:42,257 - DEBUG - ====Verifying policy data for ctest-vn-41403558 in API_Server ====== 2025-03-30 13:16:42,257 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:16:42,263 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:16:42,277 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:16:42,357 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-network/756942a6-e358-4979-ba2a-84996600e759 2025-03-30 13:16:42,371 - DEBUG - ==>Verifying data for policy with id: 05faf5f6-4229-4de3-997d-71f44fc962ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-80450153', 'ctest-policy-allow-all-86769516'] 2025-03-30 13:16:42,371 - INFO - VN ctest-vn-41403558 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 13:16:42,371 - DEBUG - Verifying the vn in opserver 2025-03-30 13:16:42,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-41403558 virtual network link through opserver 10.0.0.60 2025-03-30 13:16:42,371 - DEBUG - Requesting: http://10.0.0.60:8081/analytics/uves/virtual-networks 2025-03-30 13:16:42,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-41403558', 'href': 'http://10.0.0.60:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-41403558?flat'} 2025-03-30 13:16:42,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-41403558 is found in opserver 2025-03-30 13:16:42,402 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 13:16:42,409 - DEBUG - VRF ids for VN ctest-vn-41403558: {} 2025-03-30 13:16:42,470 - DEBUG - Services list from nova: [, , ] 2025-03-30 13:16:43,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1) 2025-03-30 13:16:44,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1) 2025-03-30 13:16:44,873 - INFO - Waiting for VM ctest-TestBasicPolicy-80450153-66771876 to be up.. 2025-03-30 13:16:44,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 13:16:50,059 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:16:50,060 - INFO - VM name : ctest-TestBasicPolicy-80450153-66771876 2025-03-30 13:16:50,141 - DEBUG - VM ctest-TestBasicPolicy-80450153-66771876 ID is 2870f185-0577-4a52-9928-e8a627388173 2025-03-30 13:16:50,168 - DEBUG - VM ctest-TestBasicPolicy-80450153-66771876 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1 2025-03-30 13:16:50,257 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/2870f185-0577-4a52-9928-e8a627388173 2025-03-30 13:16:50,267 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/2bd20f49-5d18-406d-ab90-28b78392a351 2025-03-30 13:16:53,538 - 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-30 13:16:53,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80450153-66771876 failed! 2025-03-30 13:16:53,600 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80450153:ctest-vn-49539342 is 23.199.244.1 and allocation pool is NOT set 2025-03-30 13:16:55,665 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.672 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.672/5.172/9.672/4.500 ms') 2025-03-30 13:16:55,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80450153-66771876 passed 2025-03-30 13:16:55,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:16:55,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80450153-66771876, IP 23.199.244.3, Port 22 2025-03-30 13:16:55,994 - DEBUG - VM ctest-TestBasicPolicy-80450153-66771876 is ready for SSH connections 2025-03-30 13:16:55,994 - INFO - Waiting for VM ctest-TestBasicPolicy-80450153-64926897 to be up.. 2025-03-30 13:16:56,094 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:16:56,094 - INFO - VM name : ctest-TestBasicPolicy-80450153-64926897 2025-03-30 13:16:56,181 - DEBUG - VM ctest-TestBasicPolicy-80450153-64926897 ID is c13cf1e5-bd21-4bd9-952a-3db7eaeb9cc9 2025-03-30 13:16:56,181 - DEBUG - VM ctest-TestBasicPolicy-80450153-64926897 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1 2025-03-30 13:16:56,269 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/c13cf1e5-bd21-4bd9-952a-3db7eaeb9cc9 2025-03-30 13:16:56,278 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/c44602ef-7711-426d-834b-d07d36c630ce 2025-03-30 13:16:57,532 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.574 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.574/2.006/3.439/1.432 ms') 2025-03-30 13:16:57,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80450153-64926897 passed 2025-03-30 13:16:57,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:16:57,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80450153-64926897, IP 77.254.43.67, Port 22 2025-03-30 13:16:57,843 - DEBUG - VM ctest-TestBasicPolicy-80450153-64926897 is ready for SSH connections 2025-03-30 13:16:57,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:16:57,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.254.43.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2025-03-30 13:16:57,843 - DEBUG - ping -s 56 -c 3 -W 1 77.254.43.67 2025-03-30 13:17:01,902 - DEBUG - PING 77.254.43.67 (77.254.43.67): 56 data bytes 64 bytes from 77.254.43.67: seq=0 ttl=63 time=3.304 ms 64 bytes from 77.254.43.67: seq=1 ttl=63 time=0.828 ms 64 bytes from 77.254.43.67: seq=2 ttl=63 time=0.974 ms --- 77.254.43.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.702/3.304 ms 2025-03-30 13:17:01,902 - INFO - Ping to IP 77.254.43.67 from VM ctest-TestBasicPolicy-80450153-66771876 passed 2025-03-30 13:17:02,100 - DEBUG - Policy Update Response {"network-policy": {"uuid": "05faf5f6-4229-4de3-997d-71f44fc962ea", "href": "http://10.0.0.60:8082/network-policy/05faf5f6-4229-4de3-997d-71f44fc962ea"}} 2025-03-30 13:17:02,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:17:02,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.254.43.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2025-03-30 13:17:02,100 - DEBUG - ping -s 56 -c 3 -W 1 77.254.43.67 2025-03-30 13:17:05,339 - DEBUG - PING 77.254.43.67 (77.254.43.67): 56 data bytes --- 77.254.43.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-30 13:17:05,339 - WARNING - Ping to IP 77.254.43.67 from VM ctest-TestBasicPolicy-80450153-66771876 failed 2025-03-30 13:17:05,339 - INFO - Deleting VM ctest-TestBasicPolicy-80450153-64926897 2025-03-30 13:17:05,418 - INFO - Deleting VM ctest-TestBasicPolicy-80450153-66771876 2025-03-30 13:17:05,838 - INFO - Deleted policy ctest-policy-allow-all-86769516 2025-03-30 13:17:05,840 - INFO - Deleting VN ctest-vn-41403558 2025-03-30 13:17:05,879 - DEBUG - VN 756942a6-e358-4979-ba2a-84996600e759 still in use: Unable to complete operation on network 756942a6-e358-4979-ba2a-84996600e759. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3cbb0e3-4efa-464c-a9c9-9d0f0925d5b0'] 2025-03-30 13:17:05,879 - WARNING - Deleting VN ctest-vn-41403558 failed..Will retry 2025-03-30 13:17:08,012 - DEBUG - Response for deleting network () 2025-03-30 13:17:08,013 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/0f50677a-613a-4f54-bd3d-3fc472e4b79f 2025-03-30 13:17:08,024 - DEBUG - Response Code: 404 2025-03-30 13:17:08,025 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:17:08,033 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:17:08,090 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:17:08,169 - INFO - Validated that VN ctest-vn-41403558 is not found in API Server 2025-03-30 13:17:08,182 - DEBUG - VN ctest-vn-41403558 is not present in Agent 10.0.0.60 2025-03-30 13:17:08,182 - INFO - Validated that VN ctest-vn-41403558 is not in any agent 2025-03-30 13:17:08,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41403558 info 2025-03-30 13:17:08,202 - INFO - Deleting VN ctest-vn-49539342 2025-03-30 13:17:08,321 - DEBUG - Response for deleting network () 2025-03-30 13:17:08,321 - DEBUG - Requesting: http://10.0.0.60:8082/routing-instance/789f225a-28e8-40e4-b6ac-cc169edb94d1 2025-03-30 13:17:08,330 - DEBUG - Response Code: 404 2025-03-30 13:17:08,330 - DEBUG - Requesting: http://10.0.0.60:8082/domains 2025-03-30 13:17:08,337 - DEBUG - Requesting: http://10.0.0.60:8082/domain/65be8db9-af3d-43df-afdd-5e73cfb39906 2025-03-30 13:17:08,394 - DEBUG - Requesting: http://10.0.0.60:8082/project/e6c47036-8a12-4931-b4d0-c575d7ad0392 2025-03-30 13:17:08,471 - INFO - Validated that VN ctest-vn-49539342 is not found in API Server 2025-03-30 13:17:08,482 - DEBUG - VN ctest-vn-49539342 is not present in Agent 10.0.0.60 2025-03-30 13:17:08,482 - INFO - Validated that VN ctest-vn-49539342 is not in any agent 2025-03-30 13:17:08,500 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49539342 info 2025-03-30 13:17:08,758 - DEBUG - No XMPP flaps were noticed during the test 2025-03-30 13:17:08,759 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-30 13:17:08,759 - INFO - -------------------------------------------------------------------------------- 2025-03-30 13:17:09,486 - INFO - Deleted project: ctest-TestBasicPolicy-80450153, ID : e6c47036-8a12-4931-b4d0-c575d7ad0392