2026-07-29 10:46:29,461 - INFO - Domain Default found not creating 2026-07-29 10:46:29,682 - INFO - Project ctest-TestBasicPolicy-95990047 not found, creating it 2026-07-29 10:46:30,237 - INFO - Created Project:ctest-TestBasicPolicy-95990047, ID : 199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:46:32,099 - INFO - ================================================================================ 2026-07-29 10:46:32,100 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-29 10:46:32,100 - 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-07-29 10:46:32,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-07-29 10:46:32,374 - INFO - Initial checks done. Running the testcase now 2026-07-29 10:46:32,374 - INFO - 2026-07-29 10:46:33,102 - DEBUG - Response for create_network : {'network': {'id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'name': 'ctest-vn-05865582', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-05865582'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 10:46:33,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c303704-af42-47a4-9e39-df007edbe930', 'name': '', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'network_id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'ip_version': 4, 'cidr': '62.164.203.192/26', 'allocation_pools': [{'start': '62.164.203.194', 'end': '62.164.203.254'}], 'gateway_ip': '62.164.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.164.203.194', 'tags': [], 'project_id': '199e1eae10ec454ab4c4f52fd434d674'}} 2026-07-29 10:46:33,371 - INFO - Created VN ctest-vn-05865582 2026-07-29 10:46:33,426 - DEBUG - VN ctest-vn-05865582 UUID is a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:33,813 - DEBUG - Response for create_network : {'network': {'id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'name': 'ctest-vn-00177157', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-00177157'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 10:46:34,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb41bdf9-032f-41fc-8c48-bd67d3eb4ca5', 'name': '', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'network_id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'ip_version': 4, 'cidr': '115.102.137.128/26', 'allocation_pools': [{'start': '115.102.137.130', 'end': '115.102.137.190'}], 'gateway_ip': '115.102.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.102.137.130', 'tags': [], 'project_id': '199e1eae10ec454ab4c4f52fd434d674'}} 2026-07-29 10:46:34,076 - INFO - Created VN ctest-vn-00177157 2026-07-29 10:46:34,134 - DEBUG - VN ctest-vn-00177157 UUID is afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:34,267 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582, 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-95990047:ctest-vn-00177157, 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-07-29 10:46:34,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'name': 'ctest-vn-05865582', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c303704-af42-47a4-9e39-df007edbe930'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-05865582'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']], 'subnet_ipam': [{'subnet_cidr': '62.164.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 10:46:35,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'name': 'ctest-vn-00177157', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb41bdf9-032f-41fc-8c48-bd67d3eb4ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-00177157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']], 'subnet_ipam': [{'subnet_cidr': '115.102.137.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 10:46:35,194 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:46:35,570 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:46:35,602 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:46:35,616 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:46:35,700 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,715 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,727 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:46:35,737 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:46:35,747 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/d2cef9d7-4ab9-4fde-b49c-cb5a7bf0d357 2026-07-29 10:46:35,756 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 10:46:35,756 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,770 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:46:35,792 - INFO - Verified VN network id 11 for VN a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,793 - INFO - Verifications in API Server for VN ctest-vn-05865582 passed 2026-07-29 10:46:35,793 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,806 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:46:35,816 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:46:35,827 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/d2cef9d7-4ab9-4fde-b49c-cb5a7bf0d357 2026-07-29 10:46:35,845 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95990047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11707076684564613221', 'uuid-lslong': '13776475704073465873'}, 'enable': 'true', 'created': '2026-07-29T10:46:33', 'last-modified': '2026-07-29T10:46:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.244380'} 2026-07-29 10:46:35,854 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 10:46:35,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05865582 passed 2026-07-29 10:46:35,855 - DEBUG - ====Verifying policy data for ctest-vn-05865582 in API_Server ====== 2026-07-29 10:46:35,855 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:46:35,863 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:46:35,877 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:46:35,967 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011 2026-07-29 10:46:35,980 - DEBUG - ==>Verifying data for policy with id: 57976675-243c-4d13-a202-4ba294ee8e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195'] 2026-07-29 10:46:35,980 - INFO - VN ctest-vn-05865582 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 10:46:35,980 - DEBUG - Verifying the vn in opserver 2026-07-29 10:46:35,981 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582 virtual network link through opserver 10.0.0.185 2026-07-29 10:46:35,981 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-29 10:46:36,362 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-29 10:46:36,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582?flat'} 2026-07-29 10:46:36,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582 is found in opserver 2026-07-29 10:46:36,444 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 10:46:36,450 - DEBUG - VRF ids for VN ctest-vn-05865582: {} 2026-07-29 10:46:36,451 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:46:36,457 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:46:36,471 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:46:36,551 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,568 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,582 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:46:36,592 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:46:36,599 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3b8d7e15-2adb-4fc0-a916-233a9e990506 2026-07-29 10:46:36,606 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 10:46:36,606 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,617 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:46:36,636 - INFO - Verified VN network id 12 for VN afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,636 - INFO - Verifications in API Server for VN ctest-vn-00177157 passed 2026-07-29 10:46:36,636 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,649 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:46:36,658 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:46:36,668 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3b8d7e15-2adb-4fc0-a916-233a9e990506 2026-07-29 10:46:36,688 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95990047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12658426353769661301', 'uuid-lslong': '12433142385806846206'}, 'enable': 'true', 'created': '2026-07-29T10:46:33', 'last-modified': '2026-07-29T10:46:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.737697'} 2026-07-29 10:46:36,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 10:46:36,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00177157 passed 2026-07-29 10:46:36,700 - DEBUG - ====Verifying policy data for ctest-vn-00177157 in API_Server ====== 2026-07-29 10:46:36,701 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:46:36,708 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:46:36,724 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:46:36,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe 2026-07-29 10:46:36,820 - DEBUG - ==>Verifying data for policy with id: 57976675-243c-4d13-a202-4ba294ee8e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195'] 2026-07-29 10:46:36,820 - INFO - VN ctest-vn-00177157 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 10:46:36,820 - DEBUG - Verifying the vn in opserver 2026-07-29 10:46:36,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157 virtual network link through opserver 10.0.0.185 2026-07-29 10:46:36,820 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-29 10:46:36,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157?flat'} 2026-07-29 10:46:36,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157 is found in opserver 2026-07-29 10:46:36,847 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 10:46:36,853 - DEBUG - VRF ids for VN ctest-vn-00177157: {} 2026-07-29 10:46:36,937 - DEBUG - Services list from nova: [, , ] 2026-07-29 10:46:37,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6118-1) 2026-07-29 10:46:37,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6118-1) 2026-07-29 10:46:37,882 - INFO - Waiting for VM ctest-TestBasicPolicy-95990047-15857104 to be up.. 2026-07-29 10:46:37,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:46:43,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:46:48,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:46:53,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:46:58,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:47:03,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:47:08,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:47:13,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 10:47:18,814 - DEBUG - VM is in ACTIVE state now 2026-07-29 10:47:18,814 - INFO - VM name : ctest-TestBasicPolicy-95990047-15857104 2026-07-29 10:47:18,930 - DEBUG - VM ctest-TestBasicPolicy-95990047-15857104 ID is 6586b390-8efa-4991-b339-4c149d90731a 2026-07-29 10:47:18,960 - DEBUG - VM ctest-TestBasicPolicy-95990047-15857104 launched on Node cn-jenkins-deploy-platform-ansible-os-6118-1 2026-07-29 10:47:19,069 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/6586b390-8efa-4991-b339-4c149d90731a 2026-07-29 10:47:19,083 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/00d4f5bd-3823-4d58-b73a-75dec63ac19a 2026-07-29 10:47:22,372 - 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 1006ms') 2026-07-29 10:47:22,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95990047-15857104 failed! 2026-07-29 10:47:22,438 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582 is 62.164.203.193 and allocation pool is NOT set 2026-07-29 10:47:26,527 - 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=2 ttl=63 time=5.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 5.371/5.371/5.371/0.000 ms') 2026-07-29 10:47:26,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95990047-15857104 passed 2026-07-29 10:47:26,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 10:47:26,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95990047-15857104, IP 62.164.203.195, Port 22 2026-07-29 10:47:26,860 - DEBUG - VM ctest-TestBasicPolicy-95990047-15857104 is ready for SSH connections 2026-07-29 10:47:26,861 - INFO - Waiting for VM ctest-TestBasicPolicy-95990047-84162346 to be up.. 2026-07-29 10:47:26,963 - DEBUG - VM is in ACTIVE state now 2026-07-29 10:47:26,963 - INFO - VM name : ctest-TestBasicPolicy-95990047-84162346 2026-07-29 10:47:27,072 - DEBUG - VM ctest-TestBasicPolicy-95990047-84162346 ID is a8f30d24-4903-4eca-bcdc-dd7d7f7fe99b 2026-07-29 10:47:27,072 - DEBUG - VM ctest-TestBasicPolicy-95990047-84162346 launched on Node cn-jenkins-deploy-platform-ansible-os-6118-1 2026-07-29 10:47:27,179 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a8f30d24-4903-4eca-bcdc-dd7d7f7fe99b 2026-07-29 10:47:27,190 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/dc40b70c-3492-4ab4-aa7b-02d65489a36b 2026-07-29 10:47:30,461 - 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 1018ms') 2026-07-29 10:47:30,461 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95990047-84162346 failed! 2026-07-29 10:47:30,526 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157 is 115.102.137.129 and allocation pool is NOT set 2026-07-29 10:47:32,589 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/2.237/3.902/1.665 ms') 2026-07-29 10:47:32,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95990047-84162346 passed 2026-07-29 10:47:32,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 10:47:32,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95990047-84162346, IP 115.102.137.131, Port 22 2026-07-29 10:47:32,924 - DEBUG - VM ctest-TestBasicPolicy-95990047-84162346 is ready for SSH connections 2026-07-29 10:47:32,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 10:47:32,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.102.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-07-29 10:47:32,925 - DEBUG - ping -s 56 -c 3 -W 1 115.102.137.131 2026-07-29 10:47:37,189 - DEBUG - PING 115.102.137.131 (115.102.137.131): 56 data bytes 64 bytes from 115.102.137.131: seq=0 ttl=63 time=6.081 ms 64 bytes from 115.102.137.131: seq=1 ttl=63 time=2.197 ms 64 bytes from 115.102.137.131: seq=2 ttl=63 time=1.073 ms --- 115.102.137.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/3.117/6.081 ms 2026-07-29 10:47:37,189 - INFO - Ping to IP 115.102.137.131 from VM ctest-TestBasicPolicy-95990047-15857104 passed 2026-07-29 10:47:37,386 - DEBUG - Policy Update Response {"network-policy": {"uuid": "57976675-243c-4d13-a202-4ba294ee8e89", "href": "http://10.0.0.185:8082/network-policy/57976675-243c-4d13-a202-4ba294ee8e89"}} 2026-07-29 10:47:37,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 10:47:37,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.102.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-07-29 10:47:37,386 - DEBUG - ping -s 56 -c 3 -W 1 115.102.137.131 2026-07-29 10:47:40,538 - DEBUG - PING 115.102.137.131 (115.102.137.131): 56 data bytes 64 bytes from 115.102.137.131: seq=0 ttl=63 time=1.952 ms --- 115.102.137.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.952/1.952/1.952 ms 2026-07-29 10:47:40,538 - WARNING - Ping to IP 115.102.137.131 from VM ctest-TestBasicPolicy-95990047-15857104 failed 2026-07-29 10:47:40,538 - INFO - Deleting VM ctest-TestBasicPolicy-95990047-84162346 2026-07-29 10:47:40,636 - INFO - Deleting VM ctest-TestBasicPolicy-95990047-15857104 2026-07-29 10:47:41,194 - INFO - Deleted policy ctest-policy-allow-all-85771195 2026-07-29 10:47:41,194 - INFO - Deleting VN ctest-vn-00177157 2026-07-29 10:47:41,246 - DEBUG - VN afabc3b3-97e2-4375-ac8b-652053dea8fe still in use: Unable to complete operation on network afabc3b3-97e2-4375-ac8b-652053dea8fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e22f878-17a1-41d3-9dba-6f428fe423c2'] 2026-07-29 10:47:41,247 - WARNING - Deleting VN ctest-vn-00177157 failed..Will retry 2026-07-29 10:47:43,396 - DEBUG - Response for deleting network () 2026-07-29 10:47:43,397 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105 2026-07-29 10:47:43,409 - DEBUG - Response Code: 404 2026-07-29 10:47:43,409 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:47:43,418 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:47:43,475 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:47:43,570 - INFO - Validated that VN ctest-vn-00177157 is not found in API Server 2026-07-29 10:47:43,584 - DEBUG - VN ctest-vn-00177157 is not present in Agent 10.0.0.185 2026-07-29 10:47:43,584 - INFO - Validated that VN ctest-vn-00177157 is not in any agent 2026-07-29 10:47:43,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00177157 info 2026-07-29 10:47:43,607 - INFO - Deleting VN ctest-vn-05865582 2026-07-29 10:47:43,738 - DEBUG - Response for deleting network () 2026-07-29 10:47:43,738 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14 2026-07-29 10:47:43,745 - DEBUG - Response Code: 404 2026-07-29 10:47:43,746 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-07-29 10:47:43,760 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e 2026-07-29 10:47:43,821 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674 2026-07-29 10:47:43,911 - INFO - Validated that VN ctest-vn-05865582 is not found in API Server 2026-07-29 10:47:43,930 - DEBUG - VN ctest-vn-05865582 is not present in Agent 10.0.0.185 2026-07-29 10:47:43,930 - INFO - Validated that VN ctest-vn-05865582 is not in any agent 2026-07-29 10:47:43,953 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05865582 info 2026-07-29 10:47:44,232 - DEBUG - No XMPP flaps were noticed during the test 2026-07-29 10:47:44,232 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-07-29 10:47:44,232 - INFO - -------------------------------------------------------------------------------- 2026-07-29 10:47:45,109 - INFO - Deleted project: ctest-TestBasicPolicy-95990047, ID : 199e1eae-10ec-454a-b4c4-f52fd434d674