2025-07-03 02:19:27,925 - INFO - Domain Default found not creating 2025-07-03 02:19:28,074 - INFO - Project ctest-TestBasicPolicy-41223232 not found, creating it 2025-07-03 02:19:28,574 - INFO - Created Project:ctest-TestBasicPolicy-41223232, ID : fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:30,038 - INFO - ================================================================================ 2025-07-03 02:19:30,039 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-03 02:19:30,039 - 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-03 02:19:30,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-07-03 02:19:30,300 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:19:30,300 - INFO - 2025-07-03 02:19:30,895 - DEBUG - Response for create_network : {'network': {'id': '2fb81d49-2709-4621-b6e3-9838dac4b157', 'name': 'ctest-vn-46695974', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-vn-46695974'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:19:31,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '25a01ad3-e1d9-4e62-ae17-00e649d9a274', 'name': '', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'network_id': '2fb81d49-2709-4621-b6e3-9838dac4b157', 'ip_version': 4, 'cidr': '40.143.240.192/26', 'allocation_pools': [{'start': '40.143.240.194', 'end': '40.143.240.254'}], 'gateway_ip': '40.143.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.143.240.194', 'tags': [], 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5'}} 2025-07-03 02:19:31,131 - INFO - Created VN ctest-vn-46695974 2025-07-03 02:19:31,185 - DEBUG - VN ctest-vn-46695974 UUID is 2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:31,521 - DEBUG - Response for create_network : {'network': {'id': 'fdb02774-b242-4686-af12-ecbed75f13b2', 'name': 'ctest-vn-94929294', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-vn-94929294'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:19:31,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1cb0b88-5644-4364-820a-f093269ba3b7', 'name': '', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'network_id': 'fdb02774-b242-4686-af12-ecbed75f13b2', 'ip_version': 4, 'cidr': '48.49.189.192/26', 'allocation_pools': [{'start': '48.49.189.194', 'end': '48.49.189.254'}], 'gateway_ip': '48.49.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.49.189.194', 'tags': [], 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5'}} 2025-07-03 02:19:31,706 - INFO - Created VN ctest-vn-94929294 2025-07-03 02:19:31,760 - DEBUG - VN ctest-vn-94929294 UUID is fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:31,871 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974, 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-41223232:ctest-vn-94929294, 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-03 02:19:32,182 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2fb81d49-2709-4621-b6e3-9838dac4b157', 'name': 'ctest-vn-46695974', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25a01ad3-e1d9-4e62-ae17-00e649d9a274'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-vn-46695974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-policy-allow-all-79742424']], 'subnet_ipam': [{'subnet_cidr': '40.143.240.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:19:32,417 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdb02774-b242-4686-af12-ecbed75f13b2', 'name': 'ctest-vn-94929294', 'tenant_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'project_id': 'fdc10aa696a141af87dcb9f6bcd866d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1cb0b88-5644-4364-820a-f093269ba3b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-vn-94929294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-policy-allow-all-79742424']], 'subnet_ipam': [{'subnet_cidr': '48.49.189.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:19:32,592 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:32,890 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:32,919 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:32,932 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:33,003 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,015 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,024 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:33,032 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:33,038 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/543d5f69-f007-4f9d-931c-e0a06d26d152 2025-07-03 02:19:33,045 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:19:33,045 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,054 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:33,069 - INFO - Verified VN network id 8 for VN 2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,070 - INFO - Verifications in API Server for VN ctest-vn-46695974 passed 2025-07-03 02:19:33,070 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,080 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:33,087 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:33,095 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/543d5f69-f007-4f9d-931c-e0a06d26d152 2025-07-03 02:19:33,110 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41223232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3438530515522111009', 'uuid-lslong': '13178544304572117335'}, 'enable': 'true', 'created': '2025-07-03T02:19:30', 'last-modified': '2025-07-03T02:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947247'} 2025-07-03 02:19:33,117 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:19:33,117 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46695974 passed 2025-07-03 02:19:33,118 - DEBUG - ====Verifying policy data for ctest-vn-46695974 in API_Server ====== 2025-07-03 02:19:33,118 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:33,124 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:33,140 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:33,208 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2fb81d49-2709-4621-b6e3-9838dac4b157 2025-07-03 02:19:33,218 - DEBUG - ==>Verifying data for policy with id: f9940c94-f95b-45a8-bca1-bc29a0fc8149, fqn: ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-policy-allow-all-79742424'] 2025-07-03 02:19:33,219 - INFO - VN ctest-vn-46695974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:19:33,219 - DEBUG - Verifying the vn in opserver 2025-07-03 02:19:33,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974 virtual network link through opserver 10.0.0.249 2025-07-03 02:19:33,219 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-03 02:19:33,507 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-03 02:19:33,563 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974?flat'} 2025-07-03 02:19:33,563 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974 is found in opserver 2025-07-03 02:19:33,574 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:19:33,580 - DEBUG - VRF ids for VN ctest-vn-46695974: {} 2025-07-03 02:19:33,580 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:33,585 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:33,599 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:33,669 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,681 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,690 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:33,697 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:33,705 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/073f93a0-38f7-40b4-97c7-531f2cdfccc3 2025-07-03 02:19:33,711 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:19:33,712 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,722 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:33,739 - INFO - Verified VN network id 9 for VN fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,739 - INFO - Verifications in API Server for VN ctest-vn-94929294 passed 2025-07-03 02:19:33,739 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,749 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:33,756 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:33,763 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/073f93a0-38f7-40b4-97c7-531f2cdfccc3 2025-07-03 02:19:33,775 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-94929294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41223232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18280154269657220742', 'uuid-lslong': '12615405810619454386'}, 'enable': 'true', 'created': '2025-07-03T02:19:31', 'last-modified': '2025-07-03T02:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383812'} 2025-07-03 02:19:33,782 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:19:33,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94929294 passed 2025-07-03 02:19:33,782 - DEBUG - ====Verifying policy data for ctest-vn-94929294 in API_Server ====== 2025-07-03 02:19:33,782 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:33,788 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:33,801 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:33,873 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fdb02774-b242-4686-af12-ecbed75f13b2 2025-07-03 02:19:33,883 - DEBUG - ==>Verifying data for policy with id: f9940c94-f95b-45a8-bca1-bc29a0fc8149, fqn: ['default-domain', 'ctest-TestBasicPolicy-41223232', 'ctest-policy-allow-all-79742424'] 2025-07-03 02:19:33,883 - INFO - VN ctest-vn-94929294 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:19:33,883 - DEBUG - Verifying the vn in opserver 2025-07-03 02:19:33,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-94929294 virtual network link through opserver 10.0.0.249 2025-07-03 02:19:33,883 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-03 02:19:33,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-94929294', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-94929294?flat'} 2025-07-03 02:19:33,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-94929294 is found in opserver 2025-07-03 02:19:33,904 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:19:33,909 - DEBUG - VRF ids for VN ctest-vn-94929294: {} 2025-07-03 02:19:33,962 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:19:34,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3595-1) 2025-07-03 02:19:36,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3595-1) 2025-07-03 02:19:36,197 - INFO - Waiting for VM ctest-TestBasicPolicy-41223232-45866386 to be up.. 2025-07-03 02:19:36,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:19:41,354 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:19:41,354 - INFO - VM name : ctest-TestBasicPolicy-41223232-45866386 2025-07-03 02:19:41,433 - DEBUG - VM ctest-TestBasicPolicy-41223232-45866386 ID is 99894e3c-6bce-4435-a278-e6d48aa5cb28 2025-07-03 02:19:41,451 - DEBUG - VM ctest-TestBasicPolicy-41223232-45866386 launched on Node cn-jenkins-deploy-platform-ansible-os-3595-1 2025-07-03 02:19:41,524 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/99894e3c-6bce-4435-a278-e6d48aa5cb28 2025-07-03 02:19:41,533 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b0e99599-0c7a-4866-86a5-56a679dc054c 2025-07-03 02:19:44,785 - 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 1015ms') 2025-07-03 02:19:44,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41223232-45866386 failed! 2025-07-03 02:19:44,844 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41223232:ctest-vn-46695974 is 40.143.240.193 and allocation pool is NOT set 2025-07-03 02:19:46,901 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.557/1.689/2.822/1.132 ms') 2025-07-03 02:19:46,901 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41223232-45866386 passed 2025-07-03 02:19:47,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:47,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41223232-45866386, IP 40.143.240.195, Port 22 2025-07-03 02:19:47,212 - DEBUG - VM ctest-TestBasicPolicy-41223232-45866386 is ready for SSH connections 2025-07-03 02:19:47,213 - INFO - Waiting for VM ctest-TestBasicPolicy-41223232-88934336 to be up.. 2025-07-03 02:19:47,294 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:19:47,294 - INFO - VM name : ctest-TestBasicPolicy-41223232-88934336 2025-07-03 02:19:47,369 - DEBUG - VM ctest-TestBasicPolicy-41223232-88934336 ID is 5d90c407-b722-4310-97ab-bf4913a3849d 2025-07-03 02:19:47,369 - DEBUG - VM ctest-TestBasicPolicy-41223232-88934336 launched on Node cn-jenkins-deploy-platform-ansible-os-3595-1 2025-07-03 02:19:47,448 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5d90c407-b722-4310-97ab-bf4913a3849d 2025-07-03 02:19:47,458 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b6413656-a341-4c88-b5ef-41e18382d3bb 2025-07-03 02:19:48,710 - 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=4.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.966 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.966/2.936/4.907/1.970 ms') 2025-07-03 02:19:48,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41223232-88934336 passed 2025-07-03 02:19:48,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:48,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41223232-88934336, IP 48.49.189.195, Port 22 2025-07-03 02:19:49,016 - DEBUG - VM ctest-TestBasicPolicy-41223232-88934336 is ready for SSH connections 2025-07-03 02:19:49,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:49,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.49.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-03 02:19:49,016 - DEBUG - ping -s 56 -c 3 -W 1 48.49.189.195 2025-07-03 02:19:52,711 - DEBUG - PING 48.49.189.195 (48.49.189.195): 56 data bytes 64 bytes from 48.49.189.195: seq=0 ttl=63 time=3.517 ms 64 bytes from 48.49.189.195: seq=1 ttl=63 time=1.046 ms 64 bytes from 48.49.189.195: seq=2 ttl=63 time=0.890 ms --- 48.49.189.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.817/3.517 ms 2025-07-03 02:19:52,712 - INFO - Ping to IP 48.49.189.195 from VM ctest-TestBasicPolicy-41223232-45866386 passed 2025-07-03 02:19:52,900 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9940c94-f95b-45a8-bca1-bc29a0fc8149", "href": "http://10.0.0.249:8082/network-policy/f9940c94-f95b-45a8-bca1-bc29a0fc8149"}} 2025-07-03 02:19:52,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:52,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.49.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-03 02:19:52,900 - DEBUG - ping -s 56 -c 3 -W 1 48.49.189.195 2025-07-03 02:19:56,103 - DEBUG - PING 48.49.189.195 (48.49.189.195): 56 data bytes --- 48.49.189.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-03 02:19:56,103 - WARNING - Ping to IP 48.49.189.195 from VM ctest-TestBasicPolicy-41223232-45866386 failed 2025-07-03 02:19:56,103 - INFO - Deleting VM ctest-TestBasicPolicy-41223232-88934336 2025-07-03 02:19:56,171 - INFO - Deleting VM ctest-TestBasicPolicy-41223232-45866386 2025-07-03 02:19:56,555 - INFO - Deleted policy ctest-policy-allow-all-79742424 2025-07-03 02:19:56,555 - INFO - Deleting VN ctest-vn-94929294 2025-07-03 02:19:56,606 - DEBUG - VN fdb02774-b242-4686-af12-ecbed75f13b2 still in use: Unable to complete operation on network fdb02774-b242-4686-af12-ecbed75f13b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61626468-671a-49b4-b448-240490c66987'] 2025-07-03 02:19:56,606 - WARNING - Deleting VN ctest-vn-94929294 failed..Will retry 2025-07-03 02:19:58,711 - DEBUG - Response for deleting network () 2025-07-03 02:19:58,711 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/badab921-8c41-46d4-8a32-33e44d3fa25b 2025-07-03 02:19:58,717 - DEBUG - Response Code: 404 2025-07-03 02:19:58,717 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:58,723 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:58,782 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:58,855 - INFO - Validated that VN ctest-vn-94929294 is not found in API Server 2025-07-03 02:19:58,866 - DEBUG - VN ctest-vn-94929294 is not present in Agent 10.0.0.249 2025-07-03 02:19:58,866 - INFO - Validated that VN ctest-vn-94929294 is not in any agent 2025-07-03 02:19:58,884 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94929294 info 2025-07-03 02:19:58,884 - INFO - Deleting VN ctest-vn-46695974 2025-07-03 02:19:58,980 - DEBUG - Response for deleting network () 2025-07-03 02:19:58,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/72b0b97a-ffb4-4b4c-a8d6-b560f2f94b25 2025-07-03 02:19:58,988 - DEBUG - Response Code: 404 2025-07-03 02:19:58,988 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-03 02:19:58,993 - DEBUG - Requesting: http://10.0.0.249:8082/domain/27f56240-2fc3-4d0b-8612-cd03a49956ca 2025-07-03 02:19:59,049 - DEBUG - Requesting: http://10.0.0.249:8082/project/fdc10aa6-96a1-41af-87dc-b9f6bcd866d5 2025-07-03 02:19:59,123 - INFO - Validated that VN ctest-vn-46695974 is not found in API Server 2025-07-03 02:19:59,134 - DEBUG - VN ctest-vn-46695974 is not present in Agent 10.0.0.249 2025-07-03 02:19:59,134 - INFO - Validated that VN ctest-vn-46695974 is not in any agent 2025-07-03 02:19:59,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46695974 info 2025-07-03 02:19:59,406 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:19:59,406 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-03 02:19:59,406 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:20:00,076 - INFO - Deleted project: ctest-TestBasicPolicy-41223232, ID : fdc10aa6-96a1-41af-87dc-b9f6bcd866d5