2026-09-09 13:19:03,408 - INFO - Domain Default found not creating 2026-09-09 13:19:03,586 - INFO - Project ctest-TestBasicPolicy-72141836 not found, creating it 2026-09-09 13:19:04,064 - INFO - Created Project:ctest-TestBasicPolicy-72141836, ID : 36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:19:05,766 - INFO - ================================================================================ 2026-09-09 13:19:05,766 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-09 13:19:05,766 - 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-09-09 13:19:06,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.254': '0'}} with 2026-09-09 13:19:06,039 - INFO - Initial checks done. Running the testcase now 2026-09-09 13:19:06,039 - INFO - 2026-09-09 13:19:06,682 - DEBUG - Response for create_network : {'network': {'id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'name': 'ctest-vn-25608294', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-25608294'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:19:06,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a188a92-b775-4d90-a1e4-f05c0b337d12', 'name': '', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'network_id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'ip_version': 4, 'cidr': '39.45.26.0/26', 'allocation_pools': [{'start': '39.45.26.2', 'end': '39.45.26.62'}], 'gateway_ip': '39.45.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.45.26.2', 'tags': [], 'project_id': '36b8a4ba57e24d259de9a56a14a46d00'}} 2026-09-09 13:19:06,880 - INFO - Created VN ctest-vn-25608294 2026-09-09 13:19:06,940 - DEBUG - VN ctest-vn-25608294 UUID is 9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:07,262 - DEBUG - Response for create_network : {'network': {'id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'name': 'ctest-vn-50516020', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-50516020'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:19:07,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eda1f85b-55cf-4cb3-baf9-ebe7750d869a', 'name': '', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'network_id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'ip_version': 4, 'cidr': '146.122.70.192/26', 'allocation_pools': [{'start': '146.122.70.194', 'end': '146.122.70.254'}], 'gateway_ip': '146.122.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.122.70.194', 'tags': [], 'project_id': '36b8a4ba57e24d259de9a56a14a46d00'}} 2026-09-09 13:19:07,508 - INFO - Created VN ctest-vn-50516020 2026-09-09 13:19:07,560 - DEBUG - VN ctest-vn-50516020 UUID is ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:07,671 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294, 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-72141836:ctest-vn-50516020, 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-09-09 13:19:07,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'name': 'ctest-vn-25608294', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a188a92-b775-4d90-a1e4-f05c0b337d12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-25608294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']], 'subnet_ipam': [{'subnet_cidr': '39.45.26.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:19:08,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'name': 'ctest-vn-50516020', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eda1f85b-55cf-4cb3-baf9-ebe7750d869a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-50516020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']], 'subnet_ipam': [{'subnet_cidr': '146.122.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:19:08,408 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:19:08,775 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:19:08,804 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:19:08,818 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:19:08,892 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:08,904 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:08,914 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:19:08,922 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:19:08,929 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d473d392-abd3-4c31-a9f9-c2fab4a08390 2026-09-09 13:19:08,935 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 13:19:08,935 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:08,944 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:19:08,958 - INFO - Verified VN network id 12 for VN 9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:08,958 - INFO - Verifications in API Server for VN ctest-vn-25608294 passed 2026-09-09 13:19:08,958 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:08,968 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:19:08,977 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:19:08,985 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d473d392-abd3-4c31-a9f9-c2fab4a08390 2026-09-09 13:19:08,998 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72141836', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11458544428152275243', 'uuid-lslong': '11165921908450170729'}, 'enable': 'true', 'created': '2026-09-09T13:19:06', 'last-modified': '2026-09-09T13:19:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038142'} 2026-09-09 13:19:09,007 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 13:19:09,007 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25608294 passed 2026-09-09 13:19:09,008 - DEBUG - ====Verifying policy data for ctest-vn-25608294 in API_Server ====== 2026-09-09 13:19:09,008 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:19:09,014 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:19:09,026 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:19:09,107 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769 2026-09-09 13:19:09,123 - DEBUG - ==>Verifying data for policy with id: 3d8ae71a-5210-4734-abb6-176b817b08d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391'] 2026-09-09 13:19:09,123 - INFO - VN ctest-vn-25608294 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 13:19:09,123 - DEBUG - Verifying the vn in opserver 2026-09-09 13:19:09,123 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294 virtual network link through opserver 10.0.0.177 2026-09-09 13:19:09,123 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-09 13:19:09,492 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-09 13:19:09,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294?flat'} 2026-09-09 13:19:09,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294 is found in opserver 2026-09-09 13:19:09,575 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 13:19:09,580 - DEBUG - VRF ids for VN ctest-vn-25608294: {} 2026-09-09 13:19:09,580 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:19:09,587 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:19:09,597 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:19:09,674 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,686 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,696 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:19:09,704 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:19:09,711 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7ecbdd60-f10d-4305-aa61-416699f557a0 2026-09-09 13:19:09,717 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 13:19:09,717 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,727 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:19:09,742 - INFO - Verified VN network id 13 for VN ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,742 - INFO - Verifications in API Server for VN ctest-vn-50516020 passed 2026-09-09 13:19:09,742 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,752 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:19:09,761 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:19:09,770 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7ecbdd60-f10d-4305-aa61-416699f557a0 2026-09-09 13:19:09,784 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72141836', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12407653133634258012', 'uuid-lslong': '9537713346533676658'}, 'enable': 'true', 'created': '2026-09-09T13:19:07', 'last-modified': '2026-09-09T13:19:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.569453'} 2026-09-09 13:19:09,793 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 13:19:09,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50516020 passed 2026-09-09 13:19:09,794 - DEBUG - ====Verifying policy data for ctest-vn-50516020 in API_Server ====== 2026-09-09 13:19:09,794 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:19:09,801 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:19:09,813 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:19:09,894 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672 2026-09-09 13:19:09,904 - DEBUG - ==>Verifying data for policy with id: 3d8ae71a-5210-4734-abb6-176b817b08d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391'] 2026-09-09 13:19:09,904 - INFO - VN ctest-vn-50516020 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 13:19:09,904 - DEBUG - Verifying the vn in opserver 2026-09-09 13:19:09,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020 virtual network link through opserver 10.0.0.177 2026-09-09 13:19:09,904 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-09 13:19:09,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020?flat'} 2026-09-09 13:19:09,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020 is found in opserver 2026-09-09 13:19:09,927 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 13:19:09,934 - DEBUG - VRF ids for VN ctest-vn-50516020: {} 2026-09-09 13:19:10,008 - DEBUG - Services list from nova: [, , ] 2026-09-09 13:19:10,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6269-1) 2026-09-09 13:19:10,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6269-1) 2026-09-09 13:19:10,897 - INFO - Waiting for VM ctest-TestBasicPolicy-72141836-79047440 to be up.. 2026-09-09 13:19:10,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:15,992 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:21,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:26,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:31,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:36,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:41,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:46,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:19:51,599 - DEBUG - VM is in ACTIVE state now 2026-09-09 13:19:51,599 - INFO - VM name : ctest-TestBasicPolicy-72141836-79047440 2026-09-09 13:19:51,681 - DEBUG - VM ctest-TestBasicPolicy-72141836-79047440 ID is 17bee774-16bc-40cd-972f-dbd9c0426565 2026-09-09 13:19:51,702 - DEBUG - VM ctest-TestBasicPolicy-72141836-79047440 launched on Node cn-jenkins-deploy-platform-ansible-os-6269-1 2026-09-09 13:19:51,781 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/17bee774-16bc-40cd-972f-dbd9c0426565 2026-09-09 13:19:51,790 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/791b8dd6-d338-4f04-9240-e122e8d94db7 2026-09-09 13:19:55,043 - 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-09-09 13:19:55,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72141836-79047440 failed! 2026-09-09 13:19:55,100 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294 is 39.45.26.1 and allocation pool is NOT set 2026-09-09 13:19:57,168 - 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=3.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.973/3.413/3.853/0.440 ms') 2026-09-09 13:19:57,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72141836-79047440 passed 2026-09-09 13:19:57,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:19:57,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72141836-79047440, IP 39.45.26.3, Port 22 2026-09-09 13:19:57,498 - DEBUG - VM ctest-TestBasicPolicy-72141836-79047440 is ready for SSH connections 2026-09-09 13:19:57,498 - INFO - Waiting for VM ctest-TestBasicPolicy-72141836-30214022 to be up.. 2026-09-09 13:19:57,590 - DEBUG - VM is in ACTIVE state now 2026-09-09 13:19:57,590 - INFO - VM name : ctest-TestBasicPolicy-72141836-30214022 2026-09-09 13:19:57,672 - DEBUG - VM ctest-TestBasicPolicy-72141836-30214022 ID is e74a8bb1-35c4-4269-bef8-a13da7b11e9e 2026-09-09 13:19:57,672 - DEBUG - VM ctest-TestBasicPolicy-72141836-30214022 launched on Node cn-jenkins-deploy-platform-ansible-os-6269-1 2026-09-09 13:19:57,753 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/e74a8bb1-35c4-4269-bef8-a13da7b11e9e 2026-09-09 13:19:57,763 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/1b7a62db-6c05-4839-b687-a4d16ebf7760 2026-09-09 13:20:01,028 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-09-09 13:20:01,028 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72141836-30214022 failed! 2026-09-09 13:20:01,084 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020 is 146.122.70.193 and allocation pool is NOT set 2026-09-09 13:20:03,153 - 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=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.423/2.083/3.744/1.660 ms') 2026-09-09 13:20:03,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72141836-30214022 passed 2026-09-09 13:20:03,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:20:03,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72141836-30214022, IP 146.122.70.195, Port 22 2026-09-09 13:20:03,486 - DEBUG - VM ctest-TestBasicPolicy-72141836-30214022 is ready for SSH connections 2026-09-09 13:20:03,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:20:03,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.122.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-09 13:20:03,486 - DEBUG - ping -s 56 -c 3 -W 1 146.122.70.195 2026-09-09 13:20:07,503 - DEBUG - PING 146.122.70.195 (146.122.70.195): 56 data bytes 64 bytes from 146.122.70.195: seq=0 ttl=63 time=5.547 ms 64 bytes from 146.122.70.195: seq=1 ttl=63 time=1.125 ms 64 bytes from 146.122.70.195: seq=2 ttl=63 time=1.174 ms --- 146.122.70.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.125/2.615/5.547 ms 2026-09-09 13:20:07,503 - INFO - Ping to IP 146.122.70.195 from VM ctest-TestBasicPolicy-72141836-79047440 passed 2026-09-09 13:20:07,688 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d8ae71a-5210-4734-abb6-176b817b08d1", "href": "http://10.0.0.177:8082/network-policy/3d8ae71a-5210-4734-abb6-176b817b08d1"}} 2026-09-09 13:20:07,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:20:07,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.122.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-09 13:20:07,688 - DEBUG - ping -s 56 -c 3 -W 1 146.122.70.195 2026-09-09 13:20:10,835 - DEBUG - PING 146.122.70.195 (146.122.70.195): 56 data bytes 64 bytes from 146.122.70.195: seq=0 ttl=63 time=1.678 ms --- 146.122.70.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.678/1.678/1.678 ms 2026-09-09 13:20:10,835 - WARNING - Ping to IP 146.122.70.195 from VM ctest-TestBasicPolicy-72141836-79047440 failed 2026-09-09 13:20:10,835 - INFO - Deleting VM ctest-TestBasicPolicy-72141836-30214022 2026-09-09 13:20:10,931 - INFO - Deleting VM ctest-TestBasicPolicy-72141836-79047440 2026-09-09 13:20:11,367 - INFO - Deleted policy ctest-policy-allow-all-10262391 2026-09-09 13:20:11,368 - INFO - Deleting VN ctest-vn-50516020 2026-09-09 13:20:11,407 - DEBUG - VN ac30d6c9-5688-445c-845c-c3c175a45672 still in use: Unable to complete operation on network ac30d6c9-5688-445c-845c-c3c175a45672. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d28dce1c-ffed-477d-b40d-b4708a8071a9'] 2026-09-09 13:20:11,407 - WARNING - Deleting VN ctest-vn-50516020 failed..Will retry 2026-09-09 13:20:13,529 - DEBUG - Response for deleting network () 2026-09-09 13:20:13,529 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7 2026-09-09 13:20:13,535 - DEBUG - Response Code: 404 2026-09-09 13:20:13,535 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:20:13,547 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:20:13,607 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:20:13,684 - INFO - Validated that VN ctest-vn-50516020 is not found in API Server 2026-09-09 13:20:13,695 - DEBUG - VN ctest-vn-50516020 is not present in Agent 10.0.0.177 2026-09-09 13:20:13,695 - INFO - Validated that VN ctest-vn-50516020 is not in any agent 2026-09-09 13:20:13,712 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50516020 info 2026-09-09 13:20:13,712 - INFO - Deleting VN ctest-vn-25608294 2026-09-09 13:20:13,849 - DEBUG - Response for deleting network () 2026-09-09 13:20:13,849 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070 2026-09-09 13:20:13,855 - DEBUG - Response Code: 404 2026-09-09 13:20:13,855 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-09 13:20:13,869 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63 2026-09-09 13:20:13,927 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00 2026-09-09 13:20:14,009 - INFO - Validated that VN ctest-vn-25608294 is not found in API Server 2026-09-09 13:20:14,021 - DEBUG - VN ctest-vn-25608294 is not present in Agent 10.0.0.177 2026-09-09 13:20:14,021 - INFO - Validated that VN ctest-vn-25608294 is not in any agent 2026-09-09 13:20:14,040 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25608294 info 2026-09-09 13:20:14,318 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 13:20:14,318 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-09-09 13:20:14,318 - INFO - -------------------------------------------------------------------------------- 2026-09-09 13:20:15,143 - INFO - Deleted project: ctest-TestBasicPolicy-72141836, ID : 36b8a4ba-57e2-4d25-9de9-a56a14a46d00