2025-01-30 02:29:57,192 - INFO - Domain Default found not creating 2025-01-30 02:29:57,326 - INFO - Project ctest-TestBasicPolicy-74509982 not found, creating it 2025-01-30 02:29:57,784 - INFO - Created Project:ctest-TestBasicPolicy-74509982, ID : c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:29:59,238 - INFO - ================================================================================ 2025-01-30 02:29:59,238 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-30 02:29:59,238 - 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-30 02:29:59,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.0.0.28': '0'}} with 2025-01-30 02:29:59,499 - INFO - Initial checks done. Running the testcase now 2025-01-30 02:29:59,499 - INFO - 2025-01-30 02:30:00,051 - DEBUG - Response for create_network : {'network': {'id': '5c1417fb-a095-4798-b04b-b5db6933b6f1', 'name': 'ctest-vn-03423046', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'project_id': 'c553f681154e4c398fac609a0c5262cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-vn-03423046'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 02:30:00,275 - DEBUG - Response for create_subnet : {'subnet': {'id': '24223fd2-6385-42ee-9223-9dc36eb034a1', 'name': '', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'network_id': '5c1417fb-a095-4798-b04b-b5db6933b6f1', 'ip_version': 4, 'cidr': '116.145.206.192/26', 'allocation_pools': [{'start': '116.145.206.194', 'end': '116.145.206.254'}], 'gateway_ip': '116.145.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.145.206.194', 'tags': [], 'project_id': 'c553f681154e4c398fac609a0c5262cc'}} 2025-01-30 02:30:00,293 - INFO - Created VN ctest-vn-03423046 2025-01-30 02:30:00,345 - DEBUG - VN ctest-vn-03423046 UUID is 5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:00,642 - DEBUG - Response for create_network : {'network': {'id': 'dcc1fe05-115a-402a-97f5-0b174cb4d731', 'name': 'ctest-vn-88307362', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'project_id': 'c553f681154e4c398fac609a0c5262cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-vn-88307362'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 02:30:00,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dca8372-949b-4ecf-bbba-f5c36e4c54f6', 'name': '', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'network_id': 'dcc1fe05-115a-402a-97f5-0b174cb4d731', 'ip_version': 4, 'cidr': '139.208.193.192/26', 'allocation_pools': [{'start': '139.208.193.194', 'end': '139.208.193.254'}], 'gateway_ip': '139.208.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.208.193.194', 'tags': [], 'project_id': 'c553f681154e4c398fac609a0c5262cc'}} 2025-01-30 02:30:00,859 - INFO - Created VN ctest-vn-88307362 2025-01-30 02:30:00,913 - DEBUG - VN ctest-vn-88307362 UUID is dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:01,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046, 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-74509982:ctest-vn-88307362, 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-30 02:30:01,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c1417fb-a095-4798-b04b-b5db6933b6f1', 'name': 'ctest-vn-03423046', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'project_id': 'c553f681154e4c398fac609a0c5262cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24223fd2-6385-42ee-9223-9dc36eb034a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-vn-03423046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-policy-allow-all-61583391']], 'subnet_ipam': [{'subnet_cidr': '116.145.206.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-30 02:30:01,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dcc1fe05-115a-402a-97f5-0b174cb4d731', 'name': 'ctest-vn-88307362', 'tenant_id': 'c553f681154e4c398fac609a0c5262cc', 'project_id': 'c553f681154e4c398fac609a0c5262cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1dca8372-949b-4ecf-bbba-f5c36e4c54f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-vn-88307362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-policy-allow-all-61583391']], 'subnet_ipam': [{'subnet_cidr': '139.208.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-30 02:30:01,757 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:02,062 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:02,094 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:02,107 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:02,186 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,200 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,210 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:02,219 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:02,227 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/032015f8-1787-47c6-bb3c-5e87ca903178 2025-01-30 02:30:02,237 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-30 02:30:02,237 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,247 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:02,262 - INFO - Verified VN network id 8 for VN 5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,262 - INFO - Verifications in API Server for VN ctest-vn-03423046 passed 2025-01-30 02:30:02,262 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,272 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:02,279 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:02,287 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/032015f8-1787-47c6-bb3c-5e87ca903178 2025-01-30 02:30:02,300 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74509982', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6634954520521951128', 'uuid-lslong': '12703447127896078065'}, 'enable': 'true', 'created': '2025-01-30T02:30:00', 'last-modified': '2025-01-30T02:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981961'} 2025-01-30 02:30:02,307 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-30 02:30:02,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03423046 passed 2025-01-30 02:30:02,307 - DEBUG - ====Verifying policy data for ctest-vn-03423046 in API_Server ====== 2025-01-30 02:30:02,307 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:02,314 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:02,327 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:02,411 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5c1417fb-a095-4798-b04b-b5db6933b6f1 2025-01-30 02:30:02,420 - DEBUG - ==>Verifying data for policy with id: cfcccc30-6f64-4ae8-b5de-82c6737391be, fqn: ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-policy-allow-all-61583391'] 2025-01-30 02:30:02,420 - INFO - VN ctest-vn-03423046 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-30 02:30:02,420 - DEBUG - Verifying the vn in opserver 2025-01-30 02:30:02,421 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046 virtual network link through opserver 10.0.0.28 2025-01-30 02:30:02,421 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-30 02:30:02,719 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-30 02:30:02,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046?flat'} 2025-01-30 02:30:02,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046 is found in opserver 2025-01-30 02:30:02,800 - DEBUG - Do not have enough data to verify VN in agent 2025-01-30 02:30:02,806 - DEBUG - VRF ids for VN ctest-vn-03423046: {} 2025-01-30 02:30:02,806 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:02,813 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:02,830 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:02,904 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:02,916 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:02,926 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:02,933 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:02,942 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/70221a44-ffc4-415d-a16d-e556976c7f46 2025-01-30 02:30:02,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-30 02:30:02,949 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:02,960 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:02,973 - INFO - Verified VN network id 9 for VN dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:02,973 - INFO - Verifications in API Server for VN ctest-vn-88307362 passed 2025-01-30 02:30:02,973 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:02,984 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:02,991 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:02,998 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/70221a44-ffc4-415d-a16d-e556976c7f46 2025-01-30 02:30:03,011 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-88307362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74509982', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15907274656568721450', 'uuid-lslong': '10949670263720302385'}, 'enable': 'true', 'created': '2025-01-30T02:30:00', 'last-modified': '2025-01-30T02:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.443103'} 2025-01-30 02:30:03,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-30 02:30:03,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88307362 passed 2025-01-30 02:30:03,018 - DEBUG - ====Verifying policy data for ctest-vn-88307362 in API_Server ====== 2025-01-30 02:30:03,018 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:03,024 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:03,039 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:03,112 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/dcc1fe05-115a-402a-97f5-0b174cb4d731 2025-01-30 02:30:03,122 - DEBUG - ==>Verifying data for policy with id: cfcccc30-6f64-4ae8-b5de-82c6737391be, fqn: ['default-domain', 'ctest-TestBasicPolicy-74509982', 'ctest-policy-allow-all-61583391'] 2025-01-30 02:30:03,122 - INFO - VN ctest-vn-88307362 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-30 02:30:03,122 - DEBUG - Verifying the vn in opserver 2025-01-30 02:30:03,122 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-88307362 virtual network link through opserver 10.0.0.28 2025-01-30 02:30:03,122 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-30 02:30:03,132 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-88307362', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-88307362?flat'} 2025-01-30 02:30:03,132 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-88307362 is found in opserver 2025-01-30 02:30:03,143 - DEBUG - Do not have enough data to verify VN in agent 2025-01-30 02:30:03,149 - DEBUG - VRF ids for VN ctest-vn-88307362: {} 2025-01-30 02:30:03,206 - DEBUG - Services list from nova: [, , ] 2025-01-30 02:30:04,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2669-1) 2025-01-30 02:30:05,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2669-1) 2025-01-30 02:30:05,443 - INFO - Waiting for VM ctest-TestBasicPolicy-74509982-56925610 to be up.. 2025-01-30 02:30:05,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-30 02:30:10,626 - DEBUG - VM is in ACTIVE state now 2025-01-30 02:30:10,626 - INFO - VM name : ctest-TestBasicPolicy-74509982-56925610 2025-01-30 02:30:10,708 - DEBUG - VM ctest-TestBasicPolicy-74509982-56925610 ID is 8a05b795-b73c-4b41-8818-1777bb51f9d1 2025-01-30 02:30:10,727 - DEBUG - VM ctest-TestBasicPolicy-74509982-56925610 launched on Node cn-jenkins-deploy-platform-ansible-os-2669-1. 2025-01-30 02:30:10,808 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8a05b795-b73c-4b41-8818-1777bb51f9d1 2025-01-30 02:30:10,818 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/e0404482-bf87-4578-be0a-db4a86d43878 2025-01-30 02:30:14,059 - 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 1035ms') 2025-01-30 02:30:14,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74509982-56925610 failed! 2025-01-30 02:30:14,117 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74509982:ctest-vn-03423046 is 116.145.206.193 and allocation pool is NOT set 2025-01-30 02:30:16,180 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.830/5.252/8.675/3.422 ms') 2025-01-30 02:30:16,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74509982-56925610 passed 2025-01-30 02:30:16,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:30:16,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74509982-56925610, IP 116.145.206.195, Port 22 2025-01-30 02:30:16,488 - DEBUG - VM ctest-TestBasicPolicy-74509982-56925610 is ready for SSH connections 2025-01-30 02:30:16,488 - INFO - Waiting for VM ctest-TestBasicPolicy-74509982-86483431 to be up.. 2025-01-30 02:30:16,565 - DEBUG - VM is in ACTIVE state now 2025-01-30 02:30:16,566 - INFO - VM name : ctest-TestBasicPolicy-74509982-86483431 2025-01-30 02:30:16,640 - DEBUG - VM ctest-TestBasicPolicy-74509982-86483431 ID is 8da0e756-8f14-42ad-956a-0010853b880a 2025-01-30 02:30:16,640 - DEBUG - VM ctest-TestBasicPolicy-74509982-86483431 launched on Node cn-jenkins-deploy-platform-ansible-os-2669-1. 2025-01-30 02:30:16,718 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8da0e756-8f14-42ad-956a-0010853b880a 2025-01-30 02:30:16,727 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/4649f423-c7fc-4251-8123-ad76949f07b0 2025-01-30 02:30:17,970 - 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=8.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/4.406/8.444/4.038 ms') 2025-01-30 02:30:17,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74509982-86483431 passed 2025-01-30 02:30:18,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:30:18,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74509982-86483431, IP 139.208.193.195, Port 22 2025-01-30 02:30:18,276 - DEBUG - VM ctest-TestBasicPolicy-74509982-86483431 is ready for SSH connections 2025-01-30 02:30:18,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:30:18,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.208.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-30 02:30:18,277 - DEBUG - ping -s 56 -c 3 -W 1 139.208.193.195 2025-01-30 02:30:22,000 - DEBUG - PING 139.208.193.195 (139.208.193.195): 56 data bytes 64 bytes from 139.208.193.195: seq=0 ttl=63 time=4.240 ms 64 bytes from 139.208.193.195: seq=1 ttl=63 time=0.916 ms 64 bytes from 139.208.193.195: seq=2 ttl=63 time=0.985 ms --- 139.208.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.047/4.240 ms 2025-01-30 02:30:22,000 - INFO - Ping to IP 139.208.193.195 from VM ctest-TestBasicPolicy-74509982-56925610 passed 2025-01-30 02:30:22,185 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cfcccc30-6f64-4ae8-b5de-82c6737391be", "href": "http://10.0.0.28:8082/network-policy/cfcccc30-6f64-4ae8-b5de-82c6737391be"}} 2025-01-30 02:30:22,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:30:22,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.208.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-30 02:30:22,185 - DEBUG - ping -s 56 -c 3 -W 1 139.208.193.195 2025-01-30 02:30:25,386 - DEBUG - PING 139.208.193.195 (139.208.193.195): 56 data bytes 64 bytes from 139.208.193.195: seq=0 ttl=63 time=1.822 ms --- 139.208.193.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.822/1.822/1.822 ms 2025-01-30 02:30:25,386 - WARNING - Ping to IP 139.208.193.195 from VM ctest-TestBasicPolicy-74509982-56925610 failed 2025-01-30 02:30:25,386 - INFO - Deleting VM ctest-TestBasicPolicy-74509982-86483431 2025-01-30 02:30:25,455 - INFO - Deleting VM ctest-TestBasicPolicy-74509982-56925610 2025-01-30 02:30:25,861 - INFO - Deleted policy ctest-policy-allow-all-61583391 2025-01-30 02:30:25,861 - INFO - Deleting VN ctest-vn-88307362 2025-01-30 02:30:25,907 - DEBUG - VN dcc1fe05-115a-402a-97f5-0b174cb4d731 still in use: Unable to complete operation on network dcc1fe05-115a-402a-97f5-0b174cb4d731. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dff8efed-f2bf-4566-bae2-6cb33dfb4dcb'] 2025-01-30 02:30:25,907 - WARNING - Deleting VN ctest-vn-88307362 failed..Will retry 2025-01-30 02:30:28,004 - DEBUG - Response for deleting network () 2025-01-30 02:30:28,005 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/12e41b4c-f864-4861-879a-a1976d008826 2025-01-30 02:30:28,009 - DEBUG - Response Code: 404 2025-01-30 02:30:28,010 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:28,019 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:28,074 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:28,145 - INFO - Validated that VN ctest-vn-88307362 is not found in API Server 2025-01-30 02:30:28,155 - DEBUG - VN ctest-vn-88307362 is not present in Agent 10.0.0.28 2025-01-30 02:30:28,155 - INFO - Validated that VN ctest-vn-88307362 is not in any agent 2025-01-30 02:30:28,170 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88307362 info 2025-01-30 02:30:28,170 - INFO - Deleting VN ctest-vn-03423046 2025-01-30 02:30:28,304 - DEBUG - Response for deleting network () 2025-01-30 02:30:28,305 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/87a046b7-2d96-4fb2-aadf-32c54d7ff14c 2025-01-30 02:30:28,311 - DEBUG - Response Code: 404 2025-01-30 02:30:28,311 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-30 02:30:28,316 - DEBUG - Requesting: http://10.0.0.28:8082/domain/312d7d96-6036-429e-b776-bbf9b792f41d 2025-01-30 02:30:28,371 - DEBUG - Requesting: http://10.0.0.28:8082/project/c553f681-154e-4c39-8fac-609a0c5262cc 2025-01-30 02:30:28,442 - INFO - Validated that VN ctest-vn-03423046 is not found in API Server 2025-01-30 02:30:28,458 - DEBUG - VN ctest-vn-03423046 is not present in Agent 10.0.0.28 2025-01-30 02:30:28,458 - INFO - Validated that VN ctest-vn-03423046 is not in any agent 2025-01-30 02:30:28,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03423046 info 2025-01-30 02:30:28,731 - DEBUG - No XMPP flaps were noticed during the test
2025-01-30 02:30:28,731 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-30 02:30:28,731 - INFO - -------------------------------------------------------------------------------- 2025-01-30 02:30:29,398 - INFO - Deleted project: ctest-TestBasicPolicy-74509982, ID : c553f681-154e-4c39-8fac-609a0c5262cc