2025-11-05 14:05:43,986 - INFO - Domain Default found not creating 2025-11-05 14:05:44,164 - INFO - Project ctest-TestBasicPolicy-79865238 not found, creating it 2025-11-05 14:05:44,632 - INFO - Created Project:ctest-TestBasicPolicy-79865238, ID : 5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:05:46,210 - INFO - ================================================================================ 2025-11-05 14:05:46,210 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 14:05:46,210 - 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-11-05 14:05:46,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2025-11-05 14:05:46,469 - INFO - Initial checks done. Running the testcase now 2025-11-05 14:05:46,469 - INFO - 2025-11-05 14:05:47,088 - DEBUG - Response for create_network : {'network': {'id': 'e0f6572b-86cf-4961-8cb8-aa1f1b1f6549', 'name': 'ctest-vn-18481777', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'project_id': '5646908ac9514838bfc8ff3ad594190c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-vn-18481777'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:47,236 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb100fab-bb69-4a4e-891d-dd88392eb2db', 'name': '', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'network_id': 'e0f6572b-86cf-4961-8cb8-aa1f1b1f6549', 'ip_version': 4, 'cidr': '121.225.214.64/26', 'allocation_pools': [{'start': '121.225.214.66', 'end': '121.225.214.126'}], 'gateway_ip': '121.225.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.225.214.66', 'tags': [], 'project_id': '5646908ac9514838bfc8ff3ad594190c'}} 2025-11-05 14:05:47,255 - INFO - Created VN ctest-vn-18481777 2025-11-05 14:05:47,310 - DEBUG - VN ctest-vn-18481777 UUID is e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:47,609 - DEBUG - Response for create_network : {'network': {'id': '31047f2a-918d-44cb-a234-e535ed946f11', 'name': 'ctest-vn-76639290', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'project_id': '5646908ac9514838bfc8ff3ad594190c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-vn-76639290'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:47,804 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd42c9078-3477-4373-a9c5-0432697ea62f', 'name': '', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'network_id': '31047f2a-918d-44cb-a234-e535ed946f11', 'ip_version': 4, 'cidr': '15.226.81.128/26', 'allocation_pools': [{'start': '15.226.81.130', 'end': '15.226.81.190'}], 'gateway_ip': '15.226.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.226.81.130', 'tags': [], 'project_id': '5646908ac9514838bfc8ff3ad594190c'}} 2025-11-05 14:05:47,825 - INFO - Created VN ctest-vn-76639290 2025-11-05 14:05:47,882 - DEBUG - VN ctest-vn-76639290 UUID is 31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:48,000 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777, 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-79865238:ctest-vn-76639290, 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-11-05 14:05:48,293 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0f6572b-86cf-4961-8cb8-aa1f1b1f6549', 'name': 'ctest-vn-18481777', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'project_id': '5646908ac9514838bfc8ff3ad594190c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb100fab-bb69-4a4e-891d-dd88392eb2db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-vn-18481777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-policy-allow-all-36804037']], 'subnet_ipam': [{'subnet_cidr': '121.225.214.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:48,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31047f2a-918d-44cb-a234-e535ed946f11', 'name': 'ctest-vn-76639290', 'tenant_id': '5646908ac9514838bfc8ff3ad594190c', 'project_id': '5646908ac9514838bfc8ff3ad594190c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d42c9078-3477-4373-a9c5-0432697ea62f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-vn-76639290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-policy-allow-all-36804037']], 'subnet_ipam': [{'subnet_cidr': '15.226.81.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:48,694 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:05:49,029 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:05:49,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:05:49,078 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:05:49,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,172 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,184 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:05:49,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:05:49,202 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c4cc513a-bc0e-449a-bbc7-60fdcffafa71 2025-11-05 14:05:49,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 14:05:49,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,219 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:05:49,236 - INFO - Verified VN network id 11 for VN e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,236 - INFO - Verifications in API Server for VN ctest-vn-18481777 passed 2025-11-05 14:05:49,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:05:49,254 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:05:49,262 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c4cc513a-bc0e-449a-bbc7-60fdcffafa71 2025-11-05 14:05:49,274 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79865238', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16210239753223620961', 'uuid-lslong': '10140041611600422217'}, 'enable': 'true', 'created': '2025-11-05T14:05:47', 'last-modified': '2025-11-05T14:05:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001593'} 2025-11-05 14:05:49,279 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 14:05:49,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18481777 passed 2025-11-05 14:05:49,279 - DEBUG - ====Verifying policy data for ctest-vn-18481777 in API_Server ====== 2025-11-05 14:05:49,280 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:05:49,285 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:05:49,298 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:05:49,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f6572b-86cf-4961-8cb8-aa1f1b1f6549 2025-11-05 14:05:49,388 - DEBUG - ==>Verifying data for policy with id: 10faeeab-afbe-4f74-874b-8e9682951fc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-policy-allow-all-36804037'] 2025-11-05 14:05:49,388 - INFO - VN ctest-vn-18481777 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 14:05:49,388 - DEBUG - Verifying the vn in opserver 2025-11-05 14:05:49,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777 virtual network link through opserver 10.0.0.50 2025-11-05 14:05:49,388 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 14:05:49,724 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 14:05:49,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777?flat'} 2025-11-05 14:05:49,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777 is found in opserver 2025-11-05 14:05:49,805 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 14:05:49,810 - DEBUG - VRF ids for VN ctest-vn-18481777: {} 2025-11-05 14:05:49,810 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:05:49,816 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:05:49,829 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:05:49,907 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:49,924 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:49,935 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:05:49,943 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:05:49,952 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3fdb2e9f-15c5-45db-a0b9-7bb179213f3a 2025-11-05 14:05:49,960 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 14:05:49,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:49,969 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:05:49,984 - INFO - Verified VN network id 12 for VN 31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:49,984 - INFO - Verifications in API Server for VN ctest-vn-76639290 passed 2025-11-05 14:05:49,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:49,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:05:50,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:05:50,016 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3fdb2e9f-15c5-45db-a0b9-7bb179213f3a 2025-11-05 14:05:50,031 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-76639290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79865238', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3532087828572619979', 'uuid-lslong': '11688218952715235089'}, 'enable': 'true', 'created': '2025-11-05T14:05:47', 'last-modified': '2025-11-05T14:05:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.529869'} 2025-11-05 14:05:50,038 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 14:05:50,038 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76639290 passed 2025-11-05 14:05:50,039 - DEBUG - ====Verifying policy data for ctest-vn-76639290 in API_Server ====== 2025-11-05 14:05:50,039 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:05:50,045 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:05:50,058 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:05:50,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31047f2a-918d-44cb-a234-e535ed946f11 2025-11-05 14:05:50,149 - DEBUG - ==>Verifying data for policy with id: 10faeeab-afbe-4f74-874b-8e9682951fc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-79865238', 'ctest-policy-allow-all-36804037'] 2025-11-05 14:05:50,149 - INFO - VN ctest-vn-76639290 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 14:05:50,150 - DEBUG - Verifying the vn in opserver 2025-11-05 14:05:50,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-76639290 virtual network link through opserver 10.0.0.50 2025-11-05 14:05:50,150 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 14:05:50,162 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-76639290', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-76639290?flat'} 2025-11-05 14:05:50,162 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-76639290 is found in opserver 2025-11-05 14:05:50,175 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 14:05:50,183 - DEBUG - VRF ids for VN ctest-vn-76639290: {} 2025-11-05 14:05:50,258 - DEBUG - Services list from nova: [, , ] 2025-11-05 14:05:51,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:05:52,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:05:52,705 - INFO - Waiting for VM ctest-TestBasicPolicy-79865238-25550605 to be up.. 2025-11-05 14:05:52,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 14:05:57,868 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:05:57,868 - INFO - VM name : ctest-TestBasicPolicy-79865238-25550605 2025-11-05 14:05:57,943 - DEBUG - VM ctest-TestBasicPolicy-79865238-25550605 ID is f50ebd60-7d7b-4e20-9fcc-1048e68c928b 2025-11-05 14:05:57,963 - DEBUG - VM ctest-TestBasicPolicy-79865238-25550605 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:05:58,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f50ebd60-7d7b-4e20-9fcc-1048e68c928b 2025-11-05 14:05:58,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d7e4c2af-9ab9-4808-89b6-a5771720f490 2025-11-05 14:06:01,289 - 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 1002ms') 2025-11-05 14:06:01,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79865238-25550605 failed! 2025-11-05 14:06:01,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79865238:ctest-vn-18481777 is 121.225.214.65 and allocation pool is NOT set 2025-11-05 14:06:03,417 - 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=12.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 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 = 2.943/7.671/12.400/4.728 ms') 2025-11-05 14:06:03,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79865238-25550605 passed 2025-11-05 14:06:03,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:06:03,570 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79865238-25550605, IP 121.225.214.67, Port 22 2025-11-05 14:06:03,629 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-05 14:06:03,716 - DEBUG - VM ctest-TestBasicPolicy-79865238-25550605 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 14:06:08,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:06:08,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79865238-25550605, IP 121.225.214.67, Port 22 2025-11-05 14:06:08,883 - DEBUG - VM ctest-TestBasicPolicy-79865238-25550605 is ready for SSH connections 2025-11-05 14:06:08,884 - INFO - Waiting for VM ctest-TestBasicPolicy-79865238-68012504 to be up.. 2025-11-05 14:06:08,968 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:06:08,968 - INFO - VM name : ctest-TestBasicPolicy-79865238-68012504 2025-11-05 14:06:09,051 - DEBUG - VM ctest-TestBasicPolicy-79865238-68012504 ID is 753da86f-e29f-4eb4-abcd-a52749119875 2025-11-05 14:06:09,051 - DEBUG - VM ctest-TestBasicPolicy-79865238-68012504 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:06:09,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/753da86f-e29f-4eb4-abcd-a52749119875 2025-11-05 14:06:09,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/49b9f257-bf18-4f5f-b1cd-4b5ae973e39b 2025-11-05 14:06:10,386 - 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=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.750/3.054/1.303 ms') 2025-11-05 14:06:10,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79865238-68012504 passed 2025-11-05 14:06:10,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:06:10,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79865238-68012504, IP 15.226.81.131, Port 22 2025-11-05 14:06:10,704 - DEBUG - VM ctest-TestBasicPolicy-79865238-68012504 is ready for SSH connections 2025-11-05 14:06:10,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:06:10,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.226.81.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 14:06:10,704 - DEBUG - ping -s 56 -c 3 -W 1 15.226.81.131 2025-11-05 14:06:14,866 - DEBUG - PING 15.226.81.131 (15.226.81.131): 56 data bytes 64 bytes from 15.226.81.131: seq=0 ttl=63 time=3.617 ms 64 bytes from 15.226.81.131: seq=1 ttl=63 time=0.845 ms 64 bytes from 15.226.81.131: seq=2 ttl=63 time=1.091 ms --- 15.226.81.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/1.851/3.617 ms 2025-11-05 14:06:14,866 - INFO - Ping to IP 15.226.81.131 from VM ctest-TestBasicPolicy-79865238-25550605 passed 2025-11-05 14:06:15,050 - DEBUG - Policy Update Response {"network-policy": {"uuid": "10faeeab-afbe-4f74-874b-8e9682951fc0", "href": "http://10.0.0.50:8082/network-policy/10faeeab-afbe-4f74-874b-8e9682951fc0"}} 2025-11-05 14:06:15,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:06:15,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.226.81.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 14:06:15,050 - DEBUG - ping -s 56 -c 3 -W 1 15.226.81.131 2025-11-05 14:06:18,332 - DEBUG - PING 15.226.81.131 (15.226.81.131): 56 data bytes --- 15.226.81.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 14:06:18,332 - WARNING - Ping to IP 15.226.81.131 from VM ctest-TestBasicPolicy-79865238-25550605 failed 2025-11-05 14:06:18,332 - INFO - Deleting VM ctest-TestBasicPolicy-79865238-68012504 2025-11-05 14:06:18,401 - INFO - Deleting VM ctest-TestBasicPolicy-79865238-25550605 2025-11-05 14:06:18,812 - INFO - Deleted policy ctest-policy-allow-all-36804037 2025-11-05 14:06:18,812 - INFO - Deleting VN ctest-vn-76639290 2025-11-05 14:06:18,852 - DEBUG - VN 31047f2a-918d-44cb-a234-e535ed946f11 still in use: Unable to complete operation on network 31047f2a-918d-44cb-a234-e535ed946f11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd8d7caf-4594-4599-8319-8bf3e5adad88'] 2025-11-05 14:06:18,852 - WARNING - Deleting VN ctest-vn-76639290 failed..Will retry 2025-11-05 14:06:20,958 - DEBUG - Response for deleting network () 2025-11-05 14:06:20,958 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f38c613b-b5d0-45f6-8c05-3ebcc7efa5d4 2025-11-05 14:06:20,971 - DEBUG - Response Code: 404 2025-11-05 14:06:20,971 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:06:20,977 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:06:21,037 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:06:21,115 - INFO - Validated that VN ctest-vn-76639290 is not found in API Server 2025-11-05 14:06:21,128 - DEBUG - VN ctest-vn-76639290 is not present in Agent 10.0.0.50 2025-11-05 14:06:21,129 - INFO - Validated that VN ctest-vn-76639290 is not in any agent 2025-11-05 14:06:21,148 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76639290 info 2025-11-05 14:06:21,149 - INFO - Deleting VN ctest-vn-18481777 2025-11-05 14:06:21,264 - DEBUG - Response for deleting network () 2025-11-05 14:06:21,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fcdc9ba0-16af-4a41-a256-4694cc3b65fd 2025-11-05 14:06:21,273 - DEBUG - Response Code: 404 2025-11-05 14:06:21,274 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 14:06:21,279 - DEBUG - Requesting: http://10.0.0.50:8082/domain/edecd6db-a493-4861-a269-342e9ca227a3 2025-11-05 14:06:21,335 - DEBUG - Requesting: http://10.0.0.50:8082/project/5646908a-c951-4838-bfc8-ff3ad594190c 2025-11-05 14:06:21,416 - INFO - Validated that VN ctest-vn-18481777 is not found in API Server 2025-11-05 14:06:21,426 - DEBUG - VN ctest-vn-18481777 is not present in Agent 10.0.0.50 2025-11-05 14:06:21,427 - INFO - Validated that VN ctest-vn-18481777 is not in any agent 2025-11-05 14:06:21,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18481777 info 2025-11-05 14:06:21,714 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 14:06:21,714 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-05 14:06:21,714 - INFO - -------------------------------------------------------------------------------- 2025-11-05 14:06:22,468 - INFO - Deleted project: ctest-TestBasicPolicy-79865238, ID : 5646908a-c951-4838-bfc8-ff3ad594190c