2025-10-08 22:11:48,663 - INFO - Domain Default found not creating 2025-10-08 22:11:48,798 - INFO - Project ctest-TestBasicPolicy-84984059 not found, creating it 2025-10-08 22:11:49,245 - INFO - Created Project:ctest-TestBasicPolicy-84984059, ID : 291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:11:50,637 - INFO - ================================================================================ 2025-10-08 22:11:50,637 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 22:11:50,637 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-08 22:11:50,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-08 22:11:50,890 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:11:50,890 - INFO - 2025-10-08 22:11:51,474 - DEBUG - Response for create_network : {'network': {'id': '1d20aec8-9ceb-45bf-83c9-b94c29181e83', 'name': 'ctest-vn-16540370', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'project_id': '291adfa94e2b47f68a923cfb9dc41773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-vn-16540370'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:51,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcf50c2b-051a-4b9c-8930-e558ac24bead', 'name': '', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'network_id': '1d20aec8-9ceb-45bf-83c9-b94c29181e83', 'ip_version': 4, 'cidr': '197.30.72.128/26', 'allocation_pools': [{'start': '197.30.72.130', 'end': '197.30.72.190'}], 'gateway_ip': '197.30.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.30.72.130', 'tags': [], 'project_id': '291adfa94e2b47f68a923cfb9dc41773'}} 2025-10-08 22:11:51,692 - INFO - Created VN ctest-vn-16540370 2025-10-08 22:11:51,744 - DEBUG - VN ctest-vn-16540370 UUID is 1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:52,059 - DEBUG - Response for create_network : {'network': {'id': 'c43bc008-2295-4a5a-a7b7-004eca19cac8', 'name': 'ctest-vn-95014586', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'project_id': '291adfa94e2b47f68a923cfb9dc41773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-vn-95014586'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:52,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ca00d9d-ca1e-43da-9941-cb5865aa8c0f', 'name': '', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'network_id': 'c43bc008-2295-4a5a-a7b7-004eca19cac8', 'ip_version': 4, 'cidr': '200.43.82.0/26', 'allocation_pools': [{'start': '200.43.82.2', 'end': '200.43.82.62'}], 'gateway_ip': '200.43.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.43.82.2', 'tags': [], 'project_id': '291adfa94e2b47f68a923cfb9dc41773'}} 2025-10-08 22:11:52,243 - INFO - Created VN ctest-vn-95014586 2025-10-08 22:11:52,296 - DEBUG - VN ctest-vn-95014586 UUID is c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:52,444 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370, 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-84984059:ctest-vn-95014586, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-08 22:11:52,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d20aec8-9ceb-45bf-83c9-b94c29181e83', 'name': 'ctest-vn-16540370', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'project_id': '291adfa94e2b47f68a923cfb9dc41773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bcf50c2b-051a-4b9c-8930-e558ac24bead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-vn-16540370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-policy-allow-all-95550547']], 'subnet_ipam': [{'subnet_cidr': '197.30.72.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:52,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c43bc008-2295-4a5a-a7b7-004eca19cac8', 'name': 'ctest-vn-95014586', 'tenant_id': '291adfa94e2b47f68a923cfb9dc41773', 'project_id': '291adfa94e2b47f68a923cfb9dc41773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ca00d9d-ca1e-43da-9941-cb5865aa8c0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-vn-95014586'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-policy-allow-all-95550547']], 'subnet_ipam': [{'subnet_cidr': '200.43.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:53,116 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:11:53,414 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:11:53,439 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:11:53,451 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:11:53,523 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,533 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,542 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:11:53,549 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:11:53,556 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fe7c0da9-d477-4fa5-893b-ed48860c631d 2025-10-08 22:11:53,562 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 22:11:53,562 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,570 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:11:53,584 - INFO - Verified VN network id 11 for VN 1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,584 - INFO - Verifications in API Server for VN ctest-vn-16540370 passed 2025-10-08 22:11:53,584 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,591 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:11:53,597 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:11:53,604 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fe7c0da9-d477-4fa5-893b-ed48860c631d 2025-10-08 22:11:53,615 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84984059', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2098869603004007871', 'uuid-lslong': '9496325026045501059'}, 'enable': 'true', 'created': '2025-10-08T22:11:51', 'last-modified': '2025-10-08T22:11:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911813'} 2025-10-08 22:11:53,621 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 22:11:53,621 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16540370 passed 2025-10-08 22:11:53,621 - DEBUG - ====Verifying policy data for ctest-vn-16540370 in API_Server ====== 2025-10-08 22:11:53,621 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:11:53,628 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:11:53,637 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:11:53,713 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1d20aec8-9ceb-45bf-83c9-b94c29181e83 2025-10-08 22:11:53,722 - DEBUG - ==>Verifying data for policy with id: 5c4499e7-90d7-4824-bb9b-a3de5864a05b, fqn: ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-policy-allow-all-95550547'] 2025-10-08 22:11:53,722 - INFO - VN ctest-vn-16540370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 22:11:53,722 - DEBUG - Verifying the vn in opserver 2025-10-08 22:11:53,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370 virtual network link through opserver 10.0.0.27 2025-10-08 22:11:53,722 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-08 22:11:54,039 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-08 22:11:54,091 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370?flat'} 2025-10-08 22:11:54,092 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370 is found in opserver 2025-10-08 22:11:54,100 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 22:11:54,104 - DEBUG - VRF ids for VN ctest-vn-16540370: {} 2025-10-08 22:11:54,104 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:11:54,109 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:11:54,119 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:11:54,187 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,202 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,211 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:11:54,219 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:11:54,225 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/de0295a9-fca4-4392-ad8c-5d6817802121 2025-10-08 22:11:54,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 22:11:54,231 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,239 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:11:54,253 - INFO - Verified VN network id 12 for VN c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,253 - INFO - Verifications in API Server for VN ctest-vn-95014586 passed 2025-10-08 22:11:54,253 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,261 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:11:54,268 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:11:54,274 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/de0295a9-fca4-4392-ad8c-5d6817802121 2025-10-08 22:11:54,283 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-95014586', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84984059', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14140106596232284762', 'uuid-lslong': '12085128463470152392'}, 'enable': 'true', 'created': '2025-10-08T22:11:52', 'last-modified': '2025-10-08T22:11:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355818'} 2025-10-08 22:11:54,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 22:11:54,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95014586 passed 2025-10-08 22:11:54,290 - DEBUG - ====Verifying policy data for ctest-vn-95014586 in API_Server ====== 2025-10-08 22:11:54,290 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:11:54,296 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:11:54,306 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:11:54,378 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c43bc008-2295-4a5a-a7b7-004eca19cac8 2025-10-08 22:11:54,387 - DEBUG - ==>Verifying data for policy with id: 5c4499e7-90d7-4824-bb9b-a3de5864a05b, fqn: ['default-domain', 'ctest-TestBasicPolicy-84984059', 'ctest-policy-allow-all-95550547'] 2025-10-08 22:11:54,387 - INFO - VN ctest-vn-95014586 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 22:11:54,387 - DEBUG - Verifying the vn in opserver 2025-10-08 22:11:54,387 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-95014586 virtual network link through opserver 10.0.0.27 2025-10-08 22:11:54,387 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-08 22:11:54,398 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-95014586', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-95014586?flat'} 2025-10-08 22:11:54,398 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-95014586 is found in opserver 2025-10-08 22:11:54,409 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 22:11:54,414 - DEBUG - VRF ids for VN ctest-vn-95014586: {} 2025-10-08 22:11:54,482 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:11:55,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:11:56,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:11:56,677 - INFO - Waiting for VM ctest-TestBasicPolicy-84984059-84843255 to be up.. 2025-10-08 22:11:56,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:12:01,834 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:12:01,835 - INFO - VM name : ctest-TestBasicPolicy-84984059-84843255 2025-10-08 22:12:01,911 - DEBUG - VM ctest-TestBasicPolicy-84984059-84843255 ID is 2a2c89fc-4ea8-4777-a8ec-8ea4d7ffed79 2025-10-08 22:12:01,932 - DEBUG - VM ctest-TestBasicPolicy-84984059-84843255 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:12:02,006 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2a2c89fc-4ea8-4777-a8ec-8ea4d7ffed79 2025-10-08 22:12:02,015 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1ec05119-65bc-4ed2-af8b-1368b413cf66 2025-10-08 22:12:05,254 - 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 1006ms') 2025-10-08 22:12:05,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84984059-84843255 failed! 2025-10-08 22:12:05,312 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84984059:ctest-vn-16540370 is 197.30.72.129 and allocation pool is NOT set 2025-10-08 22:12:07,370 - 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=8.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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.472/4.482/8.492/4.010 ms') 2025-10-08 22:12:07,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84984059-84843255 passed 2025-10-08 22:12:07,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:12:07,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84984059-84843255, IP 197.30.72.131, Port 22 2025-10-08 22:12:07,688 - DEBUG - VM ctest-TestBasicPolicy-84984059-84843255 is ready for SSH connections 2025-10-08 22:12:07,688 - INFO - Waiting for VM ctest-TestBasicPolicy-84984059-43188670 to be up.. 2025-10-08 22:12:07,768 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:12:07,769 - INFO - VM name : ctest-TestBasicPolicy-84984059-43188670 2025-10-08 22:12:07,849 - DEBUG - VM ctest-TestBasicPolicy-84984059-43188670 ID is 627a8248-c029-4e24-9dcf-d7eb0b2a3e01 2025-10-08 22:12:07,849 - DEBUG - VM ctest-TestBasicPolicy-84984059-43188670 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:12:07,931 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/627a8248-c029-4e24-9dcf-d7eb0b2a3e01 2025-10-08 22:12:07,941 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/340a4ada-76c9-401d-ae89-bd3faad3a9b9 2025-10-08 22:12:09,185 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.711 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.711/1.838/2.965/1.127 ms') 2025-10-08 22:12:09,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84984059-43188670 passed 2025-10-08 22:12:09,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:12:09,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84984059-43188670, IP 200.43.82.3, Port 22 2025-10-08 22:12:09,488 - DEBUG - VM ctest-TestBasicPolicy-84984059-43188670 is ready for SSH connections 2025-10-08 22:12:09,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:12:09,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.43.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-08 22:12:09,488 - DEBUG - ping -s 56 -c 3 -W 1 200.43.82.3 2025-10-08 22:12:13,503 - DEBUG - PING 200.43.82.3 (200.43.82.3): 56 data bytes 64 bytes from 200.43.82.3: seq=0 ttl=63 time=4.662 ms 64 bytes from 200.43.82.3: seq=1 ttl=63 time=0.916 ms 64 bytes from 200.43.82.3: seq=2 ttl=63 time=0.924 ms --- 200.43.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.167/4.662 ms 2025-10-08 22:12:13,503 - INFO - Ping to IP 200.43.82.3 from VM ctest-TestBasicPolicy-84984059-84843255 passed 2025-10-08 22:12:13,676 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c4499e7-90d7-4824-bb9b-a3de5864a05b", "href": "http://10.0.0.27:8082/network-policy/5c4499e7-90d7-4824-bb9b-a3de5864a05b"}} 2025-10-08 22:12:13,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:12:13,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.43.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-08 22:12:13,676 - DEBUG - ping -s 56 -c 3 -W 1 200.43.82.3 2025-10-08 22:12:16,892 - DEBUG - PING 200.43.82.3 (200.43.82.3): 56 data bytes --- 200.43.82.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 22:12:16,892 - WARNING - Ping to IP 200.43.82.3 from VM ctest-TestBasicPolicy-84984059-84843255 failed 2025-10-08 22:12:16,892 - INFO - Deleting VM ctest-TestBasicPolicy-84984059-43188670 2025-10-08 22:12:16,961 - INFO - Deleting VM ctest-TestBasicPolicy-84984059-84843255 2025-10-08 22:12:17,318 - INFO - Deleted policy ctest-policy-allow-all-95550547 2025-10-08 22:12:17,318 - INFO - Deleting VN ctest-vn-95014586 2025-10-08 22:12:17,357 - DEBUG - VN c43bc008-2295-4a5a-a7b7-004eca19cac8 still in use: Unable to complete operation on network c43bc008-2295-4a5a-a7b7-004eca19cac8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c2bcfde-e554-4412-97ce-91cca0fa7642'] 2025-10-08 22:12:17,357 - WARNING - Deleting VN ctest-vn-95014586 failed..Will retry 2025-10-08 22:12:19,461 - DEBUG - Response for deleting network () 2025-10-08 22:12:19,461 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0babd39-e176-4af1-bb54-644b45706323 2025-10-08 22:12:19,466 - DEBUG - Response Code: 404 2025-10-08 22:12:19,467 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:12:19,473 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:12:19,525 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:12:19,598 - INFO - Validated that VN ctest-vn-95014586 is not found in API Server 2025-10-08 22:12:19,608 - DEBUG - VN ctest-vn-95014586 is not present in Agent 10.0.0.27 2025-10-08 22:12:19,608 - INFO - Validated that VN ctest-vn-95014586 is not in any agent 2025-10-08 22:12:19,620 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95014586 info 2025-10-08 22:12:19,620 - INFO - Deleting VN ctest-vn-16540370 2025-10-08 22:12:19,730 - DEBUG - Response for deleting network () 2025-10-08 22:12:19,730 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/09e16d1e-d814-4e60-b77a-d9c687626259 2025-10-08 22:12:19,738 - DEBUG - Response Code: 404 2025-10-08 22:12:19,738 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-08 22:12:19,745 - DEBUG - Requesting: http://10.0.0.27:8082/domain/191a2e31-4b3f-45d7-8827-24503f837416 2025-10-08 22:12:19,797 - DEBUG - Requesting: http://10.0.0.27:8082/project/291adfa9-4e2b-47f6-8a92-3cfb9dc41773 2025-10-08 22:12:19,867 - INFO - Validated that VN ctest-vn-16540370 is not found in API Server 2025-10-08 22:12:19,876 - DEBUG - VN ctest-vn-16540370 is not present in Agent 10.0.0.27 2025-10-08 22:12:19,876 - INFO - Validated that VN ctest-vn-16540370 is not in any agent 2025-10-08 22:12:19,887 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16540370 info 2025-10-08 22:12:20,152 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:12:20,152 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-08 22:12:20,152 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:12:20,817 - INFO - Deleted project: ctest-TestBasicPolicy-84984059, ID : 291adfa9-4e2b-47f6-8a92-3cfb9dc41773