2025-06-20 08:58:50,931 - INFO - Domain Default found not creating 2025-06-20 08:58:51,068 - INFO - Project ctest-TestBasicPolicy-84120062 not found, creating it 2025-06-20 08:58:51,516 - INFO - Created Project:ctest-TestBasicPolicy-84120062, ID : 9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:58:52,939 - INFO - ================================================================================ 2025-06-20 08:58:52,939 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 08:58:52,939 - 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-20 08:58:53,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-20 08:58:53,200 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:58:53,200 - INFO - 2025-06-20 08:58:53,729 - DEBUG - Response for create_network : {'network': {'id': '193f74b7-c1d1-4126-9027-eb83e4b7c868', 'name': 'ctest-vn-43111730', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-vn-43111730'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:53,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7267c8f-abdf-4b8d-9d53-5f1a81c933ac', 'name': '', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'network_id': '193f74b7-c1d1-4126-9027-eb83e4b7c868', 'ip_version': 4, 'cidr': '70.214.212.0/26', 'allocation_pools': [{'start': '70.214.212.2', 'end': '70.214.212.62'}], 'gateway_ip': '70.214.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.214.212.2', 'tags': [], 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a'}} 2025-06-20 08:58:53,903 - INFO - Created VN ctest-vn-43111730 2025-06-20 08:58:53,958 - DEBUG - VN ctest-vn-43111730 UUID is 193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:54,279 - DEBUG - Response for create_network : {'network': {'id': 'cfe4b408-7698-4bdf-a701-1a8bc8197352', 'name': 'ctest-vn-15976739', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-vn-15976739'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:54,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa04a6e3-de00-4393-a66c-44bfde086ba3', 'name': '', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'network_id': 'cfe4b408-7698-4bdf-a701-1a8bc8197352', 'ip_version': 4, 'cidr': '187.183.185.192/26', 'allocation_pools': [{'start': '187.183.185.194', 'end': '187.183.185.254'}], 'gateway_ip': '187.183.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.183.185.194', 'tags': [], 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a'}} 2025-06-20 08:58:54,519 - INFO - Created VN ctest-vn-15976739 2025-06-20 08:58:54,574 - DEBUG - VN ctest-vn-15976739 UUID is cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:54,722 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730, 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-84120062:ctest-vn-15976739, 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-20 08:58:55,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '193f74b7-c1d1-4126-9027-eb83e4b7c868', 'name': 'ctest-vn-43111730', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7267c8f-abdf-4b8d-9d53-5f1a81c933ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-vn-43111730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-policy-allow-all-63198067']], 'subnet_ipam': [{'subnet_cidr': '70.214.212.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:55,238 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cfe4b408-7698-4bdf-a701-1a8bc8197352', 'name': 'ctest-vn-15976739', 'tenant_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'project_id': '9b6c4f9b3cfe44eea779a62a045b068a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa04a6e3-de00-4393-a66c-44bfde086ba3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-vn-15976739'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-policy-allow-all-63198067']], 'subnet_ipam': [{'subnet_cidr': '187.183.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:55,402 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:58:55,693 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:58:55,721 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:58:55,735 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:58:55,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:55,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:55,829 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:58:55,836 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:58:55,844 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee8467ae-2059-4f21-89c7-5979a94b7cc2 2025-06-20 08:58:55,852 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:58:55,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:55,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:58:55,876 - INFO - Verified VN network id 8 for VN 193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:55,876 - INFO - Verifications in API Server for VN ctest-vn-43111730 passed 2025-06-20 08:58:55,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:55,885 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:58:55,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:58:55,902 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee8467ae-2059-4f21-89c7-5979a94b7cc2 2025-06-20 08:58:55,922 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84120062', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1819301107060523302', 'uuid-lslong': '10387530017263831144'}, 'enable': 'true', 'created': '2025-06-20T08:58:53', 'last-modified': '2025-06-20T08:58:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932889'} 2025-06-20 08:58:55,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:58:55,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43111730 passed 2025-06-20 08:58:55,949 - DEBUG - ====Verifying policy data for ctest-vn-43111730 in API_Server ====== 2025-06-20 08:58:55,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:58:55,956 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:58:55,969 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:58:56,040 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/193f74b7-c1d1-4126-9027-eb83e4b7c868 2025-06-20 08:58:56,050 - DEBUG - ==>Verifying data for policy with id: 559387b7-7ec9-4b59-934f-432ed3140fcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-policy-allow-all-63198067'] 2025-06-20 08:58:56,050 - INFO - VN ctest-vn-43111730 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:58:56,050 - DEBUG - Verifying the vn in opserver 2025-06-20 08:58:56,050 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730 virtual network link through opserver 10.0.0.50 2025-06-20 08:58:56,050 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 08:58:56,340 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 08:58:56,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730?flat'} 2025-06-20 08:58:56,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730 is found in opserver 2025-06-20 08:58:56,416 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:58:56,421 - DEBUG - VRF ids for VN ctest-vn-43111730: {} 2025-06-20 08:58:56,421 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:58:56,427 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:58:56,438 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:58:56,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:58:56,543 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:58:56,551 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7cc887bf-c134-49ed-b9c1-9effcdb84576 2025-06-20 08:58:56,557 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:58:56,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,567 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:58:56,584 - INFO - Verified VN network id 9 for VN cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,584 - INFO - Verifications in API Server for VN ctest-vn-15976739 passed 2025-06-20 08:58:56,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:58:56,602 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:58:56,610 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7cc887bf-c134-49ed-b9c1-9effcdb84576 2025-06-20 08:58:56,624 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-15976739', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84120062', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14980296208983542751', 'uuid-lslong': '12033928866970563410'}, 'enable': 'true', 'created': '2025-06-20T08:58:54', 'last-modified': '2025-06-20T08:58:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412623'} 2025-06-20 08:58:56,631 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:58:56,631 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15976739 passed 2025-06-20 08:58:56,631 - DEBUG - ====Verifying policy data for ctest-vn-15976739 in API_Server ====== 2025-06-20 08:58:56,631 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:58:56,637 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:58:56,648 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:58:56,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cfe4b408-7698-4bdf-a701-1a8bc8197352 2025-06-20 08:58:56,732 - DEBUG - ==>Verifying data for policy with id: 559387b7-7ec9-4b59-934f-432ed3140fcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-84120062', 'ctest-policy-allow-all-63198067'] 2025-06-20 08:58:56,732 - INFO - VN ctest-vn-15976739 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:58:56,732 - DEBUG - Verifying the vn in opserver 2025-06-20 08:58:56,732 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-15976739 virtual network link through opserver 10.0.0.50 2025-06-20 08:58:56,732 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 08:58:56,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-15976739', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-15976739?flat'} 2025-06-20 08:58:56,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-15976739 is found in opserver 2025-06-20 08:58:56,752 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:58:56,757 - DEBUG - VRF ids for VN ctest-vn-15976739: {} 2025-06-20 08:58:56,809 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:58:57,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3504-1) 2025-06-20 08:58:58,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3504-1) 2025-06-20 08:58:58,939 - INFO - Waiting for VM ctest-TestBasicPolicy-84120062-82499481 to be up.. 2025-06-20 08:58:59,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:59:04,116 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:59:04,116 - INFO - VM name : ctest-TestBasicPolicy-84120062-82499481 2025-06-20 08:59:04,211 - DEBUG - VM ctest-TestBasicPolicy-84120062-82499481 ID is 6d1b9351-535a-4151-a39a-ff34f2d0bba1 2025-06-20 08:59:04,231 - DEBUG - VM ctest-TestBasicPolicy-84120062-82499481 launched on Node cn-jenkins-deploy-platform-ansible-os-3504-1 2025-06-20 08:59:04,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6d1b9351-535a-4151-a39a-ff34f2d0bba1 2025-06-20 08:59:04,327 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/54269e71-2bdf-46cd-87e9-e3a5f67f5226 2025-06-20 08:59:07,591 - 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 1019ms') 2025-06-20 08:59:07,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84120062-82499481 failed! 2025-06-20 08:59:07,646 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84120062:ctest-vn-43111730 is 70.214.212.1 and allocation pool is NOT set 2025-06-20 08:59:09,706 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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 = 0.416/4.273/8.131/3.857 ms') 2025-06-20 08:59:09,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84120062-82499481 passed 2025-06-20 08:59:09,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:59:09,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84120062-82499481, IP 70.214.212.3, Port 22 2025-06-20 08:59:10,014 - DEBUG - VM ctest-TestBasicPolicy-84120062-82499481 is ready for SSH connections 2025-06-20 08:59:10,014 - INFO - Waiting for VM ctest-TestBasicPolicy-84120062-73085470 to be up.. 2025-06-20 08:59:10,085 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:59:10,085 - INFO - VM name : ctest-TestBasicPolicy-84120062-73085470 2025-06-20 08:59:10,162 - DEBUG - VM ctest-TestBasicPolicy-84120062-73085470 ID is 63b84fc1-e4d4-493c-a022-1dadec13a5de 2025-06-20 08:59:10,162 - DEBUG - VM ctest-TestBasicPolicy-84120062-73085470 launched on Node cn-jenkins-deploy-platform-ansible-os-3504-1 2025-06-20 08:59:10,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63b84fc1-e4d4-493c-a022-1dadec13a5de 2025-06-20 08:59:10,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be14ba66-709e-45a0-bb33-0645c06d14d8 2025-06-20 08:59:11,492 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.496/1.516/2.536/1.020 ms') 2025-06-20 08:59:11,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84120062-73085470 passed 2025-06-20 08:59:11,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:59:11,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84120062-73085470, IP 187.183.185.195, Port 22 2025-06-20 08:59:11,797 - DEBUG - VM ctest-TestBasicPolicy-84120062-73085470 is ready for SSH connections 2025-06-20 08:59:11,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:59:11,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.183.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 08:59:11,798 - DEBUG - ping -s 56 -c 3 -W 1 187.183.185.195 2025-06-20 08:59:15,489 - DEBUG - PING 187.183.185.195 (187.183.185.195): 56 data bytes 64 bytes from 187.183.185.195: seq=0 ttl=63 time=3.574 ms 64 bytes from 187.183.185.195: seq=1 ttl=63 time=0.873 ms 64 bytes from 187.183.185.195: seq=2 ttl=63 time=0.787 ms --- 187.183.185.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.744/3.574 ms 2025-06-20 08:59:15,489 - INFO - Ping to IP 187.183.185.195 from VM ctest-TestBasicPolicy-84120062-82499481 passed 2025-06-20 08:59:15,670 - DEBUG - Policy Update Response {"network-policy": {"uuid": "559387b7-7ec9-4b59-934f-432ed3140fcd", "href": "http://10.0.0.50:8082/network-policy/559387b7-7ec9-4b59-934f-432ed3140fcd"}} 2025-06-20 08:59:15,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:59:15,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.183.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 08:59:15,670 - DEBUG - ping -s 56 -c 3 -W 1 187.183.185.195 2025-06-20 08:59:18,872 - DEBUG - PING 187.183.185.195 (187.183.185.195): 56 data bytes --- 187.183.185.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-20 08:59:18,872 - WARNING - Ping to IP 187.183.185.195 from VM ctest-TestBasicPolicy-84120062-82499481 failed 2025-06-20 08:59:18,872 - INFO - Deleting VM ctest-TestBasicPolicy-84120062-73085470 2025-06-20 08:59:18,941 - INFO - Deleting VM ctest-TestBasicPolicy-84120062-82499481 2025-06-20 08:59:19,327 - INFO - Deleted policy ctest-policy-allow-all-63198067 2025-06-20 08:59:19,327 - INFO - Deleting VN ctest-vn-15976739 2025-06-20 08:59:19,369 - DEBUG - VN cfe4b408-7698-4bdf-a701-1a8bc8197352 still in use: Unable to complete operation on network cfe4b408-7698-4bdf-a701-1a8bc8197352. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a14054d7-fb93-4e87-b974-934426b70347'] 2025-06-20 08:59:19,369 - WARNING - Deleting VN ctest-vn-15976739 failed..Will retry 2025-06-20 08:59:21,471 - DEBUG - Response for deleting network () 2025-06-20 08:59:21,471 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/043253ec-847a-45d1-8970-a499a6e12a9f 2025-06-20 08:59:21,480 - DEBUG - Response Code: 404 2025-06-20 08:59:21,480 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:59:21,486 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:59:21,539 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:59:21,614 - INFO - Validated that VN ctest-vn-15976739 is not found in API Server 2025-06-20 08:59:21,625 - DEBUG - VN ctest-vn-15976739 is not present in Agent 10.0.0.50 2025-06-20 08:59:21,625 - INFO - Validated that VN ctest-vn-15976739 is not in any agent 2025-06-20 08:59:21,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15976739 info 2025-06-20 08:59:21,639 - INFO - Deleting VN ctest-vn-43111730 2025-06-20 08:59:21,737 - DEBUG - Response for deleting network () 2025-06-20 08:59:21,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d08e549-92a2-4c1d-901c-4b9c8d07ac5d 2025-06-20 08:59:21,746 - DEBUG - Response Code: 404 2025-06-20 08:59:21,746 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 08:59:21,751 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29afa1cf-c4d4-4575-92b4-d79abf8ee5e1 2025-06-20 08:59:21,805 - DEBUG - Requesting: http://10.0.0.50:8082/project/9b6c4f9b-3cfe-44ee-a779-a62a045b068a 2025-06-20 08:59:21,873 - INFO - Validated that VN ctest-vn-43111730 is not found in API Server 2025-06-20 08:59:21,884 - DEBUG - VN ctest-vn-43111730 is not present in Agent 10.0.0.50 2025-06-20 08:59:21,884 - INFO - Validated that VN ctest-vn-43111730 is not in any agent 2025-06-20 08:59:21,901 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43111730 info 2025-06-20 08:59:22,156 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 08:59:22,156 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-20 08:59:22,156 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:59:22,828 - INFO - Deleted project: ctest-TestBasicPolicy-84120062, ID : 9b6c4f9b-3cfe-44ee-a779-a62a045b068a