2025-11-03 02:28:36,701 - INFO - Domain Default found not creating 2025-11-03 02:28:36,864 - INFO - Project ctest-TestBasicPolicy-48232827 not found, creating it 2025-11-03 02:28:37,319 - INFO - Created Project:ctest-TestBasicPolicy-48232827, ID : 278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:28:38,775 - INFO - ================================================================================ 2025-11-03 02:28:38,775 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 02:28:38,775 - 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-11-03 02:28:39,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-03 02:28:39,037 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:28:39,037 - INFO - 2025-11-03 02:28:39,581 - DEBUG - Response for create_network : {'network': {'id': 'b5380bad-9bce-4782-bc27-4982f143a75a', 'name': 'ctest-vn-97077865', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'project_id': '278dca6f7f5f491994b518f7b63207d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-vn-97077865'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:28:39,794 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e38d420-859a-47af-904b-4283168dc764', 'name': '', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'network_id': 'b5380bad-9bce-4782-bc27-4982f143a75a', 'ip_version': 4, 'cidr': '102.145.42.0/26', 'allocation_pools': [{'start': '102.145.42.2', 'end': '102.145.42.62'}], 'gateway_ip': '102.145.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.145.42.2', 'tags': [], 'project_id': '278dca6f7f5f491994b518f7b63207d8'}} 2025-11-03 02:28:39,811 - INFO - Created VN ctest-vn-97077865 2025-11-03 02:28:39,863 - DEBUG - VN ctest-vn-97077865 UUID is b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:40,187 - DEBUG - Response for create_network : {'network': {'id': 'd774d2d4-b70b-47e7-8477-d23a36f9d160', 'name': 'ctest-vn-23905825', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'project_id': '278dca6f7f5f491994b518f7b63207d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-vn-23905825'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:28:40,337 - DEBUG - Response for create_subnet : {'subnet': {'id': '37cc96da-13a7-408a-8297-e0dddf7d5fea', 'name': '', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'network_id': 'd774d2d4-b70b-47e7-8477-d23a36f9d160', 'ip_version': 4, 'cidr': '29.88.131.0/26', 'allocation_pools': [{'start': '29.88.131.2', 'end': '29.88.131.62'}], 'gateway_ip': '29.88.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.88.131.2', 'tags': [], 'project_id': '278dca6f7f5f491994b518f7b63207d8'}} 2025-11-03 02:28:40,355 - INFO - Created VN ctest-vn-23905825 2025-11-03 02:28:40,407 - DEBUG - VN ctest-vn-23905825 UUID is d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:40,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865, 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-48232827:ctest-vn-23905825, 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-11-03 02:28:40,830 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5380bad-9bce-4782-bc27-4982f143a75a', 'name': 'ctest-vn-97077865', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'project_id': '278dca6f7f5f491994b518f7b63207d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e38d420-859a-47af-904b-4283168dc764'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-vn-97077865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-policy-allow-all-67544621']], 'subnet_ipam': [{'subnet_cidr': '102.145.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:28:41,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd774d2d4-b70b-47e7-8477-d23a36f9d160', 'name': 'ctest-vn-23905825', 'tenant_id': '278dca6f7f5f491994b518f7b63207d8', 'project_id': '278dca6f7f5f491994b518f7b63207d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37cc96da-13a7-408a-8297-e0dddf7d5fea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-vn-23905825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-policy-allow-all-67544621']], 'subnet_ipam': [{'subnet_cidr': '29.88.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:28:41,215 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:28:41,506 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:28:41,534 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:28:41,545 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:28:41,618 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,645 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:28:41,655 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:28:41,664 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81c19251-50dc-4a7c-95d3-f3a49c58b559 2025-11-03 02:28:41,672 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 02:28:41,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:28:41,702 - INFO - Verified VN network id 11 for VN b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,702 - INFO - Verifications in API Server for VN ctest-vn-97077865 passed 2025-11-03 02:28:41,703 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:28:41,721 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:28:41,728 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81c19251-50dc-4a7c-95d3-f3a49c58b559 2025-11-03 02:28:41,740 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48232827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13058199959831988098', 'uuid-lslong': '13557886029964486490'}, 'enable': 'true', 'created': '2025-11-03T02:28:39', 'last-modified': '2025-11-03T02:28:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928977'} 2025-11-03 02:28:41,746 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 02:28:41,746 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97077865 passed 2025-11-03 02:28:41,746 - DEBUG - ====Verifying policy data for ctest-vn-97077865 in API_Server ====== 2025-11-03 02:28:41,746 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:28:41,752 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:28:41,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:28:41,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b5380bad-9bce-4782-bc27-4982f143a75a 2025-11-03 02:28:41,841 - DEBUG - ==>Verifying data for policy with id: 96f0a153-d244-4957-a1e5-3ae682ad0181, fqn: ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-policy-allow-all-67544621'] 2025-11-03 02:28:41,841 - INFO - VN ctest-vn-97077865 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 02:28:41,841 - DEBUG - Verifying the vn in opserver 2025-11-03 02:28:41,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865 virtual network link through opserver 10.0.0.50 2025-11-03 02:28:41,842 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-03 02:28:42,136 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-03 02:28:42,196 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865?flat'} 2025-11-03 02:28:42,196 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865 is found in opserver 2025-11-03 02:28:42,205 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 02:28:42,210 - DEBUG - VRF ids for VN ctest-vn-97077865: {} 2025-11-03 02:28:42,210 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:28:42,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:28:42,228 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:28:42,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:28:42,323 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:28:42,329 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f1a471-ce07-43a9-8632-3b3371b7ad9a 2025-11-03 02:28:42,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 02:28:42,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:28:42,355 - INFO - Verified VN network id 12 for VN d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,356 - INFO - Verifications in API Server for VN ctest-vn-23905825 passed 2025-11-03 02:28:42,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,364 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:28:42,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:28:42,382 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f1a471-ce07-43a9-8632-3b3371b7ad9a 2025-11-03 02:28:42,396 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-23905825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48232827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15525265626498811879', 'uuid-lslong': '9545329082707333472'}, 'enable': 'true', 'created': '2025-11-03T02:28:40', 'last-modified': '2025-11-03T02:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368267'} 2025-11-03 02:28:42,402 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 02:28:42,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23905825 passed 2025-11-03 02:28:42,402 - DEBUG - ====Verifying policy data for ctest-vn-23905825 in API_Server ====== 2025-11-03 02:28:42,402 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:28:42,409 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:28:42,419 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:28:42,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d774d2d4-b70b-47e7-8477-d23a36f9d160 2025-11-03 02:28:42,498 - DEBUG - ==>Verifying data for policy with id: 96f0a153-d244-4957-a1e5-3ae682ad0181, fqn: ['default-domain', 'ctest-TestBasicPolicy-48232827', 'ctest-policy-allow-all-67544621'] 2025-11-03 02:28:42,498 - INFO - VN ctest-vn-23905825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 02:28:42,498 - DEBUG - Verifying the vn in opserver 2025-11-03 02:28:42,498 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-23905825 virtual network link through opserver 10.0.0.50 2025-11-03 02:28:42,498 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-03 02:28:42,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-23905825', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-23905825?flat'} 2025-11-03 02:28:42,509 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-23905825 is found in opserver 2025-11-03 02:28:42,520 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 02:28:42,525 - DEBUG - VRF ids for VN ctest-vn-23905825: {} 2025-11-03 02:28:42,582 - DEBUG - Services list from nova: [, , ] 2025-11-03 02:28:43,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:28:44,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:28:44,736 - INFO - Waiting for VM ctest-TestBasicPolicy-48232827-15378497 to be up.. 2025-11-03 02:28:44,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:28:49,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:28:54,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:29:00,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:29:05,126 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:29:05,126 - INFO - VM name : ctest-TestBasicPolicy-48232827-15378497 2025-11-03 02:29:05,192 - DEBUG - VM ctest-TestBasicPolicy-48232827-15378497 ID is 1aea8416-7e28-4b81-874b-ffb8805e938c 2025-11-03 02:29:05,211 - DEBUG - VM ctest-TestBasicPolicy-48232827-15378497 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:29:05,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1aea8416-7e28-4b81-874b-ffb8805e938c 2025-11-03 02:29:05,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d87dd2c8-56dc-419e-879a-e8ed951d0f1e 2025-11-03 02:29:08,561 - 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 1035ms') 2025-11-03 02:29:08,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48232827-15378497 failed! 2025-11-03 02:29:08,623 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865 is 102.145.42.1 and allocation pool is NOT set 2025-11-03 02:29:12,680 - 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 1002ms') 2025-11-03 02:29:12,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48232827-15378497 failed! 2025-11-03 02:29:12,739 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48232827:ctest-vn-97077865 is 102.145.42.1 and allocation pool is NOT set 2025-11-03 02:29:14,802 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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.334/2.672/4.010/1.338 ms') 2025-11-03 02:29:14,802 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48232827-15378497 passed 2025-11-03 02:29:14,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:29:14,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48232827-15378497, IP 102.145.42.3, Port 22 2025-11-03 02:29:15,110 - DEBUG - VM ctest-TestBasicPolicy-48232827-15378497 is ready for SSH connections 2025-11-03 02:29:15,110 - INFO - Waiting for VM ctest-TestBasicPolicy-48232827-59854540 to be up.. 2025-11-03 02:29:15,191 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:29:15,191 - INFO - VM name : ctest-TestBasicPolicy-48232827-59854540 2025-11-03 02:29:15,263 - DEBUG - VM ctest-TestBasicPolicy-48232827-59854540 ID is 3aca1487-c72f-4e01-8aff-fdc54009cdc5 2025-11-03 02:29:15,263 - DEBUG - VM ctest-TestBasicPolicy-48232827-59854540 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:29:15,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3aca1487-c72f-4e01-8aff-fdc54009cdc5 2025-11-03 02:29:15,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6fbb9e4-d59b-4bc3-8d33-ffa32eb8fb08 2025-11-03 02:29:16,611 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.594/2.759/1.164 ms') 2025-11-03 02:29:16,611 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48232827-59854540 passed 2025-11-03 02:29:16,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:29:16,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48232827-59854540, IP 29.88.131.3, Port 22 2025-11-03 02:29:16,928 - DEBUG - VM ctest-TestBasicPolicy-48232827-59854540 is ready for SSH connections 2025-11-03 02:29:16,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:29:16,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.88.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:29:16,928 - DEBUG - ping -s 56 -c 3 -W 1 29.88.131.3 2025-11-03 02:29:20,969 - DEBUG - PING 29.88.131.3 (29.88.131.3): 56 data bytes 64 bytes from 29.88.131.3: seq=0 ttl=63 time=4.221 ms 64 bytes from 29.88.131.3: seq=1 ttl=63 time=0.835 ms 64 bytes from 29.88.131.3: seq=2 ttl=63 time=0.888 ms --- 29.88.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.981/4.221 ms 2025-11-03 02:29:20,969 - INFO - Ping to IP 29.88.131.3 from VM ctest-TestBasicPolicy-48232827-15378497 passed 2025-11-03 02:29:21,170 - DEBUG - Policy Update Response {"network-policy": {"uuid": "96f0a153-d244-4957-a1e5-3ae682ad0181", "href": "http://10.0.0.50:8082/network-policy/96f0a153-d244-4957-a1e5-3ae682ad0181"}} 2025-11-03 02:29:21,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:29:21,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.88.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:29:21,171 - DEBUG - ping -s 56 -c 3 -W 1 29.88.131.3 2025-11-03 02:29:24,377 - DEBUG - PING 29.88.131.3 (29.88.131.3): 56 data bytes --- 29.88.131.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 02:29:24,377 - WARNING - Ping to IP 29.88.131.3 from VM ctest-TestBasicPolicy-48232827-15378497 failed 2025-11-03 02:29:24,377 - INFO - Deleting VM ctest-TestBasicPolicy-48232827-59854540 2025-11-03 02:29:24,448 - INFO - Deleting VM ctest-TestBasicPolicy-48232827-15378497 2025-11-03 02:29:24,843 - INFO - Deleted policy ctest-policy-allow-all-67544621 2025-11-03 02:29:24,844 - INFO - Deleting VN ctest-vn-23905825 2025-11-03 02:29:24,879 - DEBUG - VN d774d2d4-b70b-47e7-8477-d23a36f9d160 still in use: Unable to complete operation on network d774d2d4-b70b-47e7-8477-d23a36f9d160. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c03d7dd5-350e-4153-9d87-411e1e64f9ee'] 2025-11-03 02:29:24,880 - WARNING - Deleting VN ctest-vn-23905825 failed..Will retry 2025-11-03 02:29:26,982 - DEBUG - Response for deleting network () 2025-11-03 02:29:26,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfe94840-abeb-44f9-aaa3-ec015fd6443c 2025-11-03 02:29:26,990 - DEBUG - Response Code: 404 2025-11-03 02:29:26,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:29:26,996 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:29:27,049 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:29:27,121 - INFO - Validated that VN ctest-vn-23905825 is not found in API Server 2025-11-03 02:29:27,134 - DEBUG - VN ctest-vn-23905825 is not present in Agent 10.0.0.50 2025-11-03 02:29:27,134 - INFO - Validated that VN ctest-vn-23905825 is not in any agent 2025-11-03 02:29:27,147 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23905825 info 2025-11-03 02:29:27,147 - INFO - Deleting VN ctest-vn-97077865 2025-11-03 02:29:27,237 - DEBUG - Response for deleting network () 2025-11-03 02:29:27,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a34542e7-a617-4cdc-9784-de1d1e71b461 2025-11-03 02:29:27,243 - DEBUG - Response Code: 404 2025-11-03 02:29:27,243 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-03 02:29:27,248 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0c1e50cf-6d4d-4c28-981d-ef4452d99140 2025-11-03 02:29:27,300 - DEBUG - Requesting: http://10.0.0.50:8082/project/278dca6f-7f5f-4919-94b5-18f7b63207d8 2025-11-03 02:29:27,373 - INFO - Validated that VN ctest-vn-97077865 is not found in API Server 2025-11-03 02:29:27,381 - DEBUG - VN ctest-vn-97077865 is not present in Agent 10.0.0.50 2025-11-03 02:29:27,381 - INFO - Validated that VN ctest-vn-97077865 is not in any agent 2025-11-03 02:29:27,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97077865 info 2025-11-03 02:29:27,648 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 02:29:27,648 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:49] 2025-11-03 02:29:27,648 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:29:28,369 - INFO - Deleted project: ctest-TestBasicPolicy-48232827, ID : 278dca6f-7f5f-4919-94b5-18f7b63207d8