2025-12-08 02:10:47,564 - INFO - Domain Default found not creating 2025-12-08 02:10:47,751 - INFO - Project ctest-TestBasicPolicy-72447035 not found, creating it 2025-12-08 02:10:48,208 - INFO - Created Project:ctest-TestBasicPolicy-72447035, ID : 0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:10:49,710 - INFO - ================================================================================ 2025-12-08 02:10:49,710 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 02:10:49,710 - 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-08 02:10:49,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0'}} with 2025-12-08 02:10:49,973 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:10:49,973 - INFO - 2025-12-08 02:10:50,528 - DEBUG - Response for create_network : {'network': {'id': 'd8a5ef64-fda1-4ffb-944f-989dfe229d1e', 'name': 'ctest-vn-41640373', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'project_id': '0f8fe65b422645daadde418c215afa42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-vn-41640373'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:10:50,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c82c355b-6f69-4e45-be4e-da4237e2d3c9', 'name': '', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'network_id': 'd8a5ef64-fda1-4ffb-944f-989dfe229d1e', 'ip_version': 4, 'cidr': '134.94.221.128/26', 'allocation_pools': [{'start': '134.94.221.130', 'end': '134.94.221.190'}], 'gateway_ip': '134.94.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.94.221.130', 'tags': [], 'project_id': '0f8fe65b422645daadde418c215afa42'}} 2025-12-08 02:10:50,743 - INFO - Created VN ctest-vn-41640373 2025-12-08 02:10:50,795 - DEBUG - VN ctest-vn-41640373 UUID is d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:51,129 - DEBUG - Response for create_network : {'network': {'id': '4b358330-7595-4a62-92d3-526f1673040d', 'name': 'ctest-vn-41318913', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'project_id': '0f8fe65b422645daadde418c215afa42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-vn-41318913'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:10:51,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c8ce1ff-0413-42f2-a633-23b689fcf78f', 'name': '', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'network_id': '4b358330-7595-4a62-92d3-526f1673040d', 'ip_version': 4, 'cidr': '199.100.163.0/26', 'allocation_pools': [{'start': '199.100.163.2', 'end': '199.100.163.62'}], 'gateway_ip': '199.100.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.100.163.2', 'tags': [], 'project_id': '0f8fe65b422645daadde418c215afa42'}} 2025-12-08 02:10:51,328 - INFO - Created VN ctest-vn-41318913 2025-12-08 02:10:51,383 - DEBUG - VN ctest-vn-41318913 UUID is 4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:51,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373, 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-72447035:ctest-vn-41318913, 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-08 02:10:51,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8a5ef64-fda1-4ffb-944f-989dfe229d1e', 'name': 'ctest-vn-41640373', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'project_id': '0f8fe65b422645daadde418c215afa42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c82c355b-6f69-4e45-be4e-da4237e2d3c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-vn-41640373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-policy-allow-all-00464889']], 'subnet_ipam': [{'subnet_cidr': '134.94.221.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:10:52,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b358330-7595-4a62-92d3-526f1673040d', 'name': 'ctest-vn-41318913', 'tenant_id': '0f8fe65b422645daadde418c215afa42', 'project_id': '0f8fe65b422645daadde418c215afa42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c8ce1ff-0413-42f2-a633-23b689fcf78f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-vn-41318913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-policy-allow-all-00464889']], 'subnet_ipam': [{'subnet_cidr': '199.100.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:10:52,239 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:10:52,548 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:10:52,584 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:10:52,595 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:10:52,666 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,677 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,685 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:10:52,692 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:10:52,699 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/88238961-14cd-499e-99f1-f7d40e2c110e 2025-12-08 02:10:52,704 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:10:52,704 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,713 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:10:52,727 - INFO - Verified VN network id 10 for VN d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,727 - INFO - Verifications in API Server for VN ctest-vn-41640373 passed 2025-12-08 02:10:52,727 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,736 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:10:52,743 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:10:52,750 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/88238961-14cd-499e-99f1-f7d40e2c110e 2025-12-08 02:10:52,762 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72447035', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15611146900380667899', 'uuid-lslong': '10686928245114445086'}, 'enable': 'true', 'created': '2025-12-08T02:10:50', 'last-modified': '2025-12-08T02:10:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994521'} 2025-12-08 02:10:52,770 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:10:52,770 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41640373 passed 2025-12-08 02:10:52,770 - DEBUG - ====Verifying policy data for ctest-vn-41640373 in API_Server ====== 2025-12-08 02:10:52,770 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:10:52,776 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:10:52,789 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:10:52,861 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d8a5ef64-fda1-4ffb-944f-989dfe229d1e 2025-12-08 02:10:52,871 - DEBUG - ==>Verifying data for policy with id: 08bf207c-cdf6-4fe9-bf1a-299f91037fc9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-policy-allow-all-00464889'] 2025-12-08 02:10:52,871 - INFO - VN ctest-vn-41640373 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:10:52,871 - DEBUG - Verifying the vn in opserver 2025-12-08 02:10:52,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373 virtual network link through opserver 10.0.0.27 2025-12-08 02:10:52,871 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-08 02:10:53,164 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-08 02:10:53,230 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373?flat'} 2025-12-08 02:10:53,230 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373 is found in opserver 2025-12-08 02:10:53,241 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:10:53,245 - DEBUG - VRF ids for VN ctest-vn-41640373: {} 2025-12-08 02:10:53,245 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:10:53,251 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:10:53,263 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:10:53,334 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,346 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:10:53,364 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:10:53,371 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0711bf54-384d-4b01-9f1b-b577753a9d83 2025-12-08 02:10:53,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:10:53,379 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,389 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:10:53,405 - INFO - Verified VN network id 11 for VN 4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,405 - INFO - Verifications in API Server for VN ctest-vn-41318913 passed 2025-12-08 02:10:53,405 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,416 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:10:53,423 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:10:53,432 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0711bf54-384d-4b01-9f1b-b577753a9d83 2025-12-08 02:10:53,446 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41318913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72447035', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5419381970764647010', 'uuid-lslong': '10579890586694910989'}, 'enable': 'true', 'created': '2025-12-08T02:10:51', 'last-modified': '2025-12-08T02:10:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432748'} 2025-12-08 02:10:53,452 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:10:53,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41318913 passed 2025-12-08 02:10:53,452 - DEBUG - ====Verifying policy data for ctest-vn-41318913 in API_Server ====== 2025-12-08 02:10:53,452 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:10:53,458 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:10:53,469 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:10:53,543 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b358330-7595-4a62-92d3-526f1673040d 2025-12-08 02:10:53,551 - DEBUG - ==>Verifying data for policy with id: 08bf207c-cdf6-4fe9-bf1a-299f91037fc9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72447035', 'ctest-policy-allow-all-00464889'] 2025-12-08 02:10:53,552 - INFO - VN ctest-vn-41318913 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:10:53,552 - DEBUG - Verifying the vn in opserver 2025-12-08 02:10:53,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41318913 virtual network link through opserver 10.0.0.27 2025-12-08 02:10:53,552 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-12-08 02:10:53,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41318913', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41318913?flat'} 2025-12-08 02:10:53,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41318913 is found in opserver 2025-12-08 02:10:53,570 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:10:53,574 - DEBUG - VRF ids for VN ctest-vn-41318913: {} 2025-12-08 02:10:53,632 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:10:54,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4853-1) 2025-12-08 02:10:55,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4853-1) 2025-12-08 02:10:55,787 - INFO - Waiting for VM ctest-TestBasicPolicy-72447035-67944041 to be up.. 2025-12-08 02:10:55,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:11:00,974 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:11:00,974 - INFO - VM name : ctest-TestBasicPolicy-72447035-67944041 2025-12-08 02:11:01,067 - DEBUG - VM ctest-TestBasicPolicy-72447035-67944041 ID is 160359c9-504b-4671-9148-3101fc753730 2025-12-08 02:11:01,095 - DEBUG - VM ctest-TestBasicPolicy-72447035-67944041 launched on Node cn-jenkins-deploy-platform-ansible-os-4853-1 2025-12-08 02:11:01,195 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/160359c9-504b-4671-9148-3101fc753730 2025-12-08 02:11:01,205 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/59400132-7727-4da7-a837-f971caab1218 2025-12-08 02:11:04,489 - 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 1033ms') 2025-12-08 02:11:04,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72447035-67944041 failed! 2025-12-08 02:11:04,547 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72447035:ctest-vn-41640373 is 134.94.221.129 and allocation pool is NOT set 2025-12-08 02:11:06,615 - 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=7.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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 = 1.106/4.216/7.327/3.110 ms') 2025-12-08 02:11:06,615 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72447035-67944041 passed 2025-12-08 02:11:06,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:11:06,767 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72447035-67944041, IP 134.94.221.131, Port 22 2025-12-08 02:11:06,922 - DEBUG - VM ctest-TestBasicPolicy-72447035-67944041 is ready for SSH connections 2025-12-08 02:11:06,922 - INFO - Waiting for VM ctest-TestBasicPolicy-72447035-39551996 to be up.. 2025-12-08 02:11:07,007 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:11:07,007 - INFO - VM name : ctest-TestBasicPolicy-72447035-39551996 2025-12-08 02:11:07,087 - DEBUG - VM ctest-TestBasicPolicy-72447035-39551996 ID is b7a8ce5e-a806-48b4-8411-852236a2e2e6 2025-12-08 02:11:07,087 - DEBUG - VM ctest-TestBasicPolicy-72447035-39551996 launched on Node cn-jenkins-deploy-platform-ansible-os-4853-1 2025-12-08 02:11:07,176 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b7a8ce5e-a806-48b4-8411-852236a2e2e6 2025-12-08 02:11:07,191 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/db7f62d1-5cd3-485d-9d2a-672745c9633a 2025-12-08 02:11:08,447 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.517/2.554/1.037 ms') 2025-12-08 02:11:08,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72447035-39551996 passed 2025-12-08 02:11:08,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:11:08,607 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72447035-39551996, IP 199.100.163.3, Port 22 2025-12-08 02:11:08,770 - DEBUG - VM ctest-TestBasicPolicy-72447035-39551996 is ready for SSH connections 2025-12-08 02:11:08,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:11:08,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.100.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-08 02:11:08,771 - DEBUG - ping -s 56 -c 3 -W 1 199.100.163.3 2025-12-08 02:11:12,821 - DEBUG - PING 199.100.163.3 (199.100.163.3): 56 data bytes 64 bytes from 199.100.163.3: seq=0 ttl=63 time=3.305 ms 64 bytes from 199.100.163.3: seq=1 ttl=63 time=0.803 ms 64 bytes from 199.100.163.3: seq=2 ttl=63 time=0.955 ms --- 199.100.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.687/3.305 ms 2025-12-08 02:11:12,821 - INFO - Ping to IP 199.100.163.3 from VM ctest-TestBasicPolicy-72447035-67944041 passed 2025-12-08 02:11:12,995 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08bf207c-cdf6-4fe9-bf1a-299f91037fc9", "href": "http://10.0.0.27:8082/network-policy/08bf207c-cdf6-4fe9-bf1a-299f91037fc9"}} 2025-12-08 02:11:12,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:11:12,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.100.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-08 02:11:12,995 - DEBUG - ping -s 56 -c 3 -W 1 199.100.163.3 2025-12-08 02:11:16,212 - DEBUG - PING 199.100.163.3 (199.100.163.3): 56 data bytes --- 199.100.163.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:11:16,212 - WARNING - Ping to IP 199.100.163.3 from VM ctest-TestBasicPolicy-72447035-67944041 failed 2025-12-08 02:11:16,212 - INFO - Deleting VM ctest-TestBasicPolicy-72447035-39551996 2025-12-08 02:11:16,288 - INFO - Deleting VM ctest-TestBasicPolicy-72447035-67944041 2025-12-08 02:11:16,659 - INFO - Deleted policy ctest-policy-allow-all-00464889 2025-12-08 02:11:16,659 - INFO - Deleting VN ctest-vn-41318913 2025-12-08 02:11:16,695 - DEBUG - VN 4b358330-7595-4a62-92d3-526f1673040d still in use: Unable to complete operation on network 4b358330-7595-4a62-92d3-526f1673040d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3efa9b67-9445-4316-941a-c99c03c7177e'] 2025-12-08 02:11:16,696 - WARNING - Deleting VN ctest-vn-41318913 failed..Will retry 2025-12-08 02:11:18,804 - DEBUG - Response for deleting network () 2025-12-08 02:11:18,804 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7cf0b098-41d7-4fe3-a6a6-76ce75c57a6d 2025-12-08 02:11:18,811 - DEBUG - Response Code: 404 2025-12-08 02:11:18,811 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:11:18,817 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:11:18,872 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:11:18,944 - INFO - Validated that VN ctest-vn-41318913 is not found in API Server 2025-12-08 02:11:18,955 - DEBUG - VN ctest-vn-41318913 is not present in Agent 10.0.0.27 2025-12-08 02:11:18,955 - INFO - Validated that VN ctest-vn-41318913 is not in any agent 2025-12-08 02:11:18,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41318913 info 2025-12-08 02:11:18,969 - INFO - Deleting VN ctest-vn-41640373 2025-12-08 02:11:19,078 - DEBUG - Response for deleting network () 2025-12-08 02:11:19,079 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/82af5a38-b5fa-4a35-987e-b7f29d2636bd 2025-12-08 02:11:19,084 - DEBUG - Response Code: 404 2025-12-08 02:11:19,084 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-12-08 02:11:19,090 - DEBUG - Requesting: http://10.0.0.27:8082/domain/855bbf38-d17a-4108-aa38-8bbcfb0e93f3 2025-12-08 02:11:19,144 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f8fe65b-4226-45da-adde-418c215afa42 2025-12-08 02:11:19,215 - INFO - Validated that VN ctest-vn-41640373 is not found in API Server 2025-12-08 02:11:19,225 - DEBUG - VN ctest-vn-41640373 is not present in Agent 10.0.0.27 2025-12-08 02:11:19,225 - INFO - Validated that VN ctest-vn-41640373 is not in any agent 2025-12-08 02:11:19,239 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41640373 info 2025-12-08 02:11:19,493 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:11:19,493 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-08 02:11:19,493 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:11:20,200 - INFO - Deleted project: ctest-TestBasicPolicy-72447035, ID : 0f8fe65b-4226-45da-adde-418c215afa42