2025-06-11 06:13:37,717 - INFO - Domain Default found not creating 2025-06-11 06:13:37,862 - INFO - Project ctest-TestBasicPolicy-52909663 not found, creating it 2025-06-11 06:13:38,344 - INFO - Created Project:ctest-TestBasicPolicy-52909663, ID : 8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:13:39,940 - INFO - ================================================================================ 2025-06-11 06:13:39,940 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-11 06:13:39,940 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-11 06:13:40,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-06-11 06:13:40,198 - INFO - Initial checks done. Running the testcase now 2025-06-11 06:13:40,199 - INFO - 2025-06-11 06:13:40,830 - DEBUG - Response for create_network : {'network': {'id': '4cafdffb-495f-47c3-b1c2-779c4142d0cf', 'name': 'ctest-vn-50121573', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'project_id': '8b44922f5a57440ca796d3d98a53ec37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-vn-50121573'], 'port_security_enabled': True, 'description': ''}} 2025-06-11 06:13:41,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '8051ec98-a68e-45ee-b594-7c3f297f5141', 'name': '', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'network_id': '4cafdffb-495f-47c3-b1c2-779c4142d0cf', 'ip_version': 4, 'cidr': '217.97.18.128/26', 'allocation_pools': [{'start': '217.97.18.130', 'end': '217.97.18.190'}], 'gateway_ip': '217.97.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.97.18.130', 'tags': [], 'project_id': '8b44922f5a57440ca796d3d98a53ec37'}} 2025-06-11 06:13:41,080 - INFO - Created VN ctest-vn-50121573 2025-06-11 06:13:41,135 - DEBUG - VN ctest-vn-50121573 UUID is 4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:41,446 - DEBUG - Response for create_network : {'network': {'id': 'ab2707e4-5a68-46fd-a2c9-8aa376c68725', 'name': 'ctest-vn-03007208', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'project_id': '8b44922f5a57440ca796d3d98a53ec37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-vn-03007208'], 'port_security_enabled': True, 'description': ''}} 2025-06-11 06:13:41,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea8c7d8f-e357-445f-aa2b-b5e4c2dd4e3c', 'name': '', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'network_id': 'ab2707e4-5a68-46fd-a2c9-8aa376c68725', 'ip_version': 4, 'cidr': '44.241.82.0/26', 'allocation_pools': [{'start': '44.241.82.2', 'end': '44.241.82.62'}], 'gateway_ip': '44.241.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.241.82.2', 'tags': [], 'project_id': '8b44922f5a57440ca796d3d98a53ec37'}} 2025-06-11 06:13:41,701 - INFO - Created VN ctest-vn-03007208 2025-06-11 06:13:41,755 - DEBUG - VN ctest-vn-03007208 UUID is ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:41,911 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573, 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-52909663:ctest-vn-03007208, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-11 06:13:42,216 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4cafdffb-495f-47c3-b1c2-779c4142d0cf', 'name': 'ctest-vn-50121573', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'project_id': '8b44922f5a57440ca796d3d98a53ec37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8051ec98-a68e-45ee-b594-7c3f297f5141'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-vn-50121573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-policy-allow-all-14143320']], 'subnet_ipam': [{'subnet_cidr': '217.97.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-11 06:13:42,459 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab2707e4-5a68-46fd-a2c9-8aa376c68725', 'name': 'ctest-vn-03007208', 'tenant_id': '8b44922f5a57440ca796d3d98a53ec37', 'project_id': '8b44922f5a57440ca796d3d98a53ec37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea8c7d8f-e357-445f-aa2b-b5e4c2dd4e3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-vn-03007208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-policy-allow-all-14143320']], 'subnet_ipam': [{'subnet_cidr': '44.241.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-11 06:13:42,631 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:13:42,980 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:13:43,012 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:13:43,026 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:13:43,100 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,112 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,124 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:13:43,133 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:13:43,140 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/cff58f73-23c0-42fa-8710-a53710a064ec 2025-06-11 06:13:43,147 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-11 06:13:43,147 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,157 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:13:43,172 - INFO - Verified VN network id 8 for VN 4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,172 - INFO - Verifications in API Server for VN ctest-vn-50121573 passed 2025-06-11 06:13:43,172 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,184 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:13:43,191 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:13:43,199 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/cff58f73-23c0-42fa-8710-a53710a064ec 2025-06-11 06:13:43,211 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52909663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5525881538167654339', 'uuid-lslong': '12808931803188613327'}, 'enable': 'true', 'created': '2025-06-11T06:13:40', 'last-modified': '2025-06-11T06:13:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024632'} 2025-06-11 06:13:43,218 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-11 06:13:43,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50121573 passed 2025-06-11 06:13:43,218 - DEBUG - ====Verifying policy data for ctest-vn-50121573 in API_Server ====== 2025-06-11 06:13:43,218 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:13:43,224 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:13:43,237 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:13:43,317 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4cafdffb-495f-47c3-b1c2-779c4142d0cf 2025-06-11 06:13:43,332 - DEBUG - ==>Verifying data for policy with id: 6ad5eea5-b678-456d-a5bd-6538cad078b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-policy-allow-all-14143320'] 2025-06-11 06:13:43,332 - INFO - VN ctest-vn-50121573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-11 06:13:43,332 - DEBUG - Verifying the vn in opserver 2025-06-11 06:13:43,332 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573 virtual network link through opserver 10.0.0.57 2025-06-11 06:13:43,333 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-11 06:13:43,664 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-11 06:13:43,735 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573?flat'} 2025-06-11 06:13:43,735 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573 is found in opserver 2025-06-11 06:13:43,749 - DEBUG - Do not have enough data to verify VN in agent 2025-06-11 06:13:43,755 - DEBUG - VRF ids for VN ctest-vn-50121573: {} 2025-06-11 06:13:43,755 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:13:43,762 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:13:43,775 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:13:43,845 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:43,858 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:43,868 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:13:43,876 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:13:43,883 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b654eca1-ba7a-4c95-8457-a69b33af5d5e 2025-06-11 06:13:43,889 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-11 06:13:43,889 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:43,899 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:13:43,913 - INFO - Verified VN network id 9 for VN ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:43,914 - INFO - Verifications in API Server for VN ctest-vn-03007208 passed 2025-06-11 06:13:43,914 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:43,924 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:13:43,930 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:13:43,938 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b654eca1-ba7a-4c95-8457-a69b33af5d5e 2025-06-11 06:13:43,951 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-03007208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52909663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12332834781928113917', 'uuid-lslong': '11730059139140192037'}, 'enable': 'true', 'created': '2025-06-11T06:13:41', 'last-modified': '2025-06-11T06:13:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516586'} 2025-06-11 06:13:43,957 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-11 06:13:43,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03007208 passed 2025-06-11 06:13:43,957 - DEBUG - ====Verifying policy data for ctest-vn-03007208 in API_Server ====== 2025-06-11 06:13:43,958 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:13:43,963 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:13:43,977 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:13:44,051 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/ab2707e4-5a68-46fd-a2c9-8aa376c68725 2025-06-11 06:13:44,062 - DEBUG - ==>Verifying data for policy with id: 6ad5eea5-b678-456d-a5bd-6538cad078b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-52909663', 'ctest-policy-allow-all-14143320'] 2025-06-11 06:13:44,063 - INFO - VN ctest-vn-03007208 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-11 06:13:44,063 - DEBUG - Verifying the vn in opserver 2025-06-11 06:13:44,063 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-03007208 virtual network link through opserver 10.0.0.57 2025-06-11 06:13:44,063 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-11 06:13:44,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-03007208', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-03007208?flat'} 2025-06-11 06:13:44,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-03007208 is found in opserver 2025-06-11 06:13:44,086 - DEBUG - Do not have enough data to verify VN in agent 2025-06-11 06:13:44,092 - DEBUG - VRF ids for VN ctest-vn-03007208: {} 2025-06-11 06:13:44,153 - DEBUG - Services list from nova: [, , ] 2025-06-11 06:13:45,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3441-1) 2025-06-11 06:13:46,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3441-1) 2025-06-11 06:13:46,566 - INFO - Waiting for VM ctest-TestBasicPolicy-52909663-97618341 to be up.. 2025-06-11 06:13:46,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-11 06:13:51,723 - DEBUG - VM is in ACTIVE state now 2025-06-11 06:13:51,724 - INFO - VM name : ctest-TestBasicPolicy-52909663-97618341 2025-06-11 06:13:51,799 - DEBUG - VM ctest-TestBasicPolicy-52909663-97618341 ID is c2e32018-202d-4305-a480-b6f4f9f7c289 2025-06-11 06:13:51,817 - DEBUG - VM ctest-TestBasicPolicy-52909663-97618341 launched on Node cn-jenkins-deploy-platform-ansible-os-3441-1 2025-06-11 06:13:51,892 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c2e32018-202d-4305-a480-b6f4f9f7c289 2025-06-11 06:13:51,901 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/217f3ce1-6931-4348-9636-6c2b92dcc337 2025-06-11 06:13:55,172 - 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-06-11 06:13:55,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52909663-97618341 failed! 2025-06-11 06:13:55,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52909663:ctest-vn-50121573 is 217.97.18.129 and allocation pool is NOT set 2025-06-11 06:13:57,294 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.861 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.861/5.794/10.728/4.933 ms') 2025-06-11 06:13:57,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52909663-97618341 passed 2025-06-11 06:13:57,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-11 06:13:57,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52909663-97618341, IP 217.97.18.131, Port 22 2025-06-11 06:13:57,611 - DEBUG - VM ctest-TestBasicPolicy-52909663-97618341 is ready for SSH connections 2025-06-11 06:13:57,611 - INFO - Waiting for VM ctest-TestBasicPolicy-52909663-37087011 to be up.. 2025-06-11 06:13:57,689 - DEBUG - VM is in ACTIVE state now 2025-06-11 06:13:57,689 - INFO - VM name : ctest-TestBasicPolicy-52909663-37087011 2025-06-11 06:13:57,761 - DEBUG - VM ctest-TestBasicPolicy-52909663-37087011 ID is ad0792b0-7034-41ce-8070-9b70ae695ab8 2025-06-11 06:13:57,761 - DEBUG - VM ctest-TestBasicPolicy-52909663-37087011 launched on Node cn-jenkins-deploy-platform-ansible-os-3441-1 2025-06-11 06:13:57,835 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ad0792b0-7034-41ce-8070-9b70ae695ab8 2025-06-11 06:13:57,844 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d9b6923e-de9a-47db-ab2a-da81e6639a9e 2025-06-11 06:13:59,100 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 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 = 1.726/3.457/5.188/1.731 ms') 2025-06-11 06:13:59,100 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52909663-37087011 passed 2025-06-11 06:13:59,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-11 06:13:59,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52909663-37087011, IP 44.241.82.3, Port 22 2025-06-11 06:13:59,406 - DEBUG - VM ctest-TestBasicPolicy-52909663-37087011 is ready for SSH connections 2025-06-11 06:13:59,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-11 06:13:59,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.241.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-11 06:13:59,407 - DEBUG - ping -s 56 -c 3 -W 1 44.241.82.3 2025-06-11 06:14:03,170 - DEBUG - PING 44.241.82.3 (44.241.82.3): 56 data bytes 64 bytes from 44.241.82.3: seq=0 ttl=63 time=4.482 ms 64 bytes from 44.241.82.3: seq=1 ttl=63 time=0.840 ms 64 bytes from 44.241.82.3: seq=2 ttl=63 time=0.869 ms --- 44.241.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.063/4.482 ms 2025-06-11 06:14:03,171 - INFO - Ping to IP 44.241.82.3 from VM ctest-TestBasicPolicy-52909663-97618341 passed 2025-06-11 06:14:03,347 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6ad5eea5-b678-456d-a5bd-6538cad078b5", "href": "http://10.0.0.57:8082/network-policy/6ad5eea5-b678-456d-a5bd-6538cad078b5"}} 2025-06-11 06:14:03,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-11 06:14:03,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.241.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-11 06:14:03,347 - DEBUG - ping -s 56 -c 3 -W 1 44.241.82.3 2025-06-11 06:14:06,570 - DEBUG - PING 44.241.82.3 (44.241.82.3): 56 data bytes 64 bytes from 44.241.82.3: seq=0 ttl=63 time=1.344 ms --- 44.241.82.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.344/1.344/1.344 ms 2025-06-11 06:14:06,570 - WARNING - Ping to IP 44.241.82.3 from VM ctest-TestBasicPolicy-52909663-97618341 failed 2025-06-11 06:14:06,570 - INFO - Deleting VM ctest-TestBasicPolicy-52909663-37087011 2025-06-11 06:14:06,634 - INFO - Deleting VM ctest-TestBasicPolicy-52909663-97618341 2025-06-11 06:14:07,029 - INFO - Deleted policy ctest-policy-allow-all-14143320 2025-06-11 06:14:07,030 - INFO - Deleting VN ctest-vn-03007208 2025-06-11 06:14:07,068 - DEBUG - VN ab2707e4-5a68-46fd-a2c9-8aa376c68725 still in use: Unable to complete operation on network ab2707e4-5a68-46fd-a2c9-8aa376c68725. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-880dbb0f-a877-49ea-9dfa-f01c432137a1'] 2025-06-11 06:14:07,068 - WARNING - Deleting VN ctest-vn-03007208 failed..Will retry 2025-06-11 06:14:09,174 - DEBUG - Response for deleting network () 2025-06-11 06:14:09,174 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3e5f8084-9d85-4822-9825-1444004d27c2 2025-06-11 06:14:09,180 - DEBUG - Response Code: 404 2025-06-11 06:14:09,182 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:14:09,189 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:14:09,246 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:14:09,323 - INFO - Validated that VN ctest-vn-03007208 is not found in API Server 2025-06-11 06:14:09,334 - DEBUG - VN ctest-vn-03007208 is not present in Agent 10.0.0.57 2025-06-11 06:14:09,334 - INFO - Validated that VN ctest-vn-03007208 is not in any agent 2025-06-11 06:14:09,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03007208 info 2025-06-11 06:14:09,351 - INFO - Deleting VN ctest-vn-50121573 2025-06-11 06:14:09,463 - DEBUG - Response for deleting network () 2025-06-11 06:14:09,463 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/50104d0a-d2ba-4376-8009-5eaeaeb369ae 2025-06-11 06:14:09,475 - DEBUG - Response Code: 404 2025-06-11 06:14:09,476 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-11 06:14:09,482 - DEBUG - Requesting: http://10.0.0.57:8082/domain/974cc0ff-cdf9-4546-ac02-119a95e2ec94 2025-06-11 06:14:09,536 - DEBUG - Requesting: http://10.0.0.57:8082/project/8b44922f-5a57-440c-a796-d3d98a53ec37 2025-06-11 06:14:09,611 - INFO - Validated that VN ctest-vn-50121573 is not found in API Server 2025-06-11 06:14:09,623 - DEBUG - VN ctest-vn-50121573 is not present in Agent 10.0.0.57 2025-06-11 06:14:09,623 - INFO - Validated that VN ctest-vn-50121573 is not in any agent 2025-06-11 06:14:09,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50121573 info 2025-06-11 06:14:09,897 - DEBUG - No XMPP flaps were noticed during the test
2025-06-11 06:14:09,897 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-11 06:14:09,897 - INFO - -------------------------------------------------------------------------------- 2025-06-11 06:14:10,634 - INFO - Deleted project: ctest-TestBasicPolicy-52909663, ID : 8b44922f-5a57-440c-a796-d3d98a53ec37