2026-10-06 14:07:51,143 - INFO - Domain Default found not creating 2026-10-06 14:07:51,306 - INFO - Project ctest-TestBasicPolicy-45378285 not found, creating it 2026-10-06 14:07:51,763 - INFO - Created Project:ctest-TestBasicPolicy-45378285, ID : ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:07:53,500 - INFO - ================================================================================ 2026-10-06 14:07:53,500 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-06 14:07:53,500 - 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 2026-10-06 14:07:53,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-10-06 14:07:53,782 - INFO - Initial checks done. Running the testcase now 2026-10-06 14:07:53,782 - INFO - 2026-10-06 14:07:54,474 - DEBUG - Response for create_network : {'network': {'id': '590a96da-f3e7-4a60-9e0e-3cf6d0a50451', 'name': 'ctest-vn-21008000', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'project_id': 'ccb449f391ca43449b22f1d3da70943b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-vn-21008000'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 14:07:54,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '2da4875d-3bfb-470a-a6c0-94de1b41909b', 'name': '', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'network_id': '590a96da-f3e7-4a60-9e0e-3cf6d0a50451', 'ip_version': 4, 'cidr': '134.81.79.192/26', 'allocation_pools': [{'start': '134.81.79.194', 'end': '134.81.79.254'}], 'gateway_ip': '134.81.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.81.79.194', 'tags': [], 'project_id': 'ccb449f391ca43449b22f1d3da70943b'}} 2026-10-06 14:07:54,684 - INFO - Created VN ctest-vn-21008000 2026-10-06 14:07:54,738 - DEBUG - VN ctest-vn-21008000 UUID is 590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:55,079 - DEBUG - Response for create_network : {'network': {'id': 'df4876e8-2f7f-4c5c-98ec-046d65f715d8', 'name': 'ctest-vn-90871990', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'project_id': 'ccb449f391ca43449b22f1d3da70943b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-vn-90871990'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 14:07:55,282 - DEBUG - Response for create_subnet : {'subnet': {'id': '86c9a656-9d97-4382-8a63-308137b71e0e', 'name': '', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'network_id': 'df4876e8-2f7f-4c5c-98ec-046d65f715d8', 'ip_version': 4, 'cidr': '199.7.26.64/26', 'allocation_pools': [{'start': '199.7.26.66', 'end': '199.7.26.126'}], 'gateway_ip': '199.7.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.7.26.66', 'tags': [], 'project_id': 'ccb449f391ca43449b22f1d3da70943b'}} 2026-10-06 14:07:55,298 - INFO - Created VN ctest-vn-90871990 2026-10-06 14:07:55,354 - DEBUG - VN ctest-vn-90871990 UUID is df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:55,467 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000, 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-45378285:ctest-vn-90871990, 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] 2026-10-06 14:07:55,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '590a96da-f3e7-4a60-9e0e-3cf6d0a50451', 'name': 'ctest-vn-21008000', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'project_id': 'ccb449f391ca43449b22f1d3da70943b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2da4875d-3bfb-470a-a6c0-94de1b41909b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-vn-21008000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-policy-allow-all-26452156']], 'subnet_ipam': [{'subnet_cidr': '134.81.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 14:07:56,027 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df4876e8-2f7f-4c5c-98ec-046d65f715d8', 'name': 'ctest-vn-90871990', 'tenant_id': 'ccb449f391ca43449b22f1d3da70943b', 'project_id': 'ccb449f391ca43449b22f1d3da70943b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['86c9a656-9d97-4382-8a63-308137b71e0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-vn-90871990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-policy-allow-all-26452156']], 'subnet_ipam': [{'subnet_cidr': '199.7.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 14:07:56,198 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:07:56,563 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:07:56,590 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:07:56,602 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:07:56,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:07:56,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:07:56,709 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/133ed721-5be1-4f2c-a36f-b46e6713877f 2026-10-06 14:07:56,715 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 14:07:56,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:07:56,738 - INFO - Verified VN network id 12 for VN 590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,738 - INFO - Verifications in API Server for VN ctest-vn-21008000 passed 2026-10-06 14:07:56,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:07:56,755 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:07:56,761 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/133ed721-5be1-4f2c-a36f-b46e6713877f 2026-10-06 14:07:56,775 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45378285', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6416106486281751136', 'uuid-lslong': '11389107538426659921'}, 'enable': 'true', 'created': '2026-10-06T14:07:54', 'last-modified': '2026-10-06T14:07:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034411'} 2026-10-06 14:07:56,781 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 14:07:56,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21008000 passed 2026-10-06 14:07:56,782 - DEBUG - ====Verifying policy data for ctest-vn-21008000 in API_Server ====== 2026-10-06 14:07:56,782 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:07:56,787 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:07:56,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:07:56,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/590a96da-f3e7-4a60-9e0e-3cf6d0a50451 2026-10-06 14:07:56,875 - DEBUG - ==>Verifying data for policy with id: ed588aa5-b774-4e80-8692-9cbf99b90f89, fqn: ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-policy-allow-all-26452156'] 2026-10-06 14:07:56,876 - INFO - VN ctest-vn-21008000 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 14:07:56,876 - DEBUG - Verifying the vn in opserver 2026-10-06 14:07:56,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000 virtual network link through opserver 10.0.0.38 2026-10-06 14:07:56,876 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 14:07:57,236 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 14:07:57,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000?flat'} 2026-10-06 14:07:57,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000 is found in opserver 2026-10-06 14:07:57,338 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 14:07:57,350 - DEBUG - VRF ids for VN ctest-vn-21008000: {} 2026-10-06 14:07:57,350 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:07:57,370 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:07:57,451 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:07:57,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,584 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:07:57,602 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:07:57,611 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/964a79ee-4d53-4a2d-955e-92f7e90e830f 2026-10-06 14:07:57,621 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 14:07:57,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:07:57,669 - INFO - Verified VN network id 13 for VN df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,669 - INFO - Verifications in API Server for VN ctest-vn-90871990 passed 2026-10-06 14:07:57,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:07:57,700 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:07:57,713 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/964a79ee-4d53-4a2d-955e-92f7e90e830f 2026-10-06 14:07:57,759 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-90871990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45378285', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16089240408382458972', 'uuid-lslong': '11019187256177399256'}, 'enable': 'true', 'created': '2026-10-06T14:07:55', 'last-modified': '2026-10-06T14:07:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.741122'} 2026-10-06 14:07:57,766 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 14:07:57,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90871990 passed 2026-10-06 14:07:57,766 - DEBUG - ====Verifying policy data for ctest-vn-90871990 in API_Server ====== 2026-10-06 14:07:57,766 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:07:57,775 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:07:57,819 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:07:57,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df4876e8-2f7f-4c5c-98ec-046d65f715d8 2026-10-06 14:07:57,920 - DEBUG - ==>Verifying data for policy with id: ed588aa5-b774-4e80-8692-9cbf99b90f89, fqn: ['default-domain', 'ctest-TestBasicPolicy-45378285', 'ctest-policy-allow-all-26452156'] 2026-10-06 14:07:57,920 - INFO - VN ctest-vn-90871990 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 14:07:57,920 - DEBUG - Verifying the vn in opserver 2026-10-06 14:07:57,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-90871990 virtual network link through opserver 10.0.0.38 2026-10-06 14:07:57,920 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 14:07:57,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-90871990', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-90871990?flat'} 2026-10-06 14:07:57,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-90871990 is found in opserver 2026-10-06 14:07:57,938 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 14:07:57,942 - DEBUG - VRF ids for VN ctest-vn-90871990: {} 2026-10-06 14:07:57,994 - DEBUG - Services list from nova: [, , ] 2026-10-06 14:07:58,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6351-1) 2026-10-06 14:07:58,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6351-1) 2026-10-06 14:07:58,851 - INFO - Waiting for VM ctest-TestBasicPolicy-45378285-67980136 to be up.. 2026-10-06 14:07:58,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:03,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:09,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:14,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:19,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:24,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:29,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:34,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 14:08:39,498 - DEBUG - VM is in ACTIVE state now 2026-10-06 14:08:39,498 - INFO - VM name : ctest-TestBasicPolicy-45378285-67980136 2026-10-06 14:08:39,574 - DEBUG - VM ctest-TestBasicPolicy-45378285-67980136 ID is 56f7b480-4803-427c-8f1d-ef2f935440ab 2026-10-06 14:08:39,593 - DEBUG - VM ctest-TestBasicPolicy-45378285-67980136 launched on Node cn-jenkins-deploy-platform-ansible-os-6351-1 2026-10-06 14:08:39,661 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56f7b480-4803-427c-8f1d-ef2f935440ab 2026-10-06 14:08:39,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/903b4871-4b50-4240-ac2e-f8bde4fff39b 2026-10-06 14:08:42,906 - 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 1005ms') 2026-10-06 14:08:42,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45378285-67980136 failed! 2026-10-06 14:08:42,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45378285:ctest-vn-21008000 is 134.81.79.193 and allocation pool is NOT set 2026-10-06 14:08:46,889 - 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=2864 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1851 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 1850.905/2357.261/2863.617/506.356 ms, pipe 2') 2026-10-06 14:08:46,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45378285-67980136 passed 2026-10-06 14:08:47,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 14:08:47,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45378285-67980136, IP 134.81.79.195, Port 22 2026-10-06 14:08:47,198 - DEBUG - VM ctest-TestBasicPolicy-45378285-67980136 is ready for SSH connections 2026-10-06 14:08:47,198 - INFO - Waiting for VM ctest-TestBasicPolicy-45378285-83622678 to be up.. 2026-10-06 14:08:47,270 - DEBUG - VM is in ACTIVE state now 2026-10-06 14:08:47,270 - INFO - VM name : ctest-TestBasicPolicy-45378285-83622678 2026-10-06 14:08:47,344 - DEBUG - VM ctest-TestBasicPolicy-45378285-83622678 ID is 652d510e-fa8e-426f-940f-d526b0e27f77 2026-10-06 14:08:47,344 - DEBUG - VM ctest-TestBasicPolicy-45378285-83622678 launched on Node cn-jenkins-deploy-platform-ansible-os-6351-1 2026-10-06 14:08:47,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/652d510e-fa8e-426f-940f-d526b0e27f77 2026-10-06 14:08:47,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02b70753-1a9e-42ee-b706-5811d55c2e33 2026-10-06 14:08:48,673 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.659 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.659/2.987/5.316/2.328 ms') 2026-10-06 14:08:48,673 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45378285-83622678 passed 2026-10-06 14:08:48,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 14:08:48,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45378285-83622678, IP 199.7.26.67, Port 22 2026-10-06 14:08:48,996 - DEBUG - VM ctest-TestBasicPolicy-45378285-83622678 is ready for SSH connections 2026-10-06 14:08:48,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 14:08:48,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.7.26.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-06 14:08:48,996 - DEBUG - ping -s 56 -c 3 -W 1 199.7.26.67 2026-10-06 14:08:52,959 - DEBUG - PING 199.7.26.67 (199.7.26.67): 56 data bytes 64 bytes from 199.7.26.67: seq=0 ttl=63 time=4.052 ms 64 bytes from 199.7.26.67: seq=1 ttl=63 time=1.035 ms 64 bytes from 199.7.26.67: seq=2 ttl=63 time=0.811 ms --- 199.7.26.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.966/4.052 ms 2026-10-06 14:08:52,959 - INFO - Ping to IP 199.7.26.67 from VM ctest-TestBasicPolicy-45378285-67980136 passed 2026-10-06 14:08:53,142 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ed588aa5-b774-4e80-8692-9cbf99b90f89", "href": "http://10.0.0.38:8082/network-policy/ed588aa5-b774-4e80-8692-9cbf99b90f89"}} 2026-10-06 14:08:53,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 14:08:53,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.7.26.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-06 14:08:53,142 - DEBUG - ping -s 56 -c 3 -W 1 199.7.26.67 2026-10-06 14:08:56,266 - DEBUG - PING 199.7.26.67 (199.7.26.67): 56 data bytes 64 bytes from 199.7.26.67: seq=0 ttl=63 time=2.398 ms --- 199.7.26.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.398/2.398/2.398 ms 2026-10-06 14:08:56,266 - WARNING - Ping to IP 199.7.26.67 from VM ctest-TestBasicPolicy-45378285-67980136 failed 2026-10-06 14:08:56,267 - INFO - Deleting VM ctest-TestBasicPolicy-45378285-83622678 2026-10-06 14:08:56,352 - INFO - Deleting VM ctest-TestBasicPolicy-45378285-67980136 2026-10-06 14:08:56,690 - INFO - Deleted policy ctest-policy-allow-all-26452156 2026-10-06 14:08:56,691 - INFO - Deleting VN ctest-vn-90871990 2026-10-06 14:08:56,721 - DEBUG - VN df4876e8-2f7f-4c5c-98ec-046d65f715d8 still in use: Unable to complete operation on network df4876e8-2f7f-4c5c-98ec-046d65f715d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28232608-47d2-4eef-9d9e-079104e1329a'] 2026-10-06 14:08:56,721 - WARNING - Deleting VN ctest-vn-90871990 failed..Will retry 2026-10-06 14:08:58,835 - DEBUG - Response for deleting network () 2026-10-06 14:08:58,835 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/98ff33c5-bc16-4591-a836-5fe20440ada9 2026-10-06 14:08:58,847 - DEBUG - Response Code: 404 2026-10-06 14:08:58,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:08:58,855 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:08:58,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:08:58,984 - INFO - Validated that VN ctest-vn-90871990 is not found in API Server 2026-10-06 14:08:58,996 - DEBUG - VN ctest-vn-90871990 is not present in Agent 10.0.0.38 2026-10-06 14:08:58,996 - INFO - Validated that VN ctest-vn-90871990 is not in any agent 2026-10-06 14:08:59,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90871990 info 2026-10-06 14:08:59,016 - INFO - Deleting VN ctest-vn-21008000 2026-10-06 14:08:59,129 - DEBUG - Response for deleting network () 2026-10-06 14:08:59,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d8761a79-5a84-436e-a233-25f1cc4d0b8b 2026-10-06 14:08:59,140 - DEBUG - Response Code: 404 2026-10-06 14:08:59,140 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 14:08:59,146 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6fe11d4-5dc3-4540-b9e3-015a4ebd142c 2026-10-06 14:08:59,204 - DEBUG - Requesting: http://10.0.0.38:8082/project/ccb449f3-91ca-4344-9b22-f1d3da70943b 2026-10-06 14:08:59,281 - INFO - Validated that VN ctest-vn-21008000 is not found in API Server 2026-10-06 14:08:59,292 - DEBUG - VN ctest-vn-21008000 is not present in Agent 10.0.0.38 2026-10-06 14:08:59,292 - INFO - Validated that VN ctest-vn-21008000 is not in any agent 2026-10-06 14:08:59,309 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21008000 info 2026-10-06 14:08:59,576 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 14:08:59,576 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-10-06 14:08:59,577 - INFO - -------------------------------------------------------------------------------- 2026-10-06 14:09:00,332 - INFO - Deleted project: ctest-TestBasicPolicy-45378285, ID : ccb449f3-91ca-4344-9b22-f1d3da70943b