2025-06-26 11:47:28,240 - INFO - Domain Default found not creating 2025-06-26 11:47:28,450 - INFO - Project ctest-TestBasicPolicy-28342486 not found, creating it 2025-06-26 11:47:28,891 - INFO - Created Project:ctest-TestBasicPolicy-28342486, ID : 83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:30,338 - INFO - ================================================================================ 2025-06-26 11:47:30,338 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 11:47:30,338 - 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-06-26 11:47:30,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-26 11:47:30,594 - INFO - Initial checks done. Running the testcase now 2025-06-26 11:47:30,594 - INFO - 2025-06-26 11:47:31,118 - DEBUG - Response for create_network : {'network': {'id': '1ff880af-8a48-4484-80ec-d47d8bb35865', 'name': 'ctest-vn-97797043', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-vn-97797043'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:47:31,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '94bfbba8-f925-4bc9-8dbc-491623afaf6a', 'name': '', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'network_id': '1ff880af-8a48-4484-80ec-d47d8bb35865', 'ip_version': 4, 'cidr': '28.123.57.64/26', 'allocation_pools': [{'start': '28.123.57.66', 'end': '28.123.57.126'}], 'gateway_ip': '28.123.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.123.57.66', 'tags': [], 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88'}} 2025-06-26 11:47:31,324 - INFO - Created VN ctest-vn-97797043 2025-06-26 11:47:31,379 - DEBUG - VN ctest-vn-97797043 UUID is 1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:31,696 - DEBUG - Response for create_network : {'network': {'id': '60cec0f6-8567-4903-90df-56e001848ea8', 'name': 'ctest-vn-50155251', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-vn-50155251'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:47:31,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f6bf7b8-dc54-4230-8580-29f7bd842579', 'name': '', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'network_id': '60cec0f6-8567-4903-90df-56e001848ea8', 'ip_version': 4, 'cidr': '155.93.239.64/26', 'allocation_pools': [{'start': '155.93.239.66', 'end': '155.93.239.126'}], 'gateway_ip': '155.93.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.93.239.66', 'tags': [], 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88'}} 2025-06-26 11:47:31,931 - INFO - Created VN ctest-vn-50155251 2025-06-26 11:47:31,983 - DEBUG - VN ctest-vn-50155251 UUID is 60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:32,127 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043, 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-28342486:ctest-vn-50155251, 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-06-26 11:47:32,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ff880af-8a48-4484-80ec-d47d8bb35865', 'name': 'ctest-vn-97797043', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94bfbba8-f925-4bc9-8dbc-491623afaf6a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-vn-97797043'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-policy-allow-all-63297247']], 'subnet_ipam': [{'subnet_cidr': '28.123.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:47:32,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60cec0f6-8567-4903-90df-56e001848ea8', 'name': 'ctest-vn-50155251', 'tenant_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'project_id': '83bb8e70aa9244578dd7cd2669ea6b88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f6bf7b8-dc54-4230-8580-29f7bd842579'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-vn-50155251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-policy-allow-all-63297247']], 'subnet_ipam': [{'subnet_cidr': '155.93.239.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:47:32,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:33,112 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:33,140 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:33,152 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:33,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:33,254 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:33,260 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0e5107e-9b97-4c76-8ad9-fbd196d60634 2025-06-26 11:47:33,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 11:47:33,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:33,291 - INFO - Verified VN network id 9 for VN 1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,292 - INFO - Verifications in API Server for VN ctest-vn-97797043 passed 2025-06-26 11:47:33,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,300 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:33,307 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:33,314 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0e5107e-9b97-4c76-8ad9-fbd196d60634 2025-06-26 11:47:33,326 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28342486', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2303732700827632772', 'uuid-lslong': '9290033767038277733'}, 'enable': 'true', 'created': '2025-06-26T11:47:31', 'last-modified': '2025-06-26T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921243'} 2025-06-26 11:47:33,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 11:47:33,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97797043 passed 2025-06-26 11:47:33,332 - DEBUG - ====Verifying policy data for ctest-vn-97797043 in API_Server ====== 2025-06-26 11:47:33,332 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:33,338 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:33,349 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:33,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ff880af-8a48-4484-80ec-d47d8bb35865 2025-06-26 11:47:33,432 - DEBUG - ==>Verifying data for policy with id: 5b997dc9-3001-49df-a522-31cb2e9d1c60, fqn: ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-policy-allow-all-63297247'] 2025-06-26 11:47:33,432 - INFO - VN ctest-vn-97797043 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 11:47:33,432 - DEBUG - Verifying the vn in opserver 2025-06-26 11:47:33,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043 virtual network link through opserver 10.0.0.38 2025-06-26 11:47:33,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 11:47:33,734 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 11:47:33,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043?flat'} 2025-06-26 11:47:33,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043 is found in opserver 2025-06-26 11:47:33,795 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 11:47:33,801 - DEBUG - VRF ids for VN ctest-vn-97797043: {} 2025-06-26 11:47:33,801 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:33,807 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:33,825 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:33,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:33,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:33,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:33,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:33,945 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6ea7d0f2-d746-4e1c-8d2d-4066d1364087 2025-06-26 11:47:33,951 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 11:47:33,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:33,959 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:33,973 - INFO - Verified VN network id 10 for VN 60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:33,973 - INFO - Verifications in API Server for VN ctest-vn-50155251 passed 2025-06-26 11:47:33,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:33,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:33,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:33,995 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6ea7d0f2-d746-4e1c-8d2d-4066d1364087 2025-06-26 11:47:34,005 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-50155251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28342486', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6975725037876103427', 'uuid-lslong': '10439157981366226600'}, 'enable': 'true', 'created': '2025-06-26T11:47:31', 'last-modified': '2025-06-26T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376111'} 2025-06-26 11:47:34,013 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 11:47:34,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50155251 passed 2025-06-26 11:47:34,014 - DEBUG - ====Verifying policy data for ctest-vn-50155251 in API_Server ====== 2025-06-26 11:47:34,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:34,020 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:34,032 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:34,105 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60cec0f6-8567-4903-90df-56e001848ea8 2025-06-26 11:47:34,115 - DEBUG - ==>Verifying data for policy with id: 5b997dc9-3001-49df-a522-31cb2e9d1c60, fqn: ['default-domain', 'ctest-TestBasicPolicy-28342486', 'ctest-policy-allow-all-63297247'] 2025-06-26 11:47:34,115 - INFO - VN ctest-vn-50155251 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 11:47:34,115 - DEBUG - Verifying the vn in opserver 2025-06-26 11:47:34,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-50155251 virtual network link through opserver 10.0.0.38 2025-06-26 11:47:34,115 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 11:47:34,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-50155251', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-50155251?flat'} 2025-06-26 11:47:34,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-50155251 is found in opserver 2025-06-26 11:47:34,134 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 11:47:34,139 - DEBUG - VRF ids for VN ctest-vn-50155251: {} 2025-06-26 11:47:34,193 - DEBUG - Services list from nova: [, , ] 2025-06-26 11:47:35,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3558-1) 2025-06-26 11:47:36,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3558-1) 2025-06-26 11:47:36,334 - INFO - Waiting for VM ctest-TestBasicPolicy-28342486-41754493 to be up.. 2025-06-26 11:47:36,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 11:47:41,511 - DEBUG - VM is in ACTIVE state now 2025-06-26 11:47:41,511 - INFO - VM name : ctest-TestBasicPolicy-28342486-41754493 2025-06-26 11:47:41,589 - DEBUG - VM ctest-TestBasicPolicy-28342486-41754493 ID is 813a54f4-ae1a-4ecf-a7c3-fa48585cb059 2025-06-26 11:47:41,608 - DEBUG - VM ctest-TestBasicPolicy-28342486-41754493 launched on Node cn-jenkins-deploy-platform-ansible-os-3558-1 2025-06-26 11:47:41,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/813a54f4-ae1a-4ecf-a7c3-fa48585cb059 2025-06-26 11:47:41,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a69027b4-2e83-4f15-9abc-9688dd5ee175 2025-06-26 11:47:44,957 - 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 1015ms') 2025-06-26 11:47:44,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28342486-41754493 failed! 2025-06-26 11:47:45,011 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28342486:ctest-vn-97797043 is 28.123.57.65 and allocation pool is NOT set 2025-06-26 11:47:47,074 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.036/3.171/4.306/1.135 ms') 2025-06-26 11:47:47,074 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28342486-41754493 passed 2025-06-26 11:47:47,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:47,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28342486-41754493, IP 28.123.57.67, Port 22 2025-06-26 11:47:47,383 - DEBUG - VM ctest-TestBasicPolicy-28342486-41754493 is ready for SSH connections 2025-06-26 11:47:47,383 - INFO - Waiting for VM ctest-TestBasicPolicy-28342486-01208946 to be up.. 2025-06-26 11:47:47,460 - DEBUG - VM is in ACTIVE state now 2025-06-26 11:47:47,460 - INFO - VM name : ctest-TestBasicPolicy-28342486-01208946 2025-06-26 11:47:47,534 - DEBUG - VM ctest-TestBasicPolicy-28342486-01208946 ID is df868d43-6c63-4530-9a06-66efd8bdcc15 2025-06-26 11:47:47,534 - DEBUG - VM ctest-TestBasicPolicy-28342486-01208946 launched on Node cn-jenkins-deploy-platform-ansible-os-3558-1 2025-06-26 11:47:47,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df868d43-6c63-4530-9a06-66efd8bdcc15 2025-06-26 11:47:47,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/90a6e4d3-b2fd-45bc-bcad-3b2ab4693ad5 2025-06-26 11:47:48,848 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.503/2.618/1.115 ms') 2025-06-26 11:47:48,848 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28342486-01208946 passed 2025-06-26 11:47:48,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:48,995 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28342486-01208946, IP 155.93.239.67, Port 22 2025-06-26 11:47:49,150 - DEBUG - VM ctest-TestBasicPolicy-28342486-01208946 is ready for SSH connections 2025-06-26 11:47:49,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:49,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.93.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 11:47:49,151 - DEBUG - ping -s 56 -c 3 -W 1 155.93.239.67 2025-06-26 11:47:53,115 - DEBUG - PING 155.93.239.67 (155.93.239.67): 56 data bytes 64 bytes from 155.93.239.67: seq=0 ttl=63 time=3.927 ms 64 bytes from 155.93.239.67: seq=1 ttl=63 time=0.738 ms 64 bytes from 155.93.239.67: seq=2 ttl=63 time=0.639 ms --- 155.93.239.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.639/1.768/3.927 ms 2025-06-26 11:47:53,115 - INFO - Ping to IP 155.93.239.67 from VM ctest-TestBasicPolicy-28342486-41754493 passed 2025-06-26 11:47:53,295 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b997dc9-3001-49df-a522-31cb2e9d1c60", "href": "http://10.0.0.38:8082/network-policy/5b997dc9-3001-49df-a522-31cb2e9d1c60"}} 2025-06-26 11:47:53,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:53,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.93.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 11:47:53,295 - DEBUG - ping -s 56 -c 3 -W 1 155.93.239.67 2025-06-26 11:47:56,489 - DEBUG - PING 155.93.239.67 (155.93.239.67): 56 data bytes --- 155.93.239.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-26 11:47:56,490 - WARNING - Ping to IP 155.93.239.67 from VM ctest-TestBasicPolicy-28342486-41754493 failed 2025-06-26 11:47:56,490 - INFO - Deleting VM ctest-TestBasicPolicy-28342486-01208946 2025-06-26 11:47:56,547 - INFO - Deleting VM ctest-TestBasicPolicy-28342486-41754493 2025-06-26 11:47:56,879 - INFO - Deleted policy ctest-policy-allow-all-63297247 2025-06-26 11:47:56,879 - INFO - Deleting VN ctest-vn-50155251 2025-06-26 11:47:56,916 - DEBUG - VN 60cec0f6-8567-4903-90df-56e001848ea8 still in use: Unable to complete operation on network 60cec0f6-8567-4903-90df-56e001848ea8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5cfab614-a0e5-467e-9d4a-6c1feadc8d4b'] 2025-06-26 11:47:56,916 - WARNING - Deleting VN ctest-vn-50155251 failed..Will retry 2025-06-26 11:47:59,013 - DEBUG - Response for deleting network () 2025-06-26 11:47:59,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61bfda06-ea60-44e7-a112-b1498df24b91 2025-06-26 11:47:59,018 - DEBUG - Response Code: 404 2025-06-26 11:47:59,019 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:59,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:59,077 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:59,150 - INFO - Validated that VN ctest-vn-50155251 is not found in API Server 2025-06-26 11:47:59,160 - DEBUG - VN ctest-vn-50155251 is not present in Agent 10.0.0.38 2025-06-26 11:47:59,160 - INFO - Validated that VN ctest-vn-50155251 is not in any agent 2025-06-26 11:47:59,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50155251 info 2025-06-26 11:47:59,175 - INFO - Deleting VN ctest-vn-97797043 2025-06-26 11:47:59,268 - DEBUG - Response for deleting network () 2025-06-26 11:47:59,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ac8d05e-e412-4dd0-a5c7-a51b34aa4e26 2025-06-26 11:47:59,274 - DEBUG - Response Code: 404 2025-06-26 11:47:59,274 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 11:47:59,280 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b896c2b0-b889-4673-a40b-213da76b9ece 2025-06-26 11:47:59,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/83bb8e70-aa92-4457-8dd7-cd2669ea6b88 2025-06-26 11:47:59,402 - INFO - Validated that VN ctest-vn-97797043 is not found in API Server 2025-06-26 11:47:59,413 - DEBUG - VN ctest-vn-97797043 is not present in Agent 10.0.0.38 2025-06-26 11:47:59,413 - INFO - Validated that VN ctest-vn-97797043 is not in any agent 2025-06-26 11:47:59,433 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97797043 info 2025-06-26 11:47:59,688 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 11:47:59,688 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-26 11:47:59,688 - INFO - -------------------------------------------------------------------------------- 2025-06-26 11:48:00,350 - INFO - Deleted project: ctest-TestBasicPolicy-28342486, ID : 83bb8e70-aa92-4457-8dd7-cd2669ea6b88