2026-11-20 13:57:31,731 - INFO - Domain Default found not creating 2026-11-20 13:57:31,909 - INFO - Project ctest-TestBasicPolicy-02372110 not found, creating it 2026-11-20 13:57:32,378 - INFO - Created Project:ctest-TestBasicPolicy-02372110, ID : 10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:57:34,020 - INFO - ================================================================================ 2026-11-20 13:57:34,020 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-20 13:57:34,020 - 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-11-20 13:57:34,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-20 13:57:34,280 - INFO - Initial checks done. Running the testcase now 2026-11-20 13:57:34,280 - INFO - 2026-11-20 13:57:34,877 - DEBUG - Response for create_network : {'network': {'id': '745118e0-f47b-45c9-99de-dd1176da6c45', 'name': 'ctest-vn-66059129', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'project_id': '10d7b404a1e946ddabd8dd6aa544c177', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-vn-66059129'], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:57:35,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '96f6c411-f4d6-4274-ad5f-6b3540f0c99f', 'name': '', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'network_id': '745118e0-f47b-45c9-99de-dd1176da6c45', 'ip_version': 4, 'cidr': '75.126.61.0/26', 'allocation_pools': [{'start': '75.126.61.2', 'end': '75.126.61.62'}], 'gateway_ip': '75.126.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.126.61.2', 'tags': [], 'project_id': '10d7b404a1e946ddabd8dd6aa544c177'}} 2026-11-20 13:57:35,091 - INFO - Created VN ctest-vn-66059129 2026-11-20 13:57:35,142 - DEBUG - VN ctest-vn-66059129 UUID is 745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:35,443 - DEBUG - Response for create_network : {'network': {'id': '46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e', 'name': 'ctest-vn-68455595', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'project_id': '10d7b404a1e946ddabd8dd6aa544c177', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-vn-68455595'], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:57:35,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cd68ee2-8299-4573-9a29-49305b4386c4', 'name': '', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'network_id': '46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e', 'ip_version': 4, 'cidr': '18.233.237.128/26', 'allocation_pools': [{'start': '18.233.237.130', 'end': '18.233.237.190'}], 'gateway_ip': '18.233.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.233.237.130', 'tags': [], 'project_id': '10d7b404a1e946ddabd8dd6aa544c177'}} 2026-11-20 13:57:35,638 - INFO - Created VN ctest-vn-68455595 2026-11-20 13:57:35,690 - DEBUG - VN ctest-vn-68455595 UUID is 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:35,834 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129, 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-02372110:ctest-vn-68455595, 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-11-20 13:57:36,124 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '745118e0-f47b-45c9-99de-dd1176da6c45', 'name': 'ctest-vn-66059129', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'project_id': '10d7b404a1e946ddabd8dd6aa544c177', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['96f6c411-f4d6-4274-ad5f-6b3540f0c99f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-vn-66059129'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-policy-allow-all-93631595']], 'subnet_ipam': [{'subnet_cidr': '75.126.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:57:36,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e', 'name': 'ctest-vn-68455595', 'tenant_id': '10d7b404a1e946ddabd8dd6aa544c177', 'project_id': '10d7b404a1e946ddabd8dd6aa544c177', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1cd68ee2-8299-4573-9a29-49305b4386c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-vn-68455595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-policy-allow-all-93631595']], 'subnet_ipam': [{'subnet_cidr': '18.233.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:57:36,510 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:57:36,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:57:36,895 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:57:36,905 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:57:36,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:36,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:36,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:57:37,000 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:57:37,005 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/426c82ef-1a47-4191-bfaf-389a48673cd3 2026-11-20 13:57:37,010 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-20 13:57:37,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:37,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:57:37,029 - INFO - Verified VN network id 11 for VN 745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:37,029 - INFO - Verifications in API Server for VN ctest-vn-66059129 passed 2026-11-20 13:57:37,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:37,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:57:37,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:57:37,050 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/426c82ef-1a47-4191-bfaf-389a48673cd3 2026-11-20 13:57:37,061 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02372110', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8381507735966664137', 'uuid-lslong': '11087542399710948421'}, 'enable': 'true', 'created': '2026-11-20T13:57:34', 'last-modified': '2026-11-20T13:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958238'} 2026-11-20 13:57:37,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-20 13:57:37,068 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66059129 passed 2026-11-20 13:57:37,068 - DEBUG - ====Verifying policy data for ctest-vn-66059129 in API_Server ====== 2026-11-20 13:57:37,068 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:57:37,073 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:57:37,082 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:57:37,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/745118e0-f47b-45c9-99de-dd1176da6c45 2026-11-20 13:57:37,199 - DEBUG - ==>Verifying data for policy with id: 32a976c1-d2bd-4495-9e27-e9a0b95e95ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-policy-allow-all-93631595'] 2026-11-20 13:57:37,199 - INFO - VN ctest-vn-66059129 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-20 13:57:37,199 - DEBUG - Verifying the vn in opserver 2026-11-20 13:57:37,200 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129 virtual network link through opserver 10.0.0.38 2026-11-20 13:57:37,200 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-20 13:57:37,592 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-20 13:57:37,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129?flat'} 2026-11-20 13:57:37,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129 is found in opserver 2026-11-20 13:57:37,655 - DEBUG - Do not have enough data to verify VN in agent 2026-11-20 13:57:37,659 - DEBUG - VRF ids for VN ctest-vn-66059129: {} 2026-11-20 13:57:37,659 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:57:37,664 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:57:37,674 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:57:37,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:57:37,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:57:37,783 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/48077aca-fe8d-4cfc-b5bb-6680a0353871 2026-11-20 13:57:37,790 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-20 13:57:37,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:57:37,814 - INFO - Verified VN network id 12 for VN 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,814 - INFO - Verifications in API Server for VN ctest-vn-68455595 passed 2026-11-20 13:57:37,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,822 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:57:37,828 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:57:37,834 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/48077aca-fe8d-4cfc-b5bb-6680a0353871 2026-11-20 13:57:37,844 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-68455595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02372110', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5109863445771930589', 'uuid-lslong': '10529234627550478446'}, 'enable': 'true', 'created': '2026-11-20T13:57:35', 'last-modified': '2026-11-20T13:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.517032'} 2026-11-20 13:57:37,849 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-20 13:57:37,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68455595 passed 2026-11-20 13:57:37,849 - DEBUG - ====Verifying policy data for ctest-vn-68455595 in API_Server ====== 2026-11-20 13:57:37,849 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:57:37,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:57:37,862 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:57:37,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e 2026-11-20 13:57:37,940 - DEBUG - ==>Verifying data for policy with id: 32a976c1-d2bd-4495-9e27-e9a0b95e95ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-02372110', 'ctest-policy-allow-all-93631595'] 2026-11-20 13:57:37,940 - INFO - VN ctest-vn-68455595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-20 13:57:37,940 - DEBUG - Verifying the vn in opserver 2026-11-20 13:57:37,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-68455595 virtual network link through opserver 10.0.0.38 2026-11-20 13:57:37,940 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-20 13:57:37,948 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-68455595', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-68455595?flat'} 2026-11-20 13:57:37,948 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-68455595 is found in opserver 2026-11-20 13:57:37,958 - DEBUG - Do not have enough data to verify VN in agent 2026-11-20 13:57:37,963 - DEBUG - VRF ids for VN ctest-vn-68455595: {} 2026-11-20 13:57:38,016 - DEBUG - Services list from nova: [, , ] 2026-11-20 13:57:38,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6511-1) 2026-11-20 13:57:38,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6511-1) 2026-11-20 13:57:38,751 - INFO - Waiting for VM ctest-TestBasicPolicy-02372110-36917447 to be up.. 2026-11-20 13:57:38,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:57:43,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:57:48,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:57:54,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:57:59,073 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:58:04,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:58:09,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:58:14,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:58:19,406 - DEBUG - VM is in ACTIVE state now 2026-11-20 13:58:19,406 - INFO - VM name : ctest-TestBasicPolicy-02372110-36917447 2026-11-20 13:58:19,517 - DEBUG - VM ctest-TestBasicPolicy-02372110-36917447 ID is 82e9dcba-da25-47a4-8e93-d40c636c751c 2026-11-20 13:58:19,544 - DEBUG - VM ctest-TestBasicPolicy-02372110-36917447 launched on Node cn-jenkins-deploy-platform-ansible-os-6511-1 2026-11-20 13:58:19,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/82e9dcba-da25-47a4-8e93-d40c636c751c 2026-11-20 13:58:19,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ab55e54c-6db5-4169-b13c-52491d905a49 2026-11-20 13:58:22,900 - 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 1020ms') 2026-11-20 13:58:22,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02372110-36917447 failed! 2026-11-20 13:58:22,957 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02372110:ctest-vn-66059129 is 75.126.61.1 and allocation pool is NOT set 2026-11-20 13:58:25,019 - 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=8.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/4.444/8.475/4.030 ms') 2026-11-20 13:58:25,019 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02372110-36917447 passed 2026-11-20 13:58:25,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:58:25,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02372110-36917447, IP 75.126.61.3, Port 22 2026-11-20 13:58:25,322 - DEBUG - VM ctest-TestBasicPolicy-02372110-36917447 is ready for SSH connections 2026-11-20 13:58:25,323 - INFO - Waiting for VM ctest-TestBasicPolicy-02372110-66435423 to be up.. 2026-11-20 13:58:25,419 - DEBUG - VM is in ACTIVE state now 2026-11-20 13:58:25,420 - INFO - VM name : ctest-TestBasicPolicy-02372110-66435423 2026-11-20 13:58:25,488 - DEBUG - VM ctest-TestBasicPolicy-02372110-66435423 ID is 02450601-de9b-40e0-b600-cef3747b4988 2026-11-20 13:58:25,488 - DEBUG - VM ctest-TestBasicPolicy-02372110-66435423 launched on Node cn-jenkins-deploy-platform-ansible-os-6511-1 2026-11-20 13:58:25,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02450601-de9b-40e0-b600-cef3747b4988 2026-11-20 13:58:25,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bfdfe61a-18f6-4c85-b89e-73b345097a0f 2026-11-20 13:58:26,801 - 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=6.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.994 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.994/3.650/6.306/2.656 ms') 2026-11-20 13:58:26,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02372110-66435423 passed 2026-11-20 13:58:26,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:58:26,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02372110-66435423, IP 18.233.237.131, Port 22 2026-11-20 13:58:27,111 - DEBUG - VM ctest-TestBasicPolicy-02372110-66435423 is ready for SSH connections 2026-11-20 13:58:27,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:58:27,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.233.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-20 13:58:27,111 - DEBUG - ping -s 56 -c 3 -W 1 18.233.237.131 2026-11-20 13:58:31,038 - DEBUG - PING 18.233.237.131 (18.233.237.131): 56 data bytes 64 bytes from 18.233.237.131: seq=0 ttl=63 time=4.749 ms 64 bytes from 18.233.237.131: seq=1 ttl=63 time=0.802 ms 64 bytes from 18.233.237.131: seq=2 ttl=63 time=0.811 ms --- 18.233.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/2.120/4.749 ms 2026-11-20 13:58:31,038 - INFO - Ping to IP 18.233.237.131 from VM ctest-TestBasicPolicy-02372110-36917447 passed 2026-11-20 13:58:31,218 - DEBUG - Policy Update Response {"network-policy": {"uuid": "32a976c1-d2bd-4495-9e27-e9a0b95e95ae", "href": "http://10.0.0.38:8082/network-policy/32a976c1-d2bd-4495-9e27-e9a0b95e95ae"}} 2026-11-20 13:58:31,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:58:31,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.233.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-20 13:58:31,219 - DEBUG - ping -s 56 -c 3 -W 1 18.233.237.131 2026-11-20 13:58:34,339 - DEBUG - PING 18.233.237.131 (18.233.237.131): 56 data bytes 64 bytes from 18.233.237.131: seq=0 ttl=63 time=2.145 ms --- 18.233.237.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.145/2.145/2.145 ms 2026-11-20 13:58:34,339 - WARNING - Ping to IP 18.233.237.131 from VM ctest-TestBasicPolicy-02372110-36917447 failed 2026-11-20 13:58:34,339 - INFO - Deleting VM ctest-TestBasicPolicy-02372110-66435423 2026-11-20 13:58:34,417 - INFO - Deleting VM ctest-TestBasicPolicy-02372110-36917447 2026-11-20 13:58:34,746 - INFO - Deleted policy ctest-policy-allow-all-93631595 2026-11-20 13:58:34,746 - INFO - Deleting VN ctest-vn-68455595 2026-11-20 13:58:34,783 - DEBUG - VN 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e still in use: Unable to complete operation on network 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a59e8c20-f7e1-4438-8b30-2415393aab44'] 2026-11-20 13:58:34,783 - WARNING - Deleting VN ctest-vn-68455595 failed..Will retry 2026-11-20 13:58:36,820 - DEBUG - VN 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e still in use: Unable to complete operation on network 46e9e1bb-0ffd-4bdd-921f-5b1b83e3806e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d31a6394-3d08-4d69-8178-a25ab9dbc62e'] 2026-11-20 13:58:36,820 - WARNING - Deleting VN ctest-vn-68455595 failed..Will retry 2026-11-20 13:58:38,922 - DEBUG - Response for deleting network () 2026-11-20 13:58:38,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/76fea417-35fc-427d-ba32-b539c0c6e84d 2026-11-20 13:58:38,928 - DEBUG - Response Code: 404 2026-11-20 13:58:38,928 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:58:38,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:58:38,987 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:58:39,058 - INFO - Validated that VN ctest-vn-68455595 is not found in API Server 2026-11-20 13:58:39,071 - DEBUG - VN ctest-vn-68455595 is not present in Agent 10.0.0.38 2026-11-20 13:58:39,071 - INFO - Validated that VN ctest-vn-68455595 is not in any agent 2026-11-20 13:58:39,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68455595 info 2026-11-20 13:58:39,085 - INFO - Deleting VN ctest-vn-66059129 2026-11-20 13:58:39,187 - DEBUG - Response for deleting network () 2026-11-20 13:58:39,188 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86220571-49b8-48b5-b2f7-30529b1ceef6 2026-11-20 13:58:39,194 - DEBUG - Response Code: 404 2026-11-20 13:58:39,194 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-20 13:58:39,199 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2c29ae8-e6d9-490f-a451-6b65a3bad507 2026-11-20 13:58:39,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/10d7b404-a1e9-46dd-abd8-dd6aa544c177 2026-11-20 13:58:39,321 - INFO - Validated that VN ctest-vn-66059129 is not found in API Server 2026-11-20 13:58:39,333 - DEBUG - VN ctest-vn-66059129 is not present in Agent 10.0.0.38 2026-11-20 13:58:39,333 - INFO - Validated that VN ctest-vn-66059129 is not in any agent 2026-11-20 13:58:39,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66059129 info 2026-11-20 13:58:39,608 - DEBUG - No XMPP flaps were noticed during the test
2026-11-20 13:58:39,608 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-11-20 13:58:39,608 - INFO - -------------------------------------------------------------------------------- 2026-11-20 13:58:40,353 - INFO - Deleted project: ctest-TestBasicPolicy-02372110, ID : 10d7b404-a1e9-46dd-abd8-dd6aa544c177