2026-01-08 02:00:13,130 - INFO - Domain Default found not creating 2026-01-08 02:00:13,306 - INFO - Project ctest-TestBasicPolicy-02008738 not found, creating it 2026-01-08 02:00:13,744 - INFO - Created Project:ctest-TestBasicPolicy-02008738, ID : 5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:15,158 - INFO - ================================================================================ 2026-01-08 02:00:15,158 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-08 02:00:15,158 - 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-01-08 02:00:15,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-01-08 02:00:15,421 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:00:15,421 - INFO - 2026-01-08 02:00:15,977 - DEBUG - Response for create_network : {'network': {'id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'name': 'ctest-vn-01643128', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-01643128'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:00:16,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '56a2e27b-acdf-4804-b3ee-af90dece864e', 'name': '', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'network_id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'ip_version': 4, 'cidr': '19.139.247.128/26', 'allocation_pools': [{'start': '19.139.247.130', 'end': '19.139.247.190'}], 'gateway_ip': '19.139.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.139.247.130', 'tags': [], 'project_id': '5191b7950c204c258be31247e2b4cd9e'}} 2026-01-08 02:00:16,207 - INFO - Created VN ctest-vn-01643128 2026-01-08 02:00:16,259 - DEBUG - VN ctest-vn-01643128 UUID is 602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:16,575 - DEBUG - Response for create_network : {'network': {'id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'name': 'ctest-vn-39931401', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-39931401'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:00:16,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '89fd470a-e41e-40a0-9657-bfce3cd5be96', 'name': '', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'network_id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'ip_version': 4, 'cidr': '160.219.202.192/26', 'allocation_pools': [{'start': '160.219.202.194', 'end': '160.219.202.254'}], 'gateway_ip': '160.219.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.219.202.194', 'tags': [], 'project_id': '5191b7950c204c258be31247e2b4cd9e'}} 2026-01-08 02:00:16,777 - INFO - Created VN ctest-vn-39931401 2026-01-08 02:00:16,827 - DEBUG - VN ctest-vn-39931401 UUID is 81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:16,934 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128, 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-02008738:ctest-vn-39931401, 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-01-08 02:00:17,229 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'name': 'ctest-vn-01643128', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56a2e27b-acdf-4804-b3ee-af90dece864e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-01643128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']], 'subnet_ipam': [{'subnet_cidr': '19.139.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:00:17,505 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'name': 'ctest-vn-39931401', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89fd470a-e41e-40a0-9657-bfce3cd5be96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-39931401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']], 'subnet_ipam': [{'subnet_cidr': '160.219.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:00:17,651 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:17,949 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:17,982 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:17,993 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:18,066 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,075 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,083 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:18,089 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:18,095 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e471f8c8-9db9-42ba-a3cb-370ce83b3c0b 2026-01-08 02:00:18,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 02:00:18,100 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,109 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:18,122 - INFO - Verified VN network id 11 for VN 602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,122 - INFO - Verifications in API Server for VN ctest-vn-01643128 passed 2026-01-08 02:00:18,122 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,129 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:18,134 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:18,139 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e471f8c8-9db9-42ba-a3cb-370ce83b3c0b 2026-01-08 02:00:18,149 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02008738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6930041401286411573', 'uuid-lslong': '10867892526513411670'}, 'enable': 'true', 'created': '2026-01-08T02:00:15', 'last-modified': '2026-01-08T02:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942605'} 2026-01-08 02:00:18,154 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 02:00:18,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01643128 passed 2026-01-08 02:00:18,154 - DEBUG - ====Verifying policy data for ctest-vn-01643128 in API_Server ====== 2026-01-08 02:00:18,154 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:18,158 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:18,168 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:18,237 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656 2026-01-08 02:00:18,245 - DEBUG - ==>Verifying data for policy with id: 2f5873ee-883a-423e-bc5d-95955e7973cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989'] 2026-01-08 02:00:18,245 - INFO - VN ctest-vn-01643128 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 02:00:18,245 - DEBUG - Verifying the vn in opserver 2026-01-08 02:00:18,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128 virtual network link through opserver 10.0.0.141 2026-01-08 02:00:18,246 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-08 02:00:18,537 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-08 02:00:18,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128?flat'} 2026-01-08 02:00:18,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128 is found in opserver 2026-01-08 02:00:18,602 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 02:00:18,606 - DEBUG - VRF ids for VN ctest-vn-01643128: {} 2026-01-08 02:00:18,606 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:18,610 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:18,620 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:18,691 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,703 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,712 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:18,718 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:18,723 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7b1608fc-dd5c-4321-b693-9b4a74259c14 2026-01-08 02:00:18,728 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 02:00:18,728 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,736 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:18,748 - INFO - Verified VN network id 12 for VN 81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,748 - INFO - Verifications in API Server for VN ctest-vn-39931401 passed 2026-01-08 02:00:18,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:18,762 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:18,767 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7b1608fc-dd5c-4321-b693-9b4a74259c14 2026-01-08 02:00:18,792 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02008738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9343908609322076222', 'uuid-lslong': '13029519715583469316'}, 'enable': 'true', 'created': '2026-01-08T02:00:16', 'last-modified': '2026-01-08T02:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352890'} 2026-01-08 02:00:18,798 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 02:00:18,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39931401 passed 2026-01-08 02:00:18,798 - DEBUG - ====Verifying policy data for ctest-vn-39931401 in API_Server ====== 2026-01-08 02:00:18,799 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:18,804 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:18,813 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:18,880 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704 2026-01-08 02:00:18,887 - DEBUG - ==>Verifying data for policy with id: 2f5873ee-883a-423e-bc5d-95955e7973cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989'] 2026-01-08 02:00:18,887 - INFO - VN ctest-vn-39931401 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 02:00:18,887 - DEBUG - Verifying the vn in opserver 2026-01-08 02:00:18,888 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401 virtual network link through opserver 10.0.0.141 2026-01-08 02:00:18,888 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-08 02:00:18,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401?flat'} 2026-01-08 02:00:18,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401 is found in opserver 2026-01-08 02:00:18,905 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 02:00:18,909 - DEBUG - VRF ids for VN ctest-vn-39931401: {} 2026-01-08 02:00:18,966 - DEBUG - Services list from nova: [, , ] 2026-01-08 02:00:19,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 02:00:21,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 02:00:21,093 - INFO - Waiting for VM ctest-TestBasicPolicy-02008738-45651458 to be up.. 2026-01-08 02:00:21,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 02:00:26,248 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:00:26,248 - INFO - VM name : ctest-TestBasicPolicy-02008738-45651458 2026-01-08 02:00:26,313 - DEBUG - VM ctest-TestBasicPolicy-02008738-45651458 ID is f06908bc-32df-40e4-be44-bfda799f6a40 2026-01-08 02:00:26,331 - DEBUG - VM ctest-TestBasicPolicy-02008738-45651458 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 02:00:26,397 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f06908bc-32df-40e4-be44-bfda799f6a40 2026-01-08 02:00:26,406 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0b2d7ef4-0e6b-4a6f-bec6-aade02be4c1e 2026-01-08 02:00:29,657 - 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 1023ms') 2026-01-08 02:00:29,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02008738-45651458 failed! 2026-01-08 02:00:29,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128 is 19.139.247.129 and allocation pool is NOT set 2026-01-08 02:00:31,775 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.667 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 = 0.667/1.768/2.869/1.101 ms') 2026-01-08 02:00:31,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02008738-45651458 passed 2026-01-08 02:00:31,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:00:31,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02008738-45651458, IP 19.139.247.131, Port 22 2026-01-08 02:00:32,086 - DEBUG - VM ctest-TestBasicPolicy-02008738-45651458 is ready for SSH connections 2026-01-08 02:00:32,087 - INFO - Waiting for VM ctest-TestBasicPolicy-02008738-89268371 to be up.. 2026-01-08 02:00:32,157 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:00:32,157 - INFO - VM name : ctest-TestBasicPolicy-02008738-89268371 2026-01-08 02:00:32,226 - DEBUG - VM ctest-TestBasicPolicy-02008738-89268371 ID is a4e7e69b-4e2a-4915-8e28-826fc611cce2 2026-01-08 02:00:32,226 - DEBUG - VM ctest-TestBasicPolicy-02008738-89268371 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 02:00:32,294 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a4e7e69b-4e2a-4915-8e28-826fc611cce2 2026-01-08 02:00:32,302 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2c83b005-e1ed-47e8-a3bc-eb6a653e204b 2026-01-08 02:00:33,539 - 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=2.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.527/2.613/1.085 ms') 2026-01-08 02:00:33,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02008738-89268371 passed 2026-01-08 02:00:33,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:00:33,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02008738-89268371, IP 160.219.202.195, Port 22 2026-01-08 02:00:33,861 - DEBUG - VM ctest-TestBasicPolicy-02008738-89268371 is ready for SSH connections 2026-01-08 02:00:33,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:00:33,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.219.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 02:00:33,861 - DEBUG - ping -s 56 -c 3 -W 1 160.219.202.195 2026-01-08 02:00:37,538 - DEBUG - PING 160.219.202.195 (160.219.202.195): 56 data bytes 64 bytes from 160.219.202.195: seq=0 ttl=63 time=3.963 ms 64 bytes from 160.219.202.195: seq=1 ttl=63 time=0.819 ms 64 bytes from 160.219.202.195: seq=2 ttl=63 time=0.860 ms --- 160.219.202.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.880/3.963 ms 2026-01-08 02:00:37,538 - INFO - Ping to IP 160.219.202.195 from VM ctest-TestBasicPolicy-02008738-45651458 passed 2026-01-08 02:00:37,715 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2f5873ee-883a-423e-bc5d-95955e7973cb", "href": "http://10.0.0.141:8082/network-policy/2f5873ee-883a-423e-bc5d-95955e7973cb"}} 2026-01-08 02:00:37,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:00:37,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.219.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 02:00:37,715 - DEBUG - ping -s 56 -c 3 -W 1 160.219.202.195 2026-01-08 02:00:40,927 - DEBUG - PING 160.219.202.195 (160.219.202.195): 56 data bytes --- 160.219.202.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-08 02:00:40,927 - WARNING - Ping to IP 160.219.202.195 from VM ctest-TestBasicPolicy-02008738-45651458 failed 2026-01-08 02:00:40,928 - INFO - Deleting VM ctest-TestBasicPolicy-02008738-89268371 2026-01-08 02:00:40,999 - INFO - Deleting VM ctest-TestBasicPolicy-02008738-45651458 2026-01-08 02:00:41,349 - INFO - Deleted policy ctest-policy-allow-all-93347989 2026-01-08 02:00:41,349 - INFO - Deleting VN ctest-vn-39931401 2026-01-08 02:00:41,380 - DEBUG - VN 81ac3b5f-c05b-483e-b4d2-2725e14d2704 still in use: Unable to complete operation on network 81ac3b5f-c05b-483e-b4d2-2725e14d2704. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18eb4066-9890-4bc9-8456-365cc2d14164'] 2026-01-08 02:00:41,380 - WARNING - Deleting VN ctest-vn-39931401 failed..Will retry 2026-01-08 02:00:43,472 - DEBUG - Response for deleting network () 2026-01-08 02:00:43,473 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3 2026-01-08 02:00:43,477 - DEBUG - Response Code: 404 2026-01-08 02:00:43,477 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:43,482 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:43,531 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:43,599 - INFO - Validated that VN ctest-vn-39931401 is not found in API Server 2026-01-08 02:00:43,607 - DEBUG - VN ctest-vn-39931401 is not present in Agent 10.0.0.141 2026-01-08 02:00:43,607 - INFO - Validated that VN ctest-vn-39931401 is not in any agent 2026-01-08 02:00:43,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39931401 info 2026-01-08 02:00:43,619 - INFO - Deleting VN ctest-vn-01643128 2026-01-08 02:00:43,709 - DEBUG - Response for deleting network () 2026-01-08 02:00:43,709 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0 2026-01-08 02:00:43,714 - DEBUG - Response Code: 404 2026-01-08 02:00:43,714 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-08 02:00:43,719 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62 2026-01-08 02:00:43,771 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e 2026-01-08 02:00:43,838 - INFO - Validated that VN ctest-vn-01643128 is not found in API Server 2026-01-08 02:00:43,846 - DEBUG - VN ctest-vn-01643128 is not present in Agent 10.0.0.141 2026-01-08 02:00:43,846 - INFO - Validated that VN ctest-vn-01643128 is not in any agent 2026-01-08 02:00:43,858 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01643128 info 2026-01-08 02:00:44,116 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 02:00:44,116 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-08 02:00:44,116 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:00:44,806 - INFO - Deleted project: ctest-TestBasicPolicy-02008738, ID : 5191b795-0c20-4c25-8be3-1247e2b4cd9e