2025-11-18 03:36:53,373 - INFO - Domain Default found not creating 2025-11-18 03:36:53,533 - INFO - Project ctest-TestBasicPolicy-40088157 not found, creating it 2025-11-18 03:36:53,981 - INFO - Created Project:ctest-TestBasicPolicy-40088157, ID : 05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:36:55,457 - INFO - ================================================================================ 2025-11-18 03:36:55,458 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-18 03:36:55,458 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-18 03:36:55,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-18 03:36:55,713 - INFO - Initial checks done. Running the testcase now 2025-11-18 03:36:55,713 - INFO - 2025-11-18 03:36:56,256 - DEBUG - Response for create_network : {'network': {'id': '4303fe56-eda9-43e0-aa28-20960c87f05b', 'name': 'ctest-vn-96507006', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'project_id': '05b5201a115049c98064e141c680d9d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-vn-96507006'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:56,468 - DEBUG - Response for create_subnet : {'subnet': {'id': '16711704-879f-45f9-aebe-245bf67c8b78', 'name': '', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'network_id': '4303fe56-eda9-43e0-aa28-20960c87f05b', 'ip_version': 4, 'cidr': '19.254.128.0/26', 'allocation_pools': [{'start': '19.254.128.2', 'end': '19.254.128.62'}], 'gateway_ip': '19.254.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.254.128.2', 'tags': [], 'project_id': '05b5201a115049c98064e141c680d9d7'}} 2025-11-18 03:36:56,489 - INFO - Created VN ctest-vn-96507006 2025-11-18 03:36:56,540 - DEBUG - VN ctest-vn-96507006 UUID is 4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:56,841 - DEBUG - Response for create_network : {'network': {'id': '461f162a-3921-40be-9d36-57553295f99d', 'name': 'ctest-vn-54630037', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'project_id': '05b5201a115049c98064e141c680d9d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-vn-54630037'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:57,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '396c1b10-aef4-4a8b-a7f1-89c456d950f7', 'name': '', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'network_id': '461f162a-3921-40be-9d36-57553295f99d', 'ip_version': 4, 'cidr': '83.180.76.0/26', 'allocation_pools': [{'start': '83.180.76.2', 'end': '83.180.76.62'}], 'gateway_ip': '83.180.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.180.76.2', 'tags': [], 'project_id': '05b5201a115049c98064e141c680d9d7'}} 2025-11-18 03:36:57,081 - INFO - Created VN ctest-vn-54630037 2025-11-18 03:36:57,139 - DEBUG - VN ctest-vn-54630037 UUID is 461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:57,252 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006, 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-40088157:ctest-vn-54630037, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-18 03:36:57,550 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4303fe56-eda9-43e0-aa28-20960c87f05b', 'name': 'ctest-vn-96507006', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'project_id': '05b5201a115049c98064e141c680d9d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16711704-879f-45f9-aebe-245bf67c8b78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-vn-96507006'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-policy-allow-all-73965029']], 'subnet_ipam': [{'subnet_cidr': '19.254.128.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:57,779 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '461f162a-3921-40be-9d36-57553295f99d', 'name': 'ctest-vn-54630037', 'tenant_id': '05b5201a115049c98064e141c680d9d7', 'project_id': '05b5201a115049c98064e141c680d9d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['396c1b10-aef4-4a8b-a7f1-89c456d950f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-vn-54630037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-policy-allow-all-73965029']], 'subnet_ipam': [{'subnet_cidr': '83.180.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:57,940 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:36:58,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:36:58,272 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:36:58,284 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:36:58,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,365 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,373 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:36:58,380 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:36:58,386 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35bd4803-632d-4487-98e1-1425001b684a 2025-11-18 03:36:58,392 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 03:36:58,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:36:58,414 - INFO - Verified VN network id 11 for VN 4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,414 - INFO - Verifications in API Server for VN ctest-vn-96507006 passed 2025-11-18 03:36:58,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:36:58,430 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:36:58,437 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35bd4803-632d-4487-98e1-1425001b684a 2025-11-18 03:36:58,449 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40088157', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4828982874779239392', 'uuid-lslong': '12261085814343594075'}, 'enable': 'true', 'created': '2025-11-18T03:36:56', 'last-modified': '2025-11-18T03:36:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921118'} 2025-11-18 03:36:58,456 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 03:36:58,456 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96507006 passed 2025-11-18 03:36:58,457 - DEBUG - ====Verifying policy data for ctest-vn-96507006 in API_Server ====== 2025-11-18 03:36:58,457 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:36:58,461 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:36:58,471 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:36:58,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4303fe56-eda9-43e0-aa28-20960c87f05b 2025-11-18 03:36:58,551 - DEBUG - ==>Verifying data for policy with id: 9435ebba-1464-428f-aadf-66bb023f9acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-policy-allow-all-73965029'] 2025-11-18 03:36:58,551 - INFO - VN ctest-vn-96507006 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 03:36:58,551 - DEBUG - Verifying the vn in opserver 2025-11-18 03:36:58,551 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006 virtual network link through opserver 10.0.0.50 2025-11-18 03:36:58,552 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 03:36:58,844 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 03:36:58,906 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006?flat'} 2025-11-18 03:36:58,906 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006 is found in opserver 2025-11-18 03:36:58,917 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 03:36:58,922 - DEBUG - VRF ids for VN ctest-vn-96507006: {} 2025-11-18 03:36:58,923 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:36:58,928 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:36:58,939 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:36:59,012 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,032 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:36:59,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:36:59,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef9472c-464f-46f4-bc49-1f5ec89e5d2a 2025-11-18 03:36:59,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 03:36:59,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:36:59,075 - INFO - Verified VN network id 12 for VN 461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,076 - INFO - Verifications in API Server for VN ctest-vn-54630037 passed 2025-11-18 03:36:59,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:36:59,091 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:36:59,097 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef9472c-464f-46f4-bc49-1f5ec89e5d2a 2025-11-18 03:36:59,108 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-54630037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40088157', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5052781677535903934', 'uuid-lslong': '11328337936129587613'}, 'enable': 'true', 'created': '2025-11-18T03:36:56', 'last-modified': '2025-11-18T03:36:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344373'} 2025-11-18 03:36:59,113 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 03:36:59,113 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54630037 passed 2025-11-18 03:36:59,113 - DEBUG - ====Verifying policy data for ctest-vn-54630037 in API_Server ====== 2025-11-18 03:36:59,114 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:36:59,119 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:36:59,128 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:36:59,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/461f162a-3921-40be-9d36-57553295f99d 2025-11-18 03:36:59,213 - DEBUG - ==>Verifying data for policy with id: 9435ebba-1464-428f-aadf-66bb023f9acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-40088157', 'ctest-policy-allow-all-73965029'] 2025-11-18 03:36:59,213 - INFO - VN ctest-vn-54630037 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 03:36:59,213 - DEBUG - Verifying the vn in opserver 2025-11-18 03:36:59,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-54630037 virtual network link through opserver 10.0.0.50 2025-11-18 03:36:59,213 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 03:36:59,224 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-54630037', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-54630037?flat'} 2025-11-18 03:36:59,224 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-54630037 is found in opserver 2025-11-18 03:36:59,235 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 03:36:59,241 - DEBUG - VRF ids for VN ctest-vn-54630037: {} 2025-11-18 03:36:59,293 - DEBUG - Services list from nova: [, , ] 2025-11-18 03:37:00,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1) 2025-11-18 03:37:01,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1) 2025-11-18 03:37:01,486 - INFO - Waiting for VM ctest-TestBasicPolicy-40088157-68011515 to be up.. 2025-11-18 03:37:01,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 03:37:06,654 - DEBUG - VM is in ACTIVE state now 2025-11-18 03:37:06,654 - INFO - VM name : ctest-TestBasicPolicy-40088157-68011515 2025-11-18 03:37:06,725 - DEBUG - VM ctest-TestBasicPolicy-40088157-68011515 ID is 8f47bc7b-2ccb-4ae3-930e-354234a3cd04 2025-11-18 03:37:06,744 - DEBUG - VM ctest-TestBasicPolicy-40088157-68011515 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1 2025-11-18 03:37:06,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f47bc7b-2ccb-4ae3-930e-354234a3cd04 2025-11-18 03:37:06,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca05d526-1cda-48bc-9d0c-b0760c801887 2025-11-18 03:37:10,098 - 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 1032ms') 2025-11-18 03:37:10,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40088157-68011515 failed! 2025-11-18 03:37:10,152 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40088157:ctest-vn-96507006 is 19.254.128.1 and allocation pool is NOT set 2025-11-18 03:37:12,213 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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 = 1.871/5.281/8.691/3.410 ms') 2025-11-18 03:37:12,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40088157-68011515 passed 2025-11-18 03:37:12,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:37:12,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40088157-68011515, IP 19.254.128.3, Port 22 2025-11-18 03:37:12,419 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-18 03:37:12,494 - DEBUG - VM ctest-TestBasicPolicy-40088157-68011515 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 03:37:17,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:37:17,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40088157-68011515, IP 19.254.128.3, Port 22 2025-11-18 03:37:17,666 - DEBUG - VM ctest-TestBasicPolicy-40088157-68011515 is ready for SSH connections 2025-11-18 03:37:17,666 - INFO - Waiting for VM ctest-TestBasicPolicy-40088157-76312714 to be up.. 2025-11-18 03:37:17,736 - DEBUG - VM is in ACTIVE state now 2025-11-18 03:37:17,736 - INFO - VM name : ctest-TestBasicPolicy-40088157-76312714 2025-11-18 03:37:17,808 - DEBUG - VM ctest-TestBasicPolicy-40088157-76312714 ID is a87e4ce7-d780-486b-b12f-4a860798414a 2025-11-18 03:37:17,808 - DEBUG - VM ctest-TestBasicPolicy-40088157-76312714 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1 2025-11-18 03:37:17,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a87e4ce7-d780-486b-b12f-4a860798414a 2025-11-18 03:37:17,890 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b98a17cd-1a90-4b44-98f9-f483b47e77ce 2025-11-18 03:37:19,123 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/2.092/3.752/1.659 ms') 2025-11-18 03:37:19,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40088157-76312714 passed 2025-11-18 03:37:19,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:37:19,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40088157-76312714, IP 83.180.76.3, Port 22 2025-11-18 03:37:19,431 - DEBUG - VM ctest-TestBasicPolicy-40088157-76312714 is ready for SSH connections 2025-11-18 03:37:19,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:37:19,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.180.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 03:37:19,432 - DEBUG - ping -s 56 -c 3 -W 1 83.180.76.3 2025-11-18 03:37:23,454 - DEBUG - PING 83.180.76.3 (83.180.76.3): 56 data bytes 64 bytes from 83.180.76.3: seq=0 ttl=63 time=3.526 ms 64 bytes from 83.180.76.3: seq=1 ttl=63 time=0.941 ms 64 bytes from 83.180.76.3: seq=2 ttl=63 time=0.861 ms --- 83.180.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.776/3.526 ms 2025-11-18 03:37:23,455 - INFO - Ping to IP 83.180.76.3 from VM ctest-TestBasicPolicy-40088157-68011515 passed 2025-11-18 03:37:23,623 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9435ebba-1464-428f-aadf-66bb023f9acd", "href": "http://10.0.0.50:8082/network-policy/9435ebba-1464-428f-aadf-66bb023f9acd"}} 2025-11-18 03:37:23,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:37:23,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.180.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 03:37:23,624 - DEBUG - ping -s 56 -c 3 -W 1 83.180.76.3 2025-11-18 03:37:26,819 - DEBUG - PING 83.180.76.3 (83.180.76.3): 56 data bytes --- 83.180.76.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 03:37:26,819 - WARNING - Ping to IP 83.180.76.3 from VM ctest-TestBasicPolicy-40088157-68011515 failed 2025-11-18 03:37:26,820 - INFO - Deleting VM ctest-TestBasicPolicy-40088157-76312714 2025-11-18 03:37:26,891 - INFO - Deleting VM ctest-TestBasicPolicy-40088157-68011515 2025-11-18 03:37:27,248 - INFO - Deleted policy ctest-policy-allow-all-73965029 2025-11-18 03:37:27,248 - INFO - Deleting VN ctest-vn-54630037 2025-11-18 03:37:27,282 - DEBUG - VN 461f162a-3921-40be-9d36-57553295f99d still in use: Unable to complete operation on network 461f162a-3921-40be-9d36-57553295f99d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-918d59a5-6a21-4d46-bb1e-e2268530f98b'] 2025-11-18 03:37:27,282 - WARNING - Deleting VN ctest-vn-54630037 failed..Will retry 2025-11-18 03:37:29,381 - DEBUG - Response for deleting network () 2025-11-18 03:37:29,381 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b618edb2-6875-4532-a5d1-0c348118b766 2025-11-18 03:37:29,388 - DEBUG - Response Code: 404 2025-11-18 03:37:29,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:37:29,395 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:37:29,449 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:37:29,519 - INFO - Validated that VN ctest-vn-54630037 is not found in API Server 2025-11-18 03:37:29,533 - DEBUG - VN ctest-vn-54630037 is not present in Agent 10.0.0.50 2025-11-18 03:37:29,533 - INFO - Validated that VN ctest-vn-54630037 is not in any agent 2025-11-18 03:37:29,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54630037 info 2025-11-18 03:37:29,546 - INFO - Deleting VN ctest-vn-96507006 2025-11-18 03:37:29,641 - DEBUG - Response for deleting network () 2025-11-18 03:37:29,641 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d0f0b-b759-48a1-a293-48bdd7cb9ab8 2025-11-18 03:37:29,646 - DEBUG - Response Code: 404 2025-11-18 03:37:29,648 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 03:37:29,656 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f8b821e-1abc-4a0a-9ad4-565d9c19cf67 2025-11-18 03:37:29,709 - DEBUG - Requesting: http://10.0.0.50:8082/project/05b5201a-1150-49c9-8064-e141c680d9d7 2025-11-18 03:37:29,782 - INFO - Validated that VN ctest-vn-96507006 is not found in API Server 2025-11-18 03:37:29,792 - DEBUG - VN ctest-vn-96507006 is not present in Agent 10.0.0.50 2025-11-18 03:37:29,792 - INFO - Validated that VN ctest-vn-96507006 is not in any agent 2025-11-18 03:37:29,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96507006 info 2025-11-18 03:37:30,064 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 03:37:30,065 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-18 03:37:30,065 - INFO - -------------------------------------------------------------------------------- 2025-11-18 03:37:30,745 - INFO - Deleted project: ctest-TestBasicPolicy-40088157, ID : 05b5201a-1150-49c9-8064-e141c680d9d7