2025-07-19 07:57:33,015 - INFO - Domain Default found not creating 2025-07-19 07:57:33,160 - INFO - Project ctest-TestBasicPolicy-42868683 not found, creating it 2025-07-19 07:57:33,610 - INFO - Created Project:ctest-TestBasicPolicy-42868683, ID : c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:57:35,149 - INFO - ================================================================================ 2025-07-19 07:57:35,149 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-19 07:57:35,149 - 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-19 07:57:35,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-07-19 07:57:35,405 - INFO - Initial checks done. Running the testcase now 2025-07-19 07:57:35,405 - INFO - 2025-07-19 07:57:35,941 - DEBUG - Response for create_network : {'network': {'id': '53edcc0e-e470-4059-9dfa-c4cf360f1add', 'name': 'ctest-vn-87187664', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'project_id': 'c47693bf862449da835199ef2d1d967a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-vn-87187664'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:57:36,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec4a6e9-77d4-4e41-b179-8ccb3e084e85', 'name': '', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'network_id': '53edcc0e-e470-4059-9dfa-c4cf360f1add', 'ip_version': 4, 'cidr': '45.37.233.64/26', 'allocation_pools': [{'start': '45.37.233.66', 'end': '45.37.233.126'}], 'gateway_ip': '45.37.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.37.233.66', 'tags': [], 'project_id': 'c47693bf862449da835199ef2d1d967a'}} 2025-07-19 07:57:36,132 - INFO - Created VN ctest-vn-87187664 2025-07-19 07:57:36,186 - DEBUG - VN ctest-vn-87187664 UUID is 53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:36,505 - DEBUG - Response for create_network : {'network': {'id': '262ad5a3-bad7-4bf2-b473-c7dbed82355f', 'name': 'ctest-vn-17717715', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'project_id': 'c47693bf862449da835199ef2d1d967a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-vn-17717715'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:57:36,653 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c567780a-0774-4940-bfea-8cdfa2597838', 'name': '', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'network_id': '262ad5a3-bad7-4bf2-b473-c7dbed82355f', 'ip_version': 4, 'cidr': '152.248.102.0/26', 'allocation_pools': [{'start': '152.248.102.2', 'end': '152.248.102.62'}], 'gateway_ip': '152.248.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.248.102.2', 'tags': [], 'project_id': 'c47693bf862449da835199ef2d1d967a'}} 2025-07-19 07:57:36,670 - INFO - Created VN ctest-vn-17717715 2025-07-19 07:57:36,726 - DEBUG - VN ctest-vn-17717715 UUID is 262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:36,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664, 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-42868683:ctest-vn-17717715, 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-19 07:57:37,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53edcc0e-e470-4059-9dfa-c4cf360f1add', 'name': 'ctest-vn-87187664', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'project_id': 'c47693bf862449da835199ef2d1d967a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec4a6e9-77d4-4e41-b179-8ccb3e084e85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-vn-87187664'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-policy-allow-all-59767753']], 'subnet_ipam': [{'subnet_cidr': '45.37.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:57:37,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '262ad5a3-bad7-4bf2-b473-c7dbed82355f', 'name': 'ctest-vn-17717715', 'tenant_id': 'c47693bf862449da835199ef2d1d967a', 'project_id': 'c47693bf862449da835199ef2d1d967a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c567780a-0774-4940-bfea-8cdfa2597838'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-vn-17717715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-policy-allow-all-59767753']], 'subnet_ipam': [{'subnet_cidr': '152.248.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:57:37,594 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:57:37,884 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:57:37,911 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:57:37,926 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:57:38,003 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,015 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,025 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:57:38,033 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:57:38,041 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97a5f476-21cd-4bbc-b2c5-80657c4ea849 2025-07-19 07:57:38,048 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:57:38,048 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,058 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:57:38,074 - INFO - Verified VN network id 8 for VN 53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,075 - INFO - Verifications in API Server for VN ctest-vn-87187664 passed 2025-07-19 07:57:38,075 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,084 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:57:38,092 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:57:38,099 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97a5f476-21cd-4bbc-b2c5-80657c4ea849 2025-07-19 07:57:38,112 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42868683', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6047714238962614361', 'uuid-lslong': '11383627402376583901'}, 'enable': 'true', 'created': '2025-07-19T07:57:35', 'last-modified': '2025-07-19T07:57:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968287'} 2025-07-19 07:57:38,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:57:38,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87187664 passed 2025-07-19 07:57:38,119 - DEBUG - ====Verifying policy data for ctest-vn-87187664 in API_Server ====== 2025-07-19 07:57:38,119 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:57:38,125 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:57:38,137 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:57:38,212 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53edcc0e-e470-4059-9dfa-c4cf360f1add 2025-07-19 07:57:38,222 - DEBUG - ==>Verifying data for policy with id: 436d0152-89b9-4496-9612-7715ced85132, fqn: ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-policy-allow-all-59767753'] 2025-07-19 07:57:38,222 - INFO - VN ctest-vn-87187664 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:57:38,222 - DEBUG - Verifying the vn in opserver 2025-07-19 07:57:38,222 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664 virtual network link through opserver 10.0.0.19 2025-07-19 07:57:38,222 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-19 07:57:38,510 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-19 07:57:38,563 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664?flat'} 2025-07-19 07:57:38,563 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664 is found in opserver 2025-07-19 07:57:38,574 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:57:38,580 - DEBUG - VRF ids for VN ctest-vn-87187664: {} 2025-07-19 07:57:38,580 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:57:38,586 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:57:38,598 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:57:38,671 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,684 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,695 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:57:38,702 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:57:38,709 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1ddc23c0-2d5b-4ca7-900d-aebb6a62587f 2025-07-19 07:57:38,717 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:57:38,717 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,727 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:57:38,743 - INFO - Verified VN network id 9 for VN 262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,743 - INFO - Verifications in API Server for VN ctest-vn-17717715 passed 2025-07-19 07:57:38,743 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,754 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:57:38,762 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:57:38,769 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1ddc23c0-2d5b-4ca7-900d-aebb6a62587f 2025-07-19 07:57:38,786 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-17717715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42868683', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2750245421654166514', 'uuid-lslong': '13002956296545252703'}, 'enable': 'true', 'created': '2025-07-19T07:57:36', 'last-modified': '2025-07-19T07:57:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401126'} 2025-07-19 07:57:38,794 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:57:38,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17717715 passed 2025-07-19 07:57:38,795 - DEBUG - ====Verifying policy data for ctest-vn-17717715 in API_Server ====== 2025-07-19 07:57:38,795 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:57:38,802 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:57:38,816 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:57:38,900 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/262ad5a3-bad7-4bf2-b473-c7dbed82355f 2025-07-19 07:57:38,913 - DEBUG - ==>Verifying data for policy with id: 436d0152-89b9-4496-9612-7715ced85132, fqn: ['default-domain', 'ctest-TestBasicPolicy-42868683', 'ctest-policy-allow-all-59767753'] 2025-07-19 07:57:38,913 - INFO - VN ctest-vn-17717715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:57:38,913 - DEBUG - Verifying the vn in opserver 2025-07-19 07:57:38,913 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-17717715 virtual network link through opserver 10.0.0.19 2025-07-19 07:57:38,913 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-19 07:57:38,925 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-17717715', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-17717715?flat'} 2025-07-19 07:57:38,925 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-17717715 is found in opserver 2025-07-19 07:57:38,936 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:57:38,942 - DEBUG - VRF ids for VN ctest-vn-17717715: {} 2025-07-19 07:57:39,002 - DEBUG - Services list from nova: [, , ] 2025-07-19 07:57:40,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3669-1) 2025-07-19 07:57:41,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3669-1) 2025-07-19 07:57:41,334 - INFO - Waiting for VM ctest-TestBasicPolicy-42868683-18047669 to be up.. 2025-07-19 07:57:41,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 07:57:46,501 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:57:46,502 - INFO - VM name : ctest-TestBasicPolicy-42868683-18047669 2025-07-19 07:57:46,575 - DEBUG - VM ctest-TestBasicPolicy-42868683-18047669 ID is 728f18e0-1885-41ed-9451-a2226da1899b 2025-07-19 07:57:46,597 - DEBUG - VM ctest-TestBasicPolicy-42868683-18047669 launched on Node cn-jenkins-deploy-platform-ansible-os-3669-1 2025-07-19 07:57:46,670 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/728f18e0-1885-41ed-9451-a2226da1899b 2025-07-19 07:57:46,681 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a9bba561-8a44-4fe0-b5da-f801d59713a4 2025-07-19 07:57:49,967 - 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 1027ms') 2025-07-19 07:57:49,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42868683-18047669 failed! 2025-07-19 07:57:50,026 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42868683:ctest-vn-87187664 is 45.37.233.65 and allocation pool is NOT set 2025-07-19 07:57:52,086 - 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=3.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/2.104/3.810/1.705 ms') 2025-07-19 07:57:52,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42868683-18047669 passed 2025-07-19 07:57:52,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:57:52,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42868683-18047669, IP 45.37.233.67, Port 22 2025-07-19 07:57:52,393 - DEBUG - VM ctest-TestBasicPolicy-42868683-18047669 is ready for SSH connections 2025-07-19 07:57:52,393 - INFO - Waiting for VM ctest-TestBasicPolicy-42868683-53440007 to be up.. 2025-07-19 07:57:52,468 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:57:52,468 - INFO - VM name : ctest-TestBasicPolicy-42868683-53440007 2025-07-19 07:57:52,544 - DEBUG - VM ctest-TestBasicPolicy-42868683-53440007 ID is 6b1aceae-f41b-4b60-a6ca-f2b1ca474adb 2025-07-19 07:57:52,544 - DEBUG - VM ctest-TestBasicPolicy-42868683-53440007 launched on Node cn-jenkins-deploy-platform-ansible-os-3669-1 2025-07-19 07:57:52,618 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b1aceae-f41b-4b60-a6ca-f2b1ca474adb 2025-07-19 07:57:52,628 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/53f8ee6f-28d5-43f0-b1de-50dbe57ef7da 2025-07-19 07:57:53,864 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.650/2.896/1.245 ms') 2025-07-19 07:57:53,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42868683-53440007 passed 2025-07-19 07:57:54,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:57:54,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42868683-53440007, IP 152.248.102.3, Port 22 2025-07-19 07:57:54,173 - DEBUG - VM ctest-TestBasicPolicy-42868683-53440007 is ready for SSH connections 2025-07-19 07:57:54,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:57:54,174 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.248.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-19 07:57:54,174 - DEBUG - ping -s 56 -c 3 -W 1 152.248.102.3 2025-07-19 07:57:57,868 - DEBUG - PING 152.248.102.3 (152.248.102.3): 56 data bytes 64 bytes from 152.248.102.3: seq=0 ttl=63 time=3.601 ms 64 bytes from 152.248.102.3: seq=1 ttl=63 time=0.909 ms 64 bytes from 152.248.102.3: seq=2 ttl=63 time=0.907 ms --- 152.248.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.805/3.601 ms 2025-07-19 07:57:57,868 - INFO - Ping to IP 152.248.102.3 from VM ctest-TestBasicPolicy-42868683-18047669 passed 2025-07-19 07:57:58,046 - DEBUG - Policy Update Response {"network-policy": {"uuid": "436d0152-89b9-4496-9612-7715ced85132", "href": "http://10.0.0.19:8082/network-policy/436d0152-89b9-4496-9612-7715ced85132"}} 2025-07-19 07:57:58,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:57:58,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.248.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-19 07:57:58,046 - DEBUG - ping -s 56 -c 3 -W 1 152.248.102.3 2025-07-19 07:58:01,259 - DEBUG - PING 152.248.102.3 (152.248.102.3): 56 data bytes --- 152.248.102.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-19 07:58:01,259 - WARNING - Ping to IP 152.248.102.3 from VM ctest-TestBasicPolicy-42868683-18047669 failed 2025-07-19 07:58:01,259 - INFO - Deleting VM ctest-TestBasicPolicy-42868683-53440007 2025-07-19 07:58:01,328 - INFO - Deleting VM ctest-TestBasicPolicy-42868683-18047669 2025-07-19 07:58:01,770 - INFO - Deleted policy ctest-policy-allow-all-59767753 2025-07-19 07:58:01,770 - INFO - Deleting VN ctest-vn-17717715 2025-07-19 07:58:01,819 - DEBUG - VN 262ad5a3-bad7-4bf2-b473-c7dbed82355f still in use: Unable to complete operation on network 262ad5a3-bad7-4bf2-b473-c7dbed82355f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c477a7c0-f396-45b8-89b7-e7e7deb4c5af'] 2025-07-19 07:58:01,819 - WARNING - Deleting VN ctest-vn-17717715 failed..Will retry 2025-07-19 07:58:03,938 - DEBUG - Response for deleting network () 2025-07-19 07:58:03,938 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ac763861-b3c4-4415-a36a-0d29c2df20ba 2025-07-19 07:58:03,943 - DEBUG - Response Code: 404 2025-07-19 07:58:03,944 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:58:03,950 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:58:04,009 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:58:04,086 - INFO - Validated that VN ctest-vn-17717715 is not found in API Server 2025-07-19 07:58:04,097 - DEBUG - VN ctest-vn-17717715 is not present in Agent 10.0.0.19 2025-07-19 07:58:04,097 - INFO - Validated that VN ctest-vn-17717715 is not in any agent 2025-07-19 07:58:04,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17717715 info 2025-07-19 07:58:04,114 - INFO - Deleting VN ctest-vn-87187664 2025-07-19 07:58:04,229 - DEBUG - Response for deleting network () 2025-07-19 07:58:04,230 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ea28211b-7ae4-47bc-b3f6-5d3bce4d3409 2025-07-19 07:58:04,248 - DEBUG - Response Code: 404 2025-07-19 07:58:04,248 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-19 07:58:04,256 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3de3f2f1-a51f-4acc-b9f4-be7f5c779869 2025-07-19 07:58:04,312 - DEBUG - Requesting: http://10.0.0.19:8082/project/c47693bf-8624-49da-8351-99ef2d1d967a 2025-07-19 07:58:04,394 - INFO - Validated that VN ctest-vn-87187664 is not found in API Server 2025-07-19 07:58:04,406 - DEBUG - VN ctest-vn-87187664 is not present in Agent 10.0.0.19 2025-07-19 07:58:04,406 - INFO - Validated that VN ctest-vn-87187664 is not in any agent 2025-07-19 07:58:04,426 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87187664 info 2025-07-19 07:58:04,684 - DEBUG - No XMPP flaps were noticed during the test
2025-07-19 07:58:04,684 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-19 07:58:04,684 - INFO - -------------------------------------------------------------------------------- 2025-07-19 07:58:05,395 - INFO - Deleted project: ctest-TestBasicPolicy-42868683, ID : c47693bf-8624-49da-8351-99ef2d1d967a