2025-05-16 09:50:56,491 - INFO - Domain Default found not creating 2025-05-16 09:50:56,638 - INFO - Project ctest-TestBasicPolicy-45170823 not found, creating it 2025-05-16 09:50:57,100 - INFO - Created Project:ctest-TestBasicPolicy-45170823, ID : 0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:50:58,513 - INFO - ================================================================================ 2025-05-16 09:50:58,513 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-16 09:50:58,514 - 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-05-16 09:50:58,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-16 09:50:58,768 - INFO - Initial checks done. Running the testcase now 2025-05-16 09:50:58,768 - INFO - 2025-05-16 09:50:59,291 - DEBUG - Response for create_network : {'network': {'id': 'df8c9775-8a9b-4b90-9003-c500795f94b7', 'name': 'ctest-vn-56752471', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-vn-56752471'], 'port_security_enabled': True, 'description': ''}} 2025-05-16 09:50:59,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0030a3c-d196-4f2e-a795-cd3ca3a0f727', 'name': '', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'network_id': 'df8c9775-8a9b-4b90-9003-c500795f94b7', 'ip_version': 4, 'cidr': '199.112.169.128/26', 'allocation_pools': [{'start': '199.112.169.130', 'end': '199.112.169.190'}], 'gateway_ip': '199.112.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.112.169.130', 'tags': [], 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7'}} 2025-05-16 09:50:59,438 - INFO - Created VN ctest-vn-56752471 2025-05-16 09:50:59,489 - DEBUG - VN ctest-vn-56752471 UUID is df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:50:59,770 - DEBUG - Response for create_network : {'network': {'id': 'cb2a6f99-2f75-4b67-a198-46a673d3bc48', 'name': 'ctest-vn-34330355', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-vn-34330355'], 'port_security_enabled': True, 'description': ''}} 2025-05-16 09:50:59,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '786334bf-548a-4587-b46b-3415dc1f13ab', 'name': '', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'network_id': 'cb2a6f99-2f75-4b67-a198-46a673d3bc48', 'ip_version': 4, 'cidr': '138.66.129.64/26', 'allocation_pools': [{'start': '138.66.129.66', 'end': '138.66.129.126'}], 'gateway_ip': '138.66.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.66.129.66', 'tags': [], 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7'}} 2025-05-16 09:50:59,954 - INFO - Created VN ctest-vn-34330355 2025-05-16 09:51:00,010 - DEBUG - VN ctest-vn-34330355 UUID is cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:00,165 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471, 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-45170823:ctest-vn-34330355, 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-05-16 09:51:00,505 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df8c9775-8a9b-4b90-9003-c500795f94b7', 'name': 'ctest-vn-56752471', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0030a3c-d196-4f2e-a795-cd3ca3a0f727'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-vn-56752471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-policy-allow-all-28065220']], 'subnet_ipam': [{'subnet_cidr': '199.112.169.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-16 09:51:00,748 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb2a6f99-2f75-4b67-a198-46a673d3bc48', 'name': 'ctest-vn-34330355', 'tenant_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'project_id': '0c14cc8b4a6c45f69b42478b60af1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['786334bf-548a-4587-b46b-3415dc1f13ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-vn-34330355'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-policy-allow-all-28065220']], 'subnet_ipam': [{'subnet_cidr': '138.66.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-16 09:51:00,918 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:01,207 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:01,235 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:01,247 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:01,320 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,332 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,344 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:01,352 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:01,359 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/974991ad-49a1-4c79-8a5c-55f721e61c15 2025-05-16 09:51:01,367 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-16 09:51:01,367 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,377 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:01,391 - INFO - Verified VN network id 7 for VN df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,391 - INFO - Verifications in API Server for VN ctest-vn-56752471 passed 2025-05-16 09:51:01,392 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,401 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:01,409 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:01,416 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/974991ad-49a1-4c79-8a5c-55f721e61c15 2025-05-16 09:51:01,429 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45170823', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16108416498289822608', 'uuid-lslong': '10377354572218733751'}, 'enable': 'true', 'created': '2025-05-16T09:50:59', 'last-modified': '2025-05-16T09:51:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995223'} 2025-05-16 09:51:01,436 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-16 09:51:01,436 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56752471 passed 2025-05-16 09:51:01,436 - DEBUG - ====Verifying policy data for ctest-vn-56752471 in API_Server ====== 2025-05-16 09:51:01,436 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:01,443 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:01,454 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:01,528 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/df8c9775-8a9b-4b90-9003-c500795f94b7 2025-05-16 09:51:01,539 - DEBUG - ==>Verifying data for policy with id: 844fc84b-2c44-4bdb-9eea-4a2adbf65b0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-policy-allow-all-28065220'] 2025-05-16 09:51:01,539 - INFO - VN ctest-vn-56752471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-16 09:51:01,539 - DEBUG - Verifying the vn in opserver 2025-05-16 09:51:01,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471 virtual network link through opserver 10.0.0.49 2025-05-16 09:51:01,539 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-16 09:51:01,826 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-16 09:51:01,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471?flat'} 2025-05-16 09:51:01,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471 is found in opserver 2025-05-16 09:51:01,890 - DEBUG - Do not have enough data to verify VN in agent 2025-05-16 09:51:01,895 - DEBUG - VRF ids for VN ctest-vn-56752471: {} 2025-05-16 09:51:01,895 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:01,901 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:01,914 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:01,984 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:01,997 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:02,007 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:02,016 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:02,024 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e1672e6b-d04c-405e-91e3-14bdfb4118b9 2025-05-16 09:51:02,032 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-16 09:51:02,032 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:02,044 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:02,060 - INFO - Verified VN network id 8 for VN cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:02,060 - INFO - Verifications in API Server for VN ctest-vn-34330355 passed 2025-05-16 09:51:02,060 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:02,069 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:02,076 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:02,083 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e1672e6b-d04c-405e-91e3-14bdfb4118b9 2025-05-16 09:51:02,094 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-34330355', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45170823', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14639636242438114151', 'uuid-lslong': '11644134517288189000'}, 'enable': 'true', 'created': '2025-05-16T09:50:59', 'last-modified': '2025-05-16T09:51:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377094'} 2025-05-16 09:51:02,100 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-16 09:51:02,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34330355 passed 2025-05-16 09:51:02,100 - DEBUG - ====Verifying policy data for ctest-vn-34330355 in API_Server ====== 2025-05-16 09:51:02,101 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:02,106 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:02,117 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:02,192 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cb2a6f99-2f75-4b67-a198-46a673d3bc48 2025-05-16 09:51:02,201 - DEBUG - ==>Verifying data for policy with id: 844fc84b-2c44-4bdb-9eea-4a2adbf65b0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-45170823', 'ctest-policy-allow-all-28065220'] 2025-05-16 09:51:02,201 - INFO - VN ctest-vn-34330355 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-16 09:51:02,201 - DEBUG - Verifying the vn in opserver 2025-05-16 09:51:02,202 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-34330355 virtual network link through opserver 10.0.0.49 2025-05-16 09:51:02,202 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-16 09:51:02,211 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-34330355', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-34330355?flat'} 2025-05-16 09:51:02,211 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-34330355 is found in opserver 2025-05-16 09:51:02,220 - DEBUG - Do not have enough data to verify VN in agent 2025-05-16 09:51:02,226 - DEBUG - VRF ids for VN ctest-vn-34330355: {} 2025-05-16 09:51:02,278 - DEBUG - Services list from nova: [, , ] 2025-05-16 09:51:03,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3321-1) 2025-05-16 09:51:04,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3321-1) 2025-05-16 09:51:04,489 - INFO - Waiting for VM ctest-TestBasicPolicy-45170823-11306901 to be up.. 2025-05-16 09:51:04,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-16 09:51:09,661 - DEBUG - VM is in ACTIVE state now 2025-05-16 09:51:09,661 - INFO - VM name : ctest-TestBasicPolicy-45170823-11306901 2025-05-16 09:51:09,737 - DEBUG - VM ctest-TestBasicPolicy-45170823-11306901 ID is 42c346d9-6d5b-4b8b-86cc-920a13548125 2025-05-16 09:51:09,755 - DEBUG - VM ctest-TestBasicPolicy-45170823-11306901 launched on Node cn-jenkins-deploy-platform-ansible-os-3321-1 2025-05-16 09:51:09,824 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/42c346d9-6d5b-4b8b-86cc-920a13548125 2025-05-16 09:51:09,834 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3e7b6575-6f07-45e1-a2c2-1579e56e04b8 2025-05-16 09:51:13,098 - 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 1031ms') 2025-05-16 09:51:13,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45170823-11306901 failed! 2025-05-16 09:51:13,153 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45170823:ctest-vn-56752471 is 199.112.169.129 and allocation pool is NOT set 2025-05-16 09:51:15,216 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.575/2.729/1.154 ms') 2025-05-16 09:51:15,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45170823-11306901 passed 2025-05-16 09:51:15,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:51:15,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45170823-11306901, IP 199.112.169.131, Port 22 2025-05-16 09:51:15,521 - DEBUG - VM ctest-TestBasicPolicy-45170823-11306901 is ready for SSH connections 2025-05-16 09:51:15,521 - INFO - Waiting for VM ctest-TestBasicPolicy-45170823-59010648 to be up.. 2025-05-16 09:51:15,594 - DEBUG - VM is in ACTIVE state now 2025-05-16 09:51:15,595 - INFO - VM name : ctest-TestBasicPolicy-45170823-59010648 2025-05-16 09:51:15,669 - DEBUG - VM ctest-TestBasicPolicy-45170823-59010648 ID is 80f0a046-1f52-40a6-8ac4-9ba004143f0a 2025-05-16 09:51:15,669 - DEBUG - VM ctest-TestBasicPolicy-45170823-59010648 launched on Node cn-jenkins-deploy-platform-ansible-os-3321-1 2025-05-16 09:51:15,736 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/80f0a046-1f52-40a6-8ac4-9ba004143f0a 2025-05-16 09:51:15,744 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/69d2e4d9-d25c-4bed-861f-9499d9078801 2025-05-16 09:51:16,981 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.252/3.070/4.889/1.818 ms') 2025-05-16 09:51:16,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45170823-59010648 passed 2025-05-16 09:51:17,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:51:17,138 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45170823-59010648, IP 138.66.129.67, Port 22 2025-05-16 09:51:17,293 - DEBUG - VM ctest-TestBasicPolicy-45170823-59010648 is ready for SSH connections 2025-05-16 09:51:17,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:51:17,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.66.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-16 09:51:17,294 - DEBUG - ping -s 56 -c 3 -W 1 138.66.129.67 2025-05-16 09:51:21,392 - DEBUG - PING 138.66.129.67 (138.66.129.67): 56 data bytes 64 bytes from 138.66.129.67: seq=0 ttl=63 time=4.169 ms 64 bytes from 138.66.129.67: seq=1 ttl=63 time=0.727 ms 64 bytes from 138.66.129.67: seq=2 ttl=63 time=0.683 ms --- 138.66.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.683/1.859/4.169 ms 2025-05-16 09:51:21,392 - INFO - Ping to IP 138.66.129.67 from VM ctest-TestBasicPolicy-45170823-11306901 passed 2025-05-16 09:51:21,589 - DEBUG - Policy Update Response {"network-policy": {"uuid": "844fc84b-2c44-4bdb-9eea-4a2adbf65b0f", "href": "http://10.0.0.49:8082/network-policy/844fc84b-2c44-4bdb-9eea-4a2adbf65b0f"}} 2025-05-16 09:51:21,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:51:21,590 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.66.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-16 09:51:21,590 - DEBUG - ping -s 56 -c 3 -W 1 138.66.129.67 2025-05-16 09:51:24,808 - DEBUG - PING 138.66.129.67 (138.66.129.67): 56 data bytes --- 138.66.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-16 09:51:24,808 - WARNING - Ping to IP 138.66.129.67 from VM ctest-TestBasicPolicy-45170823-11306901 failed 2025-05-16 09:51:24,808 - INFO - Deleting VM ctest-TestBasicPolicy-45170823-59010648 2025-05-16 09:51:24,877 - INFO - Deleting VM ctest-TestBasicPolicy-45170823-11306901 2025-05-16 09:51:25,239 - INFO - Deleted policy ctest-policy-allow-all-28065220 2025-05-16 09:51:25,239 - INFO - Deleting VN ctest-vn-34330355 2025-05-16 09:51:25,271 - DEBUG - VN cb2a6f99-2f75-4b67-a198-46a673d3bc48 still in use: Unable to complete operation on network cb2a6f99-2f75-4b67-a198-46a673d3bc48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-636bb836-a61b-4ad5-9d84-79f000049d58'] 2025-05-16 09:51:25,271 - WARNING - Deleting VN ctest-vn-34330355 failed..Will retry 2025-05-16 09:51:27,376 - DEBUG - Response for deleting network () 2025-05-16 09:51:27,376 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f1c1f069-6278-4345-9259-1c531626b75a 2025-05-16 09:51:27,384 - DEBUG - Response Code: 404 2025-05-16 09:51:27,384 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:27,390 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:27,452 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:27,527 - INFO - Validated that VN ctest-vn-34330355 is not found in API Server 2025-05-16 09:51:27,540 - DEBUG - VN ctest-vn-34330355 is not present in Agent 10.0.0.49 2025-05-16 09:51:27,540 - INFO - Validated that VN ctest-vn-34330355 is not in any agent 2025-05-16 09:51:27,554 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34330355 info 2025-05-16 09:51:27,554 - INFO - Deleting VN ctest-vn-56752471 2025-05-16 09:51:27,656 - DEBUG - Response for deleting network () 2025-05-16 09:51:27,657 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/713bbe99-7eec-4832-915a-b93454b2950a 2025-05-16 09:51:27,662 - DEBUG - Response Code: 404 2025-05-16 09:51:27,662 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-16 09:51:27,668 - DEBUG - Requesting: http://10.0.0.49:8082/domain/62b7e1c1-9e57-4bf1-9b45-6a8842f43024 2025-05-16 09:51:27,725 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c14cc8b-4a6c-45f6-9b42-478b60af1ec7 2025-05-16 09:51:27,808 - INFO - Validated that VN ctest-vn-56752471 is not found in API Server 2025-05-16 09:51:27,819 - DEBUG - VN ctest-vn-56752471 is not present in Agent 10.0.0.49 2025-05-16 09:51:27,819 - INFO - Validated that VN ctest-vn-56752471 is not in any agent 2025-05-16 09:51:27,836 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56752471 info 2025-05-16 09:51:28,095 - DEBUG - No XMPP flaps were noticed during the test
2025-05-16 09:51:28,095 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-16 09:51:28,095 - INFO - -------------------------------------------------------------------------------- 2025-05-16 09:51:28,769 - INFO - Deleted project: ctest-TestBasicPolicy-45170823, ID : 0c14cc8b-4a6c-45f6-9b42-478b60af1ec7