2025-10-28 21:43:42,987 - INFO - Domain Default found not creating 2025-10-28 21:43:43,133 - INFO - Project ctest-TestBasicPolicy-48846789 not found, creating it 2025-10-28 21:43:43,562 - INFO - Created Project:ctest-TestBasicPolicy-48846789, ID : ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:43:44,974 - INFO - ================================================================================ 2025-10-28 21:43:44,975 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 21:43:44,975 - 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-10-28 21:43:45,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-10-28 21:43:45,233 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:43:45,233 - INFO - 2025-10-28 21:43:45,790 - DEBUG - Response for create_network : {'network': {'id': 'f63fcdbe-6a3e-43c1-a479-3149de9fc4f3', 'name': 'ctest-vn-03117110', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'project_id': 'ab0a59d1c6a34289ab86499578e717d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-vn-03117110'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:45,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '03f5d6cd-1267-4c61-9575-fd8a5ef2aede', 'name': '', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'network_id': 'f63fcdbe-6a3e-43c1-a479-3149de9fc4f3', 'ip_version': 4, 'cidr': '161.126.21.0/26', 'allocation_pools': [{'start': '161.126.21.2', 'end': '161.126.21.62'}], 'gateway_ip': '161.126.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.126.21.2', 'tags': [], 'project_id': 'ab0a59d1c6a34289ab86499578e717d2'}} 2025-10-28 21:43:45,974 - INFO - Created VN ctest-vn-03117110 2025-10-28 21:43:46,027 - DEBUG - VN ctest-vn-03117110 UUID is f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:46,325 - DEBUG - Response for create_network : {'network': {'id': 'cb87a4f4-3de9-4009-8be2-47c47a0f0cf0', 'name': 'ctest-vn-21030477', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'project_id': 'ab0a59d1c6a34289ab86499578e717d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-vn-21030477'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:46,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '33130410-03a9-4d91-9cc5-105dc393faad', 'name': '', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'network_id': 'cb87a4f4-3de9-4009-8be2-47c47a0f0cf0', 'ip_version': 4, 'cidr': '87.168.157.0/26', 'allocation_pools': [{'start': '87.168.157.2', 'end': '87.168.157.62'}], 'gateway_ip': '87.168.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.168.157.2', 'tags': [], 'project_id': 'ab0a59d1c6a34289ab86499578e717d2'}} 2025-10-28 21:43:46,516 - INFO - Created VN ctest-vn-21030477 2025-10-28 21:43:46,571 - DEBUG - VN ctest-vn-21030477 UUID is cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:46,714 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110, 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-48846789:ctest-vn-21030477, 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-10-28 21:43:46,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f63fcdbe-6a3e-43c1-a479-3149de9fc4f3', 'name': 'ctest-vn-03117110', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'project_id': 'ab0a59d1c6a34289ab86499578e717d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03f5d6cd-1267-4c61-9575-fd8a5ef2aede'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-vn-03117110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-policy-allow-all-94242950']], 'subnet_ipam': [{'subnet_cidr': '161.126.21.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:47,207 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb87a4f4-3de9-4009-8be2-47c47a0f0cf0', 'name': 'ctest-vn-21030477', 'tenant_id': 'ab0a59d1c6a34289ab86499578e717d2', 'project_id': 'ab0a59d1c6a34289ab86499578e717d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33130410-03a9-4d91-9cc5-105dc393faad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-vn-21030477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-policy-allow-all-94242950']], 'subnet_ipam': [{'subnet_cidr': '87.168.157.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:47,375 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:43:47,664 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:43:47,967 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:43:47,978 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:43:48,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,058 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,068 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:43:48,075 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:43:48,081 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c315c5ef-bd4a-408f-b228-8fc09a6d7bae 2025-10-28 21:43:48,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:43:48,087 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,095 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:43:48,118 - INFO - Verified VN network id 11 for VN f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,118 - INFO - Verifications in API Server for VN ctest-vn-03117110 passed 2025-10-28 21:43:48,118 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:43:48,131 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:43:48,136 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c315c5ef-bd4a-408f-b228-8fc09a6d7bae 2025-10-28 21:43:48,147 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48846789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17744127274572989377', 'uuid-lslong': '11851558087739557107'}, 'enable': 'true', 'created': '2025-10-28T21:43:45', 'last-modified': '2025-10-28T21:43:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.170434'} 2025-10-28 21:43:48,153 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:43:48,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03117110 passed 2025-10-28 21:43:48,153 - DEBUG - ====Verifying policy data for ctest-vn-03117110 in API_Server ====== 2025-10-28 21:43:48,153 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:43:48,158 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:43:48,168 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:43:48,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f63fcdbe-6a3e-43c1-a479-3149de9fc4f3 2025-10-28 21:43:48,246 - DEBUG - ==>Verifying data for policy with id: d02fd095-59dc-4a08-a3f0-9ad44085a735, fqn: ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-policy-allow-all-94242950'] 2025-10-28 21:43:48,246 - INFO - VN ctest-vn-03117110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:43:48,246 - DEBUG - Verifying the vn in opserver 2025-10-28 21:43:48,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110 virtual network link through opserver 10.0.0.33 2025-10-28 21:43:48,246 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-28 21:43:48,591 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-28 21:43:48,673 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110?flat'} 2025-10-28 21:43:48,673 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110 is found in opserver 2025-10-28 21:43:48,684 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:43:48,688 - DEBUG - VRF ids for VN ctest-vn-03117110: {} 2025-10-28 21:43:48,688 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:43:48,694 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:43:48,705 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:43:48,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,786 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,797 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:43:48,803 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:43:48,808 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/097cebb0-b290-4bb8-949c-758abe26e915 2025-10-28 21:43:48,814 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:43:48,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,823 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:43:48,838 - INFO - Verified VN network id 12 for VN cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,838 - INFO - Verifications in API Server for VN ctest-vn-21030477 passed 2025-10-28 21:43:48,838 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,846 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:43:48,853 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:43:48,860 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/097cebb0-b290-4bb8-949c-758abe26e915 2025-10-28 21:43:48,871 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-21030477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48846789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14665872080472981513', 'uuid-lslong': '10079697825195560176'}, 'enable': 'true', 'created': '2025-10-28T21:43:46', 'last-modified': '2025-10-28T21:43:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.680546'} 2025-10-28 21:43:48,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:43:48,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21030477 passed 2025-10-28 21:43:48,877 - DEBUG - ====Verifying policy data for ctest-vn-21030477 in API_Server ====== 2025-10-28 21:43:48,877 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:43:48,882 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:43:48,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:43:48,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 2025-10-28 21:43:48,971 - DEBUG - ==>Verifying data for policy with id: d02fd095-59dc-4a08-a3f0-9ad44085a735, fqn: ['default-domain', 'ctest-TestBasicPolicy-48846789', 'ctest-policy-allow-all-94242950'] 2025-10-28 21:43:48,971 - INFO - VN ctest-vn-21030477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:43:48,971 - DEBUG - Verifying the vn in opserver 2025-10-28 21:43:48,971 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-21030477 virtual network link through opserver 10.0.0.33 2025-10-28 21:43:48,971 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-28 21:43:48,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-21030477', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-21030477?flat'} 2025-10-28 21:43:48,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-21030477 is found in opserver 2025-10-28 21:43:48,992 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:43:48,998 - DEBUG - VRF ids for VN ctest-vn-21030477: {} 2025-10-28 21:43:49,068 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:43:50,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:43:51,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:43:51,132 - INFO - Waiting for VM ctest-TestBasicPolicy-48846789-48245026 to be up.. 2025-10-28 21:43:51,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:43:56,273 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:43:56,273 - INFO - VM name : ctest-TestBasicPolicy-48846789-48245026 2025-10-28 21:43:56,343 - DEBUG - VM ctest-TestBasicPolicy-48846789-48245026 ID is a1de62dd-7290-498f-bafe-6ce32dc42c9b 2025-10-28 21:43:56,364 - DEBUG - VM ctest-TestBasicPolicy-48846789-48245026 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:43:56,438 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a1de62dd-7290-498f-bafe-6ce32dc42c9b 2025-10-28 21:43:56,445 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9023b072-d54b-4d41-9c65-06d8fb459d31 2025-10-28 21:43:59,705 - 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 1022ms') 2025-10-28 21:43:59,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48846789-48245026 failed! 2025-10-28 21:43:59,759 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48846789:ctest-vn-03117110 is 161.126.21.1 and allocation pool is NOT set 2025-10-28 21:44:01,824 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/2.391/4.344/1.953 ms') 2025-10-28 21:44:01,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48846789-48245026 passed 2025-10-28 21:44:01,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:44:01,971 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48846789-48245026, IP 161.126.21.3, Port 22 2025-10-28 21:44:02,130 - DEBUG - VM ctest-TestBasicPolicy-48846789-48245026 is ready for SSH connections 2025-10-28 21:44:02,130 - INFO - Waiting for VM ctest-TestBasicPolicy-48846789-91802473 to be up.. 2025-10-28 21:44:02,203 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:44:02,203 - INFO - VM name : ctest-TestBasicPolicy-48846789-91802473 2025-10-28 21:44:02,278 - DEBUG - VM ctest-TestBasicPolicy-48846789-91802473 ID is f0b41c6f-f244-4b30-84f6-ad3d60c3e2c8 2025-10-28 21:44:02,278 - DEBUG - VM ctest-TestBasicPolicy-48846789-91802473 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:44:02,350 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f0b41c6f-f244-4b30-84f6-ad3d60c3e2c8 2025-10-28 21:44:02,359 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bc9a85f7-3ebd-451f-bb41-afa76e77bca7 2025-10-28 21:44:03,589 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/1.760/3.155/1.394 ms') 2025-10-28 21:44:03,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48846789-91802473 passed 2025-10-28 21:44:03,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:44:03,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48846789-91802473, IP 87.168.157.3, Port 22 2025-10-28 21:44:03,894 - DEBUG - VM ctest-TestBasicPolicy-48846789-91802473 is ready for SSH connections 2025-10-28 21:44:03,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:44:03,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.168.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-28 21:44:03,894 - DEBUG - ping -s 56 -c 3 -W 1 87.168.157.3 2025-10-28 21:44:07,868 - DEBUG - PING 87.168.157.3 (87.168.157.3): 56 data bytes 64 bytes from 87.168.157.3: seq=0 ttl=63 time=2.983 ms 64 bytes from 87.168.157.3: seq=1 ttl=63 time=0.843 ms 64 bytes from 87.168.157.3: seq=2 ttl=63 time=1.098 ms --- 87.168.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.641/2.983 ms 2025-10-28 21:44:07,868 - INFO - Ping to IP 87.168.157.3 from VM ctest-TestBasicPolicy-48846789-48245026 passed 2025-10-28 21:44:08,042 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d02fd095-59dc-4a08-a3f0-9ad44085a735", "href": "http://10.0.0.33:8082/network-policy/d02fd095-59dc-4a08-a3f0-9ad44085a735"}} 2025-10-28 21:44:08,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:44:08,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.168.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-28 21:44:08,043 - DEBUG - ping -s 56 -c 3 -W 1 87.168.157.3 2025-10-28 21:44:11,255 - DEBUG - PING 87.168.157.3 (87.168.157.3): 56 data bytes --- 87.168.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:44:11,255 - WARNING - Ping to IP 87.168.157.3 from VM ctest-TestBasicPolicy-48846789-48245026 failed 2025-10-28 21:44:11,255 - INFO - Deleting VM ctest-TestBasicPolicy-48846789-91802473 2025-10-28 21:44:11,330 - INFO - Deleting VM ctest-TestBasicPolicy-48846789-48245026 2025-10-28 21:44:11,679 - INFO - Deleted policy ctest-policy-allow-all-94242950 2025-10-28 21:44:11,679 - INFO - Deleting VN ctest-vn-21030477 2025-10-28 21:44:11,706 - DEBUG - VN cb87a4f4-3de9-4009-8be2-47c47a0f0cf0 still in use: Unable to complete operation on network cb87a4f4-3de9-4009-8be2-47c47a0f0cf0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39330541-2aaa-4fac-a526-55c19823a2d2'] 2025-10-28 21:44:11,706 - WARNING - Deleting VN ctest-vn-21030477 failed..Will retry 2025-10-28 21:44:13,798 - DEBUG - Response for deleting network () 2025-10-28 21:44:13,798 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e24a54e-8943-4dd4-a3d9-a5f755daa4e1 2025-10-28 21:44:13,805 - DEBUG - Response Code: 404 2025-10-28 21:44:13,806 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:44:13,812 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:44:13,863 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:44:13,930 - INFO - Validated that VN ctest-vn-21030477 is not found in API Server 2025-10-28 21:44:13,939 - DEBUG - VN ctest-vn-21030477 is not present in Agent 10.0.0.33 2025-10-28 21:44:13,939 - INFO - Validated that VN ctest-vn-21030477 is not in any agent 2025-10-28 21:44:13,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21030477 info 2025-10-28 21:44:13,951 - INFO - Deleting VN ctest-vn-03117110 2025-10-28 21:44:14,035 - DEBUG - Response for deleting network () 2025-10-28 21:44:14,035 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f76e8e17-d08b-49a8-8aaa-a88005b28606 2025-10-28 21:44:14,040 - DEBUG - Response Code: 404 2025-10-28 21:44:14,040 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-28 21:44:14,044 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f2236f7-8582-42ce-a312-524c8b132efd 2025-10-28 21:44:14,095 - DEBUG - Requesting: http://10.0.0.33:8082/project/ab0a59d1-c6a3-4289-ab86-499578e717d2 2025-10-28 21:44:14,160 - INFO - Validated that VN ctest-vn-03117110 is not found in API Server 2025-10-28 21:44:14,168 - DEBUG - VN ctest-vn-03117110 is not present in Agent 10.0.0.33 2025-10-28 21:44:14,169 - INFO - Validated that VN ctest-vn-03117110 is not in any agent 2025-10-28 21:44:14,180 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03117110 info 2025-10-28 21:44:14,435 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:44:14,435 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-28 21:44:14,435 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:44:15,066 - INFO - Deleted project: ctest-TestBasicPolicy-48846789, ID : ab0a59d1-c6a3-4289-ab86-499578e717d2