2026-03-16 01:58:59,528 - INFO - Domain Default found not creating 2026-03-16 01:58:59,687 - INFO - Project ctest-TestBasicPolicy-95717979 not found, creating it 2026-03-16 01:59:00,127 - INFO - Created Project:ctest-TestBasicPolicy-95717979, ID : c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:01,602 - INFO - ================================================================================ 2026-03-16 01:59:01,602 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-16 01:59:01,603 - 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-03-16 01:59:01,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-03-16 01:59:01,871 - INFO - Initial checks done. Running the testcase now 2026-03-16 01:59:01,871 - INFO - 2026-03-16 01:59:03,011 - DEBUG - Response for create_network : {'network': {'id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'name': 'ctest-vn-28163193', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-28163193'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 01:59:03,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '36522974-bcbe-4ce7-8c8f-bdec35ca0bd3', 'name': '', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'network_id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'ip_version': 4, 'cidr': '97.176.6.128/26', 'allocation_pools': [{'start': '97.176.6.130', 'end': '97.176.6.190'}], 'gateway_ip': '97.176.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.176.6.130', 'tags': [], 'project_id': 'c09ba8deee7841bca744a031bf29ae15'}} 2026-03-16 01:59:03,198 - INFO - Created VN ctest-vn-28163193 2026-03-16 01:59:03,250 - DEBUG - VN ctest-vn-28163193 UUID is ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:03,554 - DEBUG - Response for create_network : {'network': {'id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'name': 'ctest-vn-40314136', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-40314136'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 01:59:03,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edf55d79-6ce4-4c21-bd04-88323c4e7c98', 'name': '', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'network_id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'ip_version': 4, 'cidr': '207.148.229.128/26', 'allocation_pools': [{'start': '207.148.229.130', 'end': '207.148.229.190'}], 'gateway_ip': '207.148.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.148.229.130', 'tags': [], 'project_id': 'c09ba8deee7841bca744a031bf29ae15'}} 2026-03-16 01:59:03,735 - INFO - Created VN ctest-vn-40314136 2026-03-16 01:59:03,790 - DEBUG - VN ctest-vn-40314136 UUID is d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:03,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193, 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-95717979:ctest-vn-40314136, 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-03-16 01:59:04,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'name': 'ctest-vn-28163193', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36522974-bcbe-4ce7-8c8f-bdec35ca0bd3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-28163193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']], 'subnet_ipam': [{'subnet_cidr': '97.176.6.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 01:59:04,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'name': 'ctest-vn-40314136', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edf55d79-6ce4-4c21-bd04-88323c4e7c98'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-40314136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']], 'subnet_ipam': [{'subnet_cidr': '207.148.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 01:59:04,646 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:04,949 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:04,980 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:04,991 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:05,061 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,071 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,080 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:05,086 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:05,092 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/426c1f9f-7805-4e9f-9b2a-d611719caced 2026-03-16 01:59:05,097 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 01:59:05,097 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,105 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:05,117 - INFO - Verified VN network id 11 for VN ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,117 - INFO - Verifications in API Server for VN ctest-vn-28163193 passed 2026-03-16 01:59:05,118 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,126 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:05,132 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:05,138 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/426c1f9f-7805-4e9f-9b2a-d611719caced 2026-03-16 01:59:05,148 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95717979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16901555506221764419', 'uuid-lslong': '11586658138725833345'}, 'enable': 'true', 'created': '2026-03-16T01:59:02', 'last-modified': '2026-03-16T01:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924276'} 2026-03-16 01:59:05,154 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 01:59:05,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28163193 passed 2026-03-16 01:59:05,154 - DEBUG - ====Verifying policy data for ctest-vn-28163193 in API_Server ====== 2026-03-16 01:59:05,154 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:05,159 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:05,171 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:05,238 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81 2026-03-16 01:59:05,246 - DEBUG - ==>Verifying data for policy with id: cb6ea34e-486f-47d5-9770-8ca24363feac, fqn: ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458'] 2026-03-16 01:59:05,246 - INFO - VN ctest-vn-28163193 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 01:59:05,246 - DEBUG - Verifying the vn in opserver 2026-03-16 01:59:05,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193 virtual network link through opserver 10.0.0.242 2026-03-16 01:59:05,246 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-16 01:59:05,567 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-16 01:59:05,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193?flat'} 2026-03-16 01:59:05,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193 is found in opserver 2026-03-16 01:59:05,637 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 01:59:05,642 - DEBUG - VRF ids for VN ctest-vn-28163193: {} 2026-03-16 01:59:05,642 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:05,648 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:05,658 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:05,730 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,742 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,752 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:05,760 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:05,769 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/89c130fc-8d1c-40c5-b3e3-a1d51acfd678 2026-03-16 01:59:05,776 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 01:59:05,776 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,785 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:05,799 - INFO - Verified VN network id 12 for VN d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,799 - INFO - Verifications in API Server for VN ctest-vn-40314136 passed 2026-03-16 01:59:05,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,808 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:05,813 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:05,819 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/89c130fc-8d1c-40c5-b3e3-a1d51acfd678 2026-03-16 01:59:05,832 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95717979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15487107708608071847', 'uuid-lslong': '10116709130157963179'}, 'enable': 'true', 'created': '2026-03-16T01:59:03', 'last-modified': '2026-03-16T01:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354083'} 2026-03-16 01:59:05,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 01:59:05,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40314136 passed 2026-03-16 01:59:05,837 - DEBUG - ====Verifying policy data for ctest-vn-40314136 in API_Server ====== 2026-03-16 01:59:05,837 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:05,843 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:05,852 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:05,918 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab 2026-03-16 01:59:05,927 - DEBUG - ==>Verifying data for policy with id: cb6ea34e-486f-47d5-9770-8ca24363feac, fqn: ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458'] 2026-03-16 01:59:05,927 - INFO - VN ctest-vn-40314136 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 01:59:05,927 - DEBUG - Verifying the vn in opserver 2026-03-16 01:59:05,927 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136 virtual network link through opserver 10.0.0.242 2026-03-16 01:59:05,927 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-16 01:59:05,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136?flat'} 2026-03-16 01:59:05,935 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136 is found in opserver 2026-03-16 01:59:05,943 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 01:59:05,948 - DEBUG - VRF ids for VN ctest-vn-40314136: {} 2026-03-16 01:59:06,000 - DEBUG - Services list from nova: [, , ] 2026-03-16 01:59:07,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5470-1) 2026-03-16 01:59:08,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5470-1) 2026-03-16 01:59:08,141 - INFO - Waiting for VM ctest-TestBasicPolicy-95717979-63730657 to be up.. 2026-03-16 01:59:08,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 01:59:13,291 - DEBUG - VM is in ACTIVE state now 2026-03-16 01:59:13,291 - INFO - VM name : ctest-TestBasicPolicy-95717979-63730657 2026-03-16 01:59:13,365 - DEBUG - VM ctest-TestBasicPolicy-95717979-63730657 ID is d282b3b2-c97b-4245-bce6-bd123431dd90 2026-03-16 01:59:13,386 - DEBUG - VM ctest-TestBasicPolicy-95717979-63730657 launched on Node cn-jenkins-deploy-platform-ansible-os-5470-1 2026-03-16 01:59:13,466 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d282b3b2-c97b-4245-bce6-bd123431dd90 2026-03-16 01:59:13,474 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/357e299e-f006-42b9-93dd-a9db7d51286b 2026-03-16 01:59:16,729 - 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 1016ms') 2026-03-16 01:59:16,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95717979-63730657 failed! 2026-03-16 01:59:16,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193 is 97.176.6.129 and allocation pool is NOT set 2026-03-16 01:59:18,847 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.900 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.900/2.508/4.117/1.608 ms') 2026-03-16 01:59:18,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95717979-63730657 passed 2026-03-16 01:59:18,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 01:59:18,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95717979-63730657, IP 97.176.6.131, Port 22 2026-03-16 01:59:19,150 - DEBUG - VM ctest-TestBasicPolicy-95717979-63730657 is ready for SSH connections 2026-03-16 01:59:19,150 - INFO - Waiting for VM ctest-TestBasicPolicy-95717979-74429544 to be up.. 2026-03-16 01:59:19,222 - DEBUG - VM is in ACTIVE state now 2026-03-16 01:59:19,222 - INFO - VM name : ctest-TestBasicPolicy-95717979-74429544 2026-03-16 01:59:19,286 - DEBUG - VM ctest-TestBasicPolicy-95717979-74429544 ID is 2811fe8a-cd19-4290-bb37-91d7fcba5cec 2026-03-16 01:59:19,287 - DEBUG - VM ctest-TestBasicPolicy-95717979-74429544 launched on Node cn-jenkins-deploy-platform-ansible-os-5470-1 2026-03-16 01:59:19,354 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2811fe8a-cd19-4290-bb37-91d7fcba5cec 2026-03-16 01:59:19,361 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b8a515da-6ef1-41de-a4a2-82e9d1d3186b 2026-03-16 01:59:20,590 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.306 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.306/1.808/3.311/1.502 ms') 2026-03-16 01:59:20,590 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95717979-74429544 passed 2026-03-16 01:59:20,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 01:59:20,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95717979-74429544, IP 207.148.229.131, Port 22 2026-03-16 01:59:20,893 - DEBUG - VM ctest-TestBasicPolicy-95717979-74429544 is ready for SSH connections 2026-03-16 01:59:20,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 01:59:20,895 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.148.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-16 01:59:20,895 - DEBUG - ping -s 56 -c 3 -W 1 207.148.229.131 2026-03-16 01:59:24,917 - DEBUG - PING 207.148.229.131 (207.148.229.131): 56 data bytes 64 bytes from 207.148.229.131: seq=0 ttl=63 time=3.333 ms 64 bytes from 207.148.229.131: seq=1 ttl=63 time=0.757 ms 64 bytes from 207.148.229.131: seq=2 ttl=63 time=0.749 ms --- 207.148.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.613/3.333 ms 2026-03-16 01:59:24,917 - INFO - Ping to IP 207.148.229.131 from VM ctest-TestBasicPolicy-95717979-63730657 passed 2026-03-16 01:59:25,094 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb6ea34e-486f-47d5-9770-8ca24363feac", "href": "http://10.0.0.242:8082/network-policy/cb6ea34e-486f-47d5-9770-8ca24363feac"}} 2026-03-16 01:59:25,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 01:59:25,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.148.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-16 01:59:25,094 - DEBUG - ping -s 56 -c 3 -W 1 207.148.229.131 2026-03-16 01:59:28,319 - DEBUG - PING 207.148.229.131 (207.148.229.131): 56 data bytes --- 207.148.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-16 01:59:28,320 - WARNING - Ping to IP 207.148.229.131 from VM ctest-TestBasicPolicy-95717979-63730657 failed 2026-03-16 01:59:28,320 - INFO - Deleting VM ctest-TestBasicPolicy-95717979-74429544 2026-03-16 01:59:28,388 - INFO - Deleting VM ctest-TestBasicPolicy-95717979-63730657 2026-03-16 01:59:28,763 - INFO - Deleted policy ctest-policy-allow-all-43167458 2026-03-16 01:59:28,763 - INFO - Deleting VN ctest-vn-40314136 2026-03-16 01:59:28,801 - DEBUG - VN d6ed4268-21cc-48a7-8c65-c55a6f0437ab still in use: Unable to complete operation on network d6ed4268-21cc-48a7-8c65-c55a6f0437ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3da4b0e-d168-4852-b5cf-45ea3dd19659'] 2026-03-16 01:59:28,801 - WARNING - Deleting VN ctest-vn-40314136 failed..Will retry 2026-03-16 01:59:30,898 - DEBUG - Response for deleting network () 2026-03-16 01:59:30,898 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46 2026-03-16 01:59:30,904 - DEBUG - Response Code: 404 2026-03-16 01:59:30,904 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:30,908 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:30,958 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:31,026 - INFO - Validated that VN ctest-vn-40314136 is not found in API Server 2026-03-16 01:59:31,034 - DEBUG - VN ctest-vn-40314136 is not present in Agent 10.0.0.242 2026-03-16 01:59:31,034 - INFO - Validated that VN ctest-vn-40314136 is not in any agent 2026-03-16 01:59:31,046 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40314136 info 2026-03-16 01:59:31,046 - INFO - Deleting VN ctest-vn-28163193 2026-03-16 01:59:31,134 - DEBUG - Response for deleting network () 2026-03-16 01:59:31,134 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f 2026-03-16 01:59:31,139 - DEBUG - Response Code: 404 2026-03-16 01:59:31,140 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-16 01:59:31,144 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3 2026-03-16 01:59:31,199 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15 2026-03-16 01:59:31,266 - INFO - Validated that VN ctest-vn-28163193 is not found in API Server 2026-03-16 01:59:31,276 - DEBUG - VN ctest-vn-28163193 is not present in Agent 10.0.0.242 2026-03-16 01:59:31,276 - INFO - Validated that VN ctest-vn-28163193 is not in any agent 2026-03-16 01:59:31,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28163193 info 2026-03-16 01:59:31,542 - DEBUG - No XMPP flaps were noticed during the test
2026-03-16 01:59:31,542 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-16 01:59:31,542 - INFO - -------------------------------------------------------------------------------- 2026-03-16 01:59:32,214 - INFO - Deleted project: ctest-TestBasicPolicy-95717979, ID : c09ba8de-ee78-41bc-a744-a031bf29ae15