2025-12-04 15:38:34,290 - INFO - Domain Default found not creating 2025-12-04 15:38:34,428 - INFO - Project ctest-TestBasicPolicy-33557049 not found, creating it 2025-12-04 15:38:34,847 - INFO - Created Project:ctest-TestBasicPolicy-33557049, ID : 78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:38:36,223 - INFO - ================================================================================ 2025-12-04 15:38:36,223 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-04 15:38:36,223 - 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-12-04 15:38:36,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-12-04 15:38:36,476 - INFO - Initial checks done. Running the testcase now 2025-12-04 15:38:36,476 - INFO - 2025-12-04 15:38:36,983 - DEBUG - Response for create_network : {'network': {'id': '8820a468-5e44-44b5-bb45-0541808a6012', 'name': 'ctest-vn-10210206', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'project_id': '78f95a6e33a1475cb9281c3cee469d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-vn-10210206'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 15:38:37,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '9615d439-f416-401c-b481-dd04fe5a349c', 'name': '', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'network_id': '8820a468-5e44-44b5-bb45-0541808a6012', 'ip_version': 4, 'cidr': '80.196.134.64/26', 'allocation_pools': [{'start': '80.196.134.66', 'end': '80.196.134.126'}], 'gateway_ip': '80.196.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.196.134.66', 'tags': [], 'project_id': '78f95a6e33a1475cb9281c3cee469d3f'}} 2025-12-04 15:38:37,178 - INFO - Created VN ctest-vn-10210206 2025-12-04 15:38:37,227 - DEBUG - VN ctest-vn-10210206 UUID is 8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:37,514 - DEBUG - Response for create_network : {'network': {'id': '86a99cfa-de41-4685-b76f-ec7233c01f8a', 'name': 'ctest-vn-68889381', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'project_id': '78f95a6e33a1475cb9281c3cee469d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-vn-68889381'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 15:38:37,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c899336-019f-4dc1-be07-a6144e954d62', 'name': '', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'network_id': '86a99cfa-de41-4685-b76f-ec7233c01f8a', 'ip_version': 4, 'cidr': '160.2.99.64/26', 'allocation_pools': [{'start': '160.2.99.66', 'end': '160.2.99.126'}], 'gateway_ip': '160.2.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.2.99.66', 'tags': [], 'project_id': '78f95a6e33a1475cb9281c3cee469d3f'}} 2025-12-04 15:38:37,676 - INFO - Created VN ctest-vn-68889381 2025-12-04 15:38:37,727 - DEBUG - VN ctest-vn-68889381 UUID is 86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:37,871 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206, 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-33557049:ctest-vn-68889381, 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-12-04 15:38:38,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8820a468-5e44-44b5-bb45-0541808a6012', 'name': 'ctest-vn-10210206', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'project_id': '78f95a6e33a1475cb9281c3cee469d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9615d439-f416-401c-b481-dd04fe5a349c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-vn-10210206'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-policy-allow-all-87264353']], 'subnet_ipam': [{'subnet_cidr': '80.196.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 15:38:38,381 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86a99cfa-de41-4685-b76f-ec7233c01f8a', 'name': 'ctest-vn-68889381', 'tenant_id': '78f95a6e33a1475cb9281c3cee469d3f', 'project_id': '78f95a6e33a1475cb9281c3cee469d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c899336-019f-4dc1-be07-a6144e954d62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-vn-68889381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-policy-allow-all-87264353']], 'subnet_ipam': [{'subnet_cidr': '160.2.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 15:38:38,547 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:38:38,838 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:38:38,865 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:38:38,875 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:38:38,941 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:38,949 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:38,957 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:38:38,962 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:38:38,969 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3396e270-4b16-420e-acce-e075cd890e8d 2025-12-04 15:38:38,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 15:38:38,973 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:38,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:38:38,990 - INFO - Verified VN network id 12 for VN 8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:38,990 - INFO - Verifications in API Server for VN ctest-vn-10210206 passed 2025-12-04 15:38:38,990 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:38,997 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:38:39,001 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:38:39,006 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3396e270-4b16-420e-acce-e075cd890e8d 2025-12-04 15:38:39,015 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33557049', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9809020756578026677', 'uuid-lslong': '13494197637373124626'}, 'enable': 'true', 'created': '2025-12-04T15:38:36', 'last-modified': '2025-12-04T15:38:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.868383'} 2025-12-04 15:38:39,020 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 15:38:39,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10210206 passed 2025-12-04 15:38:39,020 - DEBUG - ====Verifying policy data for ctest-vn-10210206 in API_Server ====== 2025-12-04 15:38:39,020 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:38:39,024 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:38:39,033 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:38:39,096 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8820a468-5e44-44b5-bb45-0541808a6012 2025-12-04 15:38:39,103 - DEBUG - ==>Verifying data for policy with id: 937e668e-5415-4c99-b481-b4ad8f11adc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-policy-allow-all-87264353'] 2025-12-04 15:38:39,103 - INFO - VN ctest-vn-10210206 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 15:38:39,103 - DEBUG - Verifying the vn in opserver 2025-12-04 15:38:39,103 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206 virtual network link through opserver 10.0.0.249 2025-12-04 15:38:39,103 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-04 15:38:39,393 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-04 15:38:39,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206?flat'} 2025-12-04 15:38:39,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206 is found in opserver 2025-12-04 15:38:39,457 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 15:38:39,461 - DEBUG - VRF ids for VN ctest-vn-10210206: {} 2025-12-04 15:38:39,461 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:38:39,466 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:38:39,476 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:38:39,542 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,551 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,558 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:38:39,564 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:38:39,569 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51b71ef0-0ab9-4daa-8df7-0bfb122008ff 2025-12-04 15:38:39,573 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 15:38:39,573 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,580 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:38:39,590 - INFO - Verified VN network id 13 for VN 86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,590 - INFO - Verifications in API Server for VN ctest-vn-68889381 passed 2025-12-04 15:38:39,590 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,598 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:38:39,603 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:38:39,608 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51b71ef0-0ab9-4daa-8df7-0bfb122008ff 2025-12-04 15:38:39,619 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-68889381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33557049', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9703459473431021189', 'uuid-lslong': '13218043406594350986'}, 'enable': 'true', 'created': '2025-12-04T15:38:37', 'last-modified': '2025-12-04T15:38:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.253593'} 2025-12-04 15:38:39,625 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 15:38:39,625 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68889381 passed 2025-12-04 15:38:39,626 - DEBUG - ====Verifying policy data for ctest-vn-68889381 in API_Server ====== 2025-12-04 15:38:39,626 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:38:39,630 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:38:39,639 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:38:39,710 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/86a99cfa-de41-4685-b76f-ec7233c01f8a 2025-12-04 15:38:39,718 - DEBUG - ==>Verifying data for policy with id: 937e668e-5415-4c99-b481-b4ad8f11adc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-33557049', 'ctest-policy-allow-all-87264353'] 2025-12-04 15:38:39,718 - INFO - VN ctest-vn-68889381 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 15:38:39,719 - DEBUG - Verifying the vn in opserver 2025-12-04 15:38:39,719 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-68889381 virtual network link through opserver 10.0.0.249 2025-12-04 15:38:39,719 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-04 15:38:39,727 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-68889381', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-68889381?flat'} 2025-12-04 15:38:39,727 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-68889381 is found in opserver 2025-12-04 15:38:39,735 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 15:38:39,739 - DEBUG - VRF ids for VN ctest-vn-68889381: {} 2025-12-04 15:38:39,792 - DEBUG - Services list from nova: [, , ] 2025-12-04 15:38:40,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4844-1) 2025-12-04 15:38:41,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4844-1) 2025-12-04 15:38:41,876 - INFO - Waiting for VM ctest-TestBasicPolicy-33557049-40211523 to be up.. 2025-12-04 15:38:41,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 15:38:47,013 - DEBUG - VM is in ACTIVE state now 2025-12-04 15:38:47,013 - INFO - VM name : ctest-TestBasicPolicy-33557049-40211523 2025-12-04 15:38:47,077 - DEBUG - VM ctest-TestBasicPolicy-33557049-40211523 ID is 75d98b7e-52ee-4125-9a24-8aa292d2e314 2025-12-04 15:38:47,094 - DEBUG - VM ctest-TestBasicPolicy-33557049-40211523 launched on Node cn-jenkins-deploy-platform-ansible-os-4844-1 2025-12-04 15:38:47,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/75d98b7e-52ee-4125-9a24-8aa292d2e314 2025-12-04 15:38:47,164 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/05da2bcf-c84d-43b4-af71-89b15582e647 2025-12-04 15:38:50,421 - 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 1023ms') 2025-12-04 15:38:50,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33557049-40211523 failed! 2025-12-04 15:38:50,475 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33557049:ctest-vn-10210206 is 80.196.134.65 and allocation pool is NOT set 2025-12-04 15:38:52,539 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.841 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.841/2.891/4.942/2.050 ms') 2025-12-04 15:38:52,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33557049-40211523 passed 2025-12-04 15:38:52,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 15:38:52,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33557049-40211523, IP 80.196.134.67, Port 22 2025-12-04 15:38:52,838 - DEBUG - VM ctest-TestBasicPolicy-33557049-40211523 is ready for SSH connections 2025-12-04 15:38:52,838 - INFO - Waiting for VM ctest-TestBasicPolicy-33557049-75128372 to be up.. 2025-12-04 15:38:52,899 - DEBUG - VM is in ACTIVE state now 2025-12-04 15:38:52,900 - INFO - VM name : ctest-TestBasicPolicy-33557049-75128372 2025-12-04 15:38:52,960 - DEBUG - VM ctest-TestBasicPolicy-33557049-75128372 ID is c73ff581-e9de-47f5-9d17-fc5f0831dc28 2025-12-04 15:38:52,960 - DEBUG - VM ctest-TestBasicPolicy-33557049-75128372 launched on Node cn-jenkins-deploy-platform-ansible-os-4844-1 2025-12-04 15:38:53,024 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c73ff581-e9de-47f5-9d17-fc5f0831dc28 2025-12-04 15:38:53,031 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/dab0ad8f-e0bf-4279-8bd0-59157fac63c4 2025-12-04 15:38:54,265 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.561/2.730/1.169 ms') 2025-12-04 15:38:54,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33557049-75128372 passed 2025-12-04 15:38:54,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 15:38:54,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33557049-75128372, IP 160.2.99.67, Port 22 2025-12-04 15:38:54,566 - DEBUG - VM ctest-TestBasicPolicy-33557049-75128372 is ready for SSH connections 2025-12-04 15:38:54,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 15:38:54,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.2.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-04 15:38:54,566 - DEBUG - ping -s 56 -c 3 -W 1 160.2.99.67 2025-12-04 15:38:58,532 - DEBUG - PING 160.2.99.67 (160.2.99.67): 56 data bytes 64 bytes from 160.2.99.67: seq=0 ttl=63 time=3.775 ms 64 bytes from 160.2.99.67: seq=1 ttl=63 time=0.920 ms 64 bytes from 160.2.99.67: seq=2 ttl=63 time=0.728 ms --- 160.2.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.807/3.775 ms 2025-12-04 15:38:58,532 - INFO - Ping to IP 160.2.99.67 from VM ctest-TestBasicPolicy-33557049-40211523 passed 2025-12-04 15:38:58,711 - DEBUG - Policy Update Response {"network-policy": {"uuid": "937e668e-5415-4c99-b481-b4ad8f11adc0", "href": "http://10.0.0.249:8082/network-policy/937e668e-5415-4c99-b481-b4ad8f11adc0"}} 2025-12-04 15:38:58,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 15:38:58,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.2.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-04 15:38:58,711 - DEBUG - ping -s 56 -c 3 -W 1 160.2.99.67 2025-12-04 15:39:01,922 - DEBUG - PING 160.2.99.67 (160.2.99.67): 56 data bytes --- 160.2.99.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 15:39:01,922 - WARNING - Ping to IP 160.2.99.67 from VM ctest-TestBasicPolicy-33557049-40211523 failed 2025-12-04 15:39:01,922 - INFO - Deleting VM ctest-TestBasicPolicy-33557049-75128372 2025-12-04 15:39:01,986 - INFO - Deleting VM ctest-TestBasicPolicy-33557049-40211523 2025-12-04 15:39:02,326 - INFO - Deleted policy ctest-policy-allow-all-87264353 2025-12-04 15:39:02,326 - INFO - Deleting VN ctest-vn-68889381 2025-12-04 15:39:02,358 - DEBUG - VN 86a99cfa-de41-4685-b76f-ec7233c01f8a still in use: Unable to complete operation on network 86a99cfa-de41-4685-b76f-ec7233c01f8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-913e973c-ce55-43ba-a0f3-6ab7b887051e'] 2025-12-04 15:39:02,358 - WARNING - Deleting VN ctest-vn-68889381 failed..Will retry 2025-12-04 15:39:04,443 - DEBUG - Response for deleting network () 2025-12-04 15:39:04,443 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/041fe09c-4dc8-4e5e-9cab-5b7c94b5bd1e 2025-12-04 15:39:04,448 - DEBUG - Response Code: 404 2025-12-04 15:39:04,448 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:39:04,452 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:39:04,504 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:39:04,574 - INFO - Validated that VN ctest-vn-68889381 is not found in API Server 2025-12-04 15:39:04,584 - DEBUG - VN ctest-vn-68889381 is not present in Agent 10.0.0.249 2025-12-04 15:39:04,584 - INFO - Validated that VN ctest-vn-68889381 is not in any agent 2025-12-04 15:39:04,596 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68889381 info 2025-12-04 15:39:04,597 - INFO - Deleting VN ctest-vn-10210206 2025-12-04 15:39:04,681 - DEBUG - Response for deleting network () 2025-12-04 15:39:04,681 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b5e3c3d2-041d-4c49-9852-8085d90a7e67 2025-12-04 15:39:04,688 - DEBUG - Response Code: 404 2025-12-04 15:39:04,689 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-04 15:39:04,693 - DEBUG - Requesting: http://10.0.0.249:8082/domain/992f5916-95ac-4ad6-803f-41c7f8ef38ab 2025-12-04 15:39:04,743 - DEBUG - Requesting: http://10.0.0.249:8082/project/78f95a6e-33a1-475c-b928-1c3cee469d3f 2025-12-04 15:39:04,810 - INFO - Validated that VN ctest-vn-10210206 is not found in API Server 2025-12-04 15:39:04,818 - DEBUG - VN ctest-vn-10210206 is not present in Agent 10.0.0.249 2025-12-04 15:39:04,818 - INFO - Validated that VN ctest-vn-10210206 is not in any agent 2025-12-04 15:39:04,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10210206 info 2025-12-04 15:39:05,083 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 15:39:05,083 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-04 15:39:05,083 - INFO - -------------------------------------------------------------------------------- 2025-12-04 15:39:05,748 - INFO - Deleted project: ctest-TestBasicPolicy-33557049, ID : 78f95a6e-33a1-475c-b928-1c3cee469d3f