2025-07-15 19:13:45,830 - INFO - Domain Default found not creating 2025-07-15 19:13:45,996 - INFO - Project ctest-TestBasicPolicy-74381617 not found, creating it 2025-07-15 19:13:46,481 - INFO - Created Project:ctest-TestBasicPolicy-74381617, ID : 497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:13:48,010 - INFO - ================================================================================ 2025-07-15 19:13:48,011 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-15 19:13:48,011 - 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-07-15 19:13:48,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-15 19:13:48,272 - INFO - Initial checks done. Running the testcase now 2025-07-15 19:13:48,272 - INFO - 2025-07-15 19:13:48,857 - DEBUG - Response for create_network : {'network': {'id': '9540c09b-65b0-4ea2-8af1-3d3b7c2de618', 'name': 'ctest-vn-20502404', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'project_id': '497a5376886c4a409e98d8b199924203', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-vn-20502404'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 19:13:49,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '77cd4912-9467-40a8-a5af-5bdd7362d6c6', 'name': '', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'network_id': '9540c09b-65b0-4ea2-8af1-3d3b7c2de618', 'ip_version': 4, 'cidr': '204.206.255.64/26', 'allocation_pools': [{'start': '204.206.255.66', 'end': '204.206.255.126'}], 'gateway_ip': '204.206.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.206.255.66', 'tags': [], 'project_id': '497a5376886c4a409e98d8b199924203'}} 2025-07-15 19:13:49,105 - INFO - Created VN ctest-vn-20502404 2025-07-15 19:13:49,161 - DEBUG - VN ctest-vn-20502404 UUID is 9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:49,466 - DEBUG - Response for create_network : {'network': {'id': 'f4eb57d3-d990-4936-8a5f-f79f933c108e', 'name': 'ctest-vn-50364730', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'project_id': '497a5376886c4a409e98d8b199924203', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-vn-50364730'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 19:13:49,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0f6195e-2606-4952-83c8-ad9a4a40941c', 'name': '', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'network_id': 'f4eb57d3-d990-4936-8a5f-f79f933c108e', 'ip_version': 4, 'cidr': '148.16.73.128/26', 'allocation_pools': [{'start': '148.16.73.130', 'end': '148.16.73.190'}], 'gateway_ip': '148.16.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.16.73.130', 'tags': [], 'project_id': '497a5376886c4a409e98d8b199924203'}} 2025-07-15 19:13:49,668 - INFO - Created VN ctest-vn-50364730 2025-07-15 19:13:49,725 - DEBUG - VN ctest-vn-50364730 UUID is f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:49,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404, 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-74381617:ctest-vn-50364730, 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-07-15 19:13:50,188 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9540c09b-65b0-4ea2-8af1-3d3b7c2de618', 'name': 'ctest-vn-20502404', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'project_id': '497a5376886c4a409e98d8b199924203', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77cd4912-9467-40a8-a5af-5bdd7362d6c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-vn-20502404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-policy-allow-all-84065365']], 'subnet_ipam': [{'subnet_cidr': '204.206.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 19:13:50,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4eb57d3-d990-4936-8a5f-f79f933c108e', 'name': 'ctest-vn-50364730', 'tenant_id': '497a5376886c4a409e98d8b199924203', 'project_id': '497a5376886c4a409e98d8b199924203', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0f6195e-2606-4952-83c8-ad9a4a40941c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-vn-50364730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-policy-allow-all-84065365']], 'subnet_ipam': [{'subnet_cidr': '148.16.73.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 19:13:50,642 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:13:50,942 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:13:50,974 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:13:50,988 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:13:51,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,086 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:13:51,094 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:13:51,102 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/17826a7b-a59b-4603-8638-be27952656f6 2025-07-15 19:13:51,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 19:13:51,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:13:51,134 - INFO - Verified VN network id 8 for VN 9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,134 - INFO - Verifications in API Server for VN ctest-vn-20502404 passed 2025-07-15 19:13:51,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,144 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:13:51,152 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:13:51,159 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/17826a7b-a59b-4603-8638-be27952656f6 2025-07-15 19:13:51,172 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74381617', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10754807683819261602', 'uuid-lslong': '10011850772317070872'}, 'enable': 'true', 'created': '2025-07-15T19:13:48', 'last-modified': '2025-07-15T19:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018819'} 2025-07-15 19:13:51,179 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 19:13:51,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20502404 passed 2025-07-15 19:13:51,179 - DEBUG - ====Verifying policy data for ctest-vn-20502404 in API_Server ====== 2025-07-15 19:13:51,179 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:13:51,185 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:13:51,198 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:13:51,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9540c09b-65b0-4ea2-8af1-3d3b7c2de618 2025-07-15 19:13:51,280 - DEBUG - ==>Verifying data for policy with id: ddb41d38-99aa-4574-93f1-53b76b3d43ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-policy-allow-all-84065365'] 2025-07-15 19:13:51,281 - INFO - VN ctest-vn-20502404 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 19:13:51,281 - DEBUG - Verifying the vn in opserver 2025-07-15 19:13:51,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404 virtual network link through opserver 10.0.0.50 2025-07-15 19:13:51,281 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 19:13:51,579 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 19:13:51,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404?flat'} 2025-07-15 19:13:51,639 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404 is found in opserver 2025-07-15 19:13:51,653 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 19:13:51,659 - DEBUG - VRF ids for VN ctest-vn-20502404: {} 2025-07-15 19:13:51,659 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:13:51,666 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:13:51,681 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:13:51,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:51,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:51,796 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:13:51,807 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:13:51,816 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e4824707-f206-4600-8c51-c0078288f4bd 2025-07-15 19:13:51,825 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 19:13:51,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:51,836 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:13:51,853 - INFO - Verified VN network id 9 for VN f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:51,853 - INFO - Verifications in API Server for VN ctest-vn-50364730 passed 2025-07-15 19:13:51,853 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:51,865 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:13:51,874 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:13:51,884 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e4824707-f206-4600-8c51-c0078288f4bd 2025-07-15 19:13:51,899 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-50364730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74381617', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17648296132181248310', 'uuid-lslong': '9970960364763615374'}, 'enable': 'true', 'created': '2025-07-15T19:13:49', 'last-modified': '2025-07-15T19:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.496986'} 2025-07-15 19:13:51,907 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 19:13:51,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50364730 passed 2025-07-15 19:13:51,907 - DEBUG - ====Verifying policy data for ctest-vn-50364730 in API_Server ====== 2025-07-15 19:13:51,908 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:13:51,914 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:13:51,927 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:13:52,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f4eb57d3-d990-4936-8a5f-f79f933c108e 2025-07-15 19:13:52,014 - DEBUG - ==>Verifying data for policy with id: ddb41d38-99aa-4574-93f1-53b76b3d43ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74381617', 'ctest-policy-allow-all-84065365'] 2025-07-15 19:13:52,014 - INFO - VN ctest-vn-50364730 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 19:13:52,014 - DEBUG - Verifying the vn in opserver 2025-07-15 19:13:52,014 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-50364730 virtual network link through opserver 10.0.0.50 2025-07-15 19:13:52,014 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 19:13:52,028 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-50364730', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-50364730?flat'} 2025-07-15 19:13:52,028 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-50364730 is found in opserver 2025-07-15 19:13:52,040 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 19:13:52,045 - DEBUG - VRF ids for VN ctest-vn-50364730: {} 2025-07-15 19:13:52,108 - DEBUG - Services list from nova: [, , ] 2025-07-15 19:13:53,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3642-1) 2025-07-15 19:13:54,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3642-1) 2025-07-15 19:13:54,443 - INFO - Waiting for VM ctest-TestBasicPolicy-74381617-06465617 to be up.. 2025-07-15 19:13:54,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 19:13:59,628 - DEBUG - VM is in ACTIVE state now 2025-07-15 19:13:59,628 - INFO - VM name : ctest-TestBasicPolicy-74381617-06465617 2025-07-15 19:13:59,710 - DEBUG - VM ctest-TestBasicPolicy-74381617-06465617 ID is 2c69e7b3-dd79-4f72-a33e-00693e4d3200 2025-07-15 19:13:59,732 - DEBUG - VM ctest-TestBasicPolicy-74381617-06465617 launched on Node cn-jenkins-deploy-platform-ansible-os-3642-1 2025-07-15 19:13:59,812 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2c69e7b3-dd79-4f72-a33e-00693e4d3200 2025-07-15 19:13:59,822 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f1b1ca29-f4f8-40d4-a995-65c48ff4d515 2025-07-15 19:14:03,104 - 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 1030ms') 2025-07-15 19:14:03,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74381617-06465617 failed! 2025-07-15 19:14:03,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74381617:ctest-vn-20502404 is 204.206.255.65 and allocation pool is NOT set 2025-07-15 19:14:05,229 - 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=6.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/3.623/6.750/3.127 ms') 2025-07-15 19:14:05,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74381617-06465617 passed 2025-07-15 19:14:05,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 19:14:05,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74381617-06465617, IP 204.206.255.67, Port 22 2025-07-15 19:14:05,547 - DEBUG - VM ctest-TestBasicPolicy-74381617-06465617 is ready for SSH connections 2025-07-15 19:14:05,547 - INFO - Waiting for VM ctest-TestBasicPolicy-74381617-99982853 to be up.. 2025-07-15 19:14:05,646 - DEBUG - VM is in ACTIVE state now 2025-07-15 19:14:05,646 - INFO - VM name : ctest-TestBasicPolicy-74381617-99982853 2025-07-15 19:14:05,730 - DEBUG - VM ctest-TestBasicPolicy-74381617-99982853 ID is 1ef860d0-905a-4f11-bd5c-ce7018b778b1 2025-07-15 19:14:05,730 - DEBUG - VM ctest-TestBasicPolicy-74381617-99982853 launched on Node cn-jenkins-deploy-platform-ansible-os-3642-1 2025-07-15 19:14:05,812 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1ef860d0-905a-4f11-bd5c-ce7018b778b1 2025-07-15 19:14:05,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f3c351e5-1f6e-4709-9890-d414d1e65648 2025-07-15 19:14:07,076 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.675 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.675/2.357/4.040/1.682 ms') 2025-07-15 19:14:07,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74381617-99982853 passed 2025-07-15 19:14:07,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 19:14:07,229 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74381617-99982853, IP 148.16.73.131, Port 22 2025-07-15 19:14:07,385 - DEBUG - VM ctest-TestBasicPolicy-74381617-99982853 is ready for SSH connections 2025-07-15 19:14:07,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 19:14:07,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.16.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 19:14:07,386 - DEBUG - ping -s 56 -c 3 -W 1 148.16.73.131 2025-07-15 19:14:11,135 - DEBUG - PING 148.16.73.131 (148.16.73.131): 56 data bytes 64 bytes from 148.16.73.131: seq=0 ttl=63 time=3.790 ms 64 bytes from 148.16.73.131: seq=1 ttl=63 time=1.119 ms 64 bytes from 148.16.73.131: seq=2 ttl=63 time=0.925 ms --- 148.16.73.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.944/3.790 ms 2025-07-15 19:14:11,135 - INFO - Ping to IP 148.16.73.131 from VM ctest-TestBasicPolicy-74381617-06465617 passed 2025-07-15 19:14:11,345 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ddb41d38-99aa-4574-93f1-53b76b3d43ec", "href": "http://10.0.0.50:8082/network-policy/ddb41d38-99aa-4574-93f1-53b76b3d43ec"}} 2025-07-15 19:14:11,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 19:14:11,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.16.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 19:14:11,346 - DEBUG - ping -s 56 -c 3 -W 1 148.16.73.131 2025-07-15 19:14:14,563 - DEBUG - PING 148.16.73.131 (148.16.73.131): 56 data bytes 64 bytes from 148.16.73.131: seq=0 ttl=63 time=1.672 ms --- 148.16.73.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.672/1.672/1.672 ms 2025-07-15 19:14:14,564 - WARNING - Ping to IP 148.16.73.131 from VM ctest-TestBasicPolicy-74381617-06465617 failed 2025-07-15 19:14:14,564 - INFO - Deleting VM ctest-TestBasicPolicy-74381617-99982853 2025-07-15 19:14:14,644 - INFO - Deleting VM ctest-TestBasicPolicy-74381617-06465617 2025-07-15 19:14:15,076 - INFO - Deleted policy ctest-policy-allow-all-84065365 2025-07-15 19:14:15,076 - INFO - Deleting VN ctest-vn-50364730 2025-07-15 19:14:15,119 - DEBUG - VN f4eb57d3-d990-4936-8a5f-f79f933c108e still in use: Unable to complete operation on network f4eb57d3-d990-4936-8a5f-f79f933c108e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-950e6657-0609-42c7-9fe9-8b7bfc84269c'] 2025-07-15 19:14:15,120 - WARNING - Deleting VN ctest-vn-50364730 failed..Will retry 2025-07-15 19:14:17,248 - DEBUG - Response for deleting network () 2025-07-15 19:14:17,248 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/771e8e11-9242-40ec-8ffc-1c2d7b88f3d3 2025-07-15 19:14:17,257 - DEBUG - Response Code: 404 2025-07-15 19:14:17,257 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:14:17,267 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:14:17,331 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:14:17,408 - INFO - Validated that VN ctest-vn-50364730 is not found in API Server 2025-07-15 19:14:17,422 - DEBUG - VN ctest-vn-50364730 is not present in Agent 10.0.0.50 2025-07-15 19:14:17,422 - INFO - Validated that VN ctest-vn-50364730 is not in any agent 2025-07-15 19:14:17,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50364730 info 2025-07-15 19:14:17,450 - INFO - Deleting VN ctest-vn-20502404 2025-07-15 19:14:17,572 - DEBUG - Response for deleting network () 2025-07-15 19:14:17,572 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12e4c30a-522f-4220-82c9-378050555b6d 2025-07-15 19:14:17,583 - DEBUG - Response Code: 404 2025-07-15 19:14:17,584 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 19:14:17,590 - DEBUG - Requesting: http://10.0.0.50:8082/domain/575a3b7a-37c5-4db9-9e91-e2992561f44b 2025-07-15 19:14:17,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/497a5376-886c-4a40-9e98-d8b199924203 2025-07-15 19:14:17,731 - INFO - Validated that VN ctest-vn-20502404 is not found in API Server 2025-07-15 19:14:17,744 - DEBUG - VN ctest-vn-20502404 is not present in Agent 10.0.0.50 2025-07-15 19:14:17,744 - INFO - Validated that VN ctest-vn-20502404 is not in any agent 2025-07-15 19:14:17,761 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20502404 info 2025-07-15 19:14:18,024 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 19:14:18,024 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-15 19:14:18,024 - INFO - -------------------------------------------------------------------------------- 2025-07-15 19:14:18,741 - INFO - Deleted project: ctest-TestBasicPolicy-74381617, ID : 497a5376-886c-4a40-9e98-d8b199924203