2026-01-19 11:58:08,367 - INFO - Domain Default found not creating 2026-01-19 11:58:08,538 - INFO - Project ctest-TestBasicPolicy-88955835 not found, creating it 2026-01-19 11:58:09,025 - INFO - Created Project:ctest-TestBasicPolicy-88955835, ID : 35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:10,634 - INFO - ================================================================================ 2026-01-19 11:58:10,635 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-19 11:58:10,635 - 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-19 11:58:10,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2026-01-19 11:58:10,890 - INFO - Initial checks done. Running the testcase now 2026-01-19 11:58:10,890 - INFO - 2026-01-19 11:58:11,533 - DEBUG - Response for create_network : {'network': {'id': '9683dec0-5628-4eca-873e-5143d3384de1', 'name': 'ctest-vn-25367055', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-25367055'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:58:11,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '0851ef6e-a431-470e-8af6-5f5978e6f3fb', 'name': '', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'network_id': '9683dec0-5628-4eca-873e-5143d3384de1', 'ip_version': 4, 'cidr': '58.235.176.128/26', 'allocation_pools': [{'start': '58.235.176.130', 'end': '58.235.176.190'}], 'gateway_ip': '58.235.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.235.176.130', 'tags': [], 'project_id': '359549753297453abd3a1f69596c3fdd'}} 2026-01-19 11:58:11,774 - INFO - Created VN ctest-vn-25367055 2026-01-19 11:58:11,831 - DEBUG - VN ctest-vn-25367055 UUID is 9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:12,139 - DEBUG - Response for create_network : {'network': {'id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'name': 'ctest-vn-91156450', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-91156450'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:58:12,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f46b6e77-a536-4932-9c38-aba24385ca4a', 'name': '', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'network_id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'ip_version': 4, 'cidr': '39.219.46.64/26', 'allocation_pools': [{'start': '39.219.46.66', 'end': '39.219.46.126'}], 'gateway_ip': '39.219.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.219.46.66', 'tags': [], 'project_id': '359549753297453abd3a1f69596c3fdd'}} 2026-01-19 11:58:12,364 - INFO - Created VN ctest-vn-91156450 2026-01-19 11:58:12,417 - DEBUG - VN ctest-vn-91156450 UUID is cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:12,546 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055, 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-88955835:ctest-vn-91156450, 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-19 11:58:12,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9683dec0-5628-4eca-873e-5143d3384de1', 'name': 'ctest-vn-25367055', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0851ef6e-a431-470e-8af6-5f5978e6f3fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-25367055'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']], 'subnet_ipam': [{'subnet_cidr': '58.235.176.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:58:13,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'name': 'ctest-vn-91156450', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f46b6e77-a536-4932-9c38-aba24385ca4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-91156450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']], 'subnet_ipam': [{'subnet_cidr': '39.219.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:58:13,289 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:13,607 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:13,643 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:13,656 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:13,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,749 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,759 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:13,766 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:13,773 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b8bb462-2f86-43eb-aca4-4f2edc8a7667 2026-01-19 11:58:13,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 11:58:13,780 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,788 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:13,803 - INFO - Verified VN network id 11 for VN 9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,803 - INFO - Verifications in API Server for VN ctest-vn-25367055 passed 2026-01-19 11:58:13,804 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,813 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:13,820 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:13,826 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b8bb462-2f86-43eb-aca4-4f2edc8a7667 2026-01-19 11:58:13,838 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88955835', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10845757245298855626', 'uuid-lslong': '9745315995424673249'}, 'enable': 'true', 'created': '2026-01-19T11:58:11', 'last-modified': '2026-01-19T11:58:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014709'} 2026-01-19 11:58:13,843 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 11:58:13,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25367055 passed 2026-01-19 11:58:13,844 - DEBUG - ====Verifying policy data for ctest-vn-25367055 in API_Server ====== 2026-01-19 11:58:13,844 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:13,849 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:13,861 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:13,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1 2026-01-19 11:58:13,943 - DEBUG - ==>Verifying data for policy with id: 728f74db-2dc8-4a1c-975d-1e2fc232f929, fqn: ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982'] 2026-01-19 11:58:13,944 - INFO - VN ctest-vn-25367055 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 11:58:13,944 - DEBUG - Verifying the vn in opserver 2026-01-19 11:58:13,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055 virtual network link through opserver 10.0.0.141 2026-01-19 11:58:13,944 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 11:58:14,251 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 11:58:14,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055?flat'} 2026-01-19 11:58:14,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055 is found in opserver 2026-01-19 11:58:14,331 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 11:58:14,337 - DEBUG - VRF ids for VN ctest-vn-25367055: {} 2026-01-19 11:58:14,337 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:14,343 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:14,354 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:14,423 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,439 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,451 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:14,460 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:14,469 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9d934b40-3885-4f1f-9db3-4b76227d6857 2026-01-19 11:58:14,477 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 11:58:14,477 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,490 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:14,508 - INFO - Verified VN network id 12 for VN cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,508 - INFO - Verifications in API Server for VN ctest-vn-91156450 passed 2026-01-19 11:58:14,508 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,522 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:14,531 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:14,541 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9d934b40-3885-4f1f-9db3-4b76227d6857 2026-01-19 11:58:14,558 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88955835', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14949361849973621622', 'uuid-lslong': '11612254810665180734'}, 'enable': 'true', 'created': '2026-01-19T11:58:12', 'last-modified': '2026-01-19T11:58:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484509'} 2026-01-19 11:58:14,566 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 11:58:14,566 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91156450 passed 2026-01-19 11:58:14,566 - DEBUG - ====Verifying policy data for ctest-vn-91156450 in API_Server ====== 2026-01-19 11:58:14,567 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:14,574 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:14,588 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:14,655 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e 2026-01-19 11:58:14,667 - DEBUG - ==>Verifying data for policy with id: 728f74db-2dc8-4a1c-975d-1e2fc232f929, fqn: ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982'] 2026-01-19 11:58:14,667 - INFO - VN ctest-vn-91156450 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 11:58:14,667 - DEBUG - Verifying the vn in opserver 2026-01-19 11:58:14,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450 virtual network link through opserver 10.0.0.141 2026-01-19 11:58:14,667 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 11:58:14,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450?flat'} 2026-01-19 11:58:14,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450 is found in opserver 2026-01-19 11:58:14,687 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 11:58:14,692 - DEBUG - VRF ids for VN ctest-vn-91156450: {} 2026-01-19 11:58:14,750 - DEBUG - Services list from nova: [, , ] 2026-01-19 11:58:15,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5044-1) 2026-01-19 11:58:17,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5044-1) 2026-01-19 11:58:17,061 - INFO - Waiting for VM ctest-TestBasicPolicy-88955835-67679823 to be up.. 2026-01-19 11:58:17,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 11:58:22,259 - DEBUG - VM is in ACTIVE state now 2026-01-19 11:58:22,259 - INFO - VM name : ctest-TestBasicPolicy-88955835-67679823 2026-01-19 11:58:22,347 - DEBUG - VM ctest-TestBasicPolicy-88955835-67679823 ID is 7c6d44aa-c7b4-462e-9b39-f4020e9731ea 2026-01-19 11:58:22,367 - DEBUG - VM ctest-TestBasicPolicy-88955835-67679823 launched on Node cn-jenkins-deploy-platform-ansible-os-5044-1 2026-01-19 11:58:22,441 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7c6d44aa-c7b4-462e-9b39-f4020e9731ea 2026-01-19 11:58:22,450 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cbe02c24-8ead-461a-a547-66414822d2fd 2026-01-19 11:58:25,695 - 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 1002ms') 2026-01-19 11:58:25,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88955835-67679823 failed! 2026-01-19 11:58:25,753 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055 is 58.235.176.129 and allocation pool is NOT set 2026-01-19 11:58:27,814 - 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=6.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/3.333/6.246/2.912 ms') 2026-01-19 11:58:27,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88955835-67679823 passed 2026-01-19 11:58:27,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:58:27,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88955835-67679823, IP 58.235.176.131, Port 22 2026-01-19 11:58:28,117 - DEBUG - VM ctest-TestBasicPolicy-88955835-67679823 is ready for SSH connections 2026-01-19 11:58:28,117 - INFO - Waiting for VM ctest-TestBasicPolicy-88955835-80830932 to be up.. 2026-01-19 11:58:28,199 - DEBUG - VM is in ACTIVE state now 2026-01-19 11:58:28,199 - INFO - VM name : ctest-TestBasicPolicy-88955835-80830932 2026-01-19 11:58:28,342 - DEBUG - VM ctest-TestBasicPolicy-88955835-80830932 ID is b3cc47b2-582a-42b6-9af8-8df8772c610e 2026-01-19 11:58:28,342 - DEBUG - VM ctest-TestBasicPolicy-88955835-80830932 launched on Node cn-jenkins-deploy-platform-ansible-os-5044-1 2026-01-19 11:58:28,451 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b3cc47b2-582a-42b6-9af8-8df8772c610e 2026-01-19 11:58:28,471 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e84cf44b-342c-4c5a-b6fd-30016529540f 2026-01-19 11:58:29,775 - 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=4.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/2.503/4.031/1.528 ms') 2026-01-19 11:58:29,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88955835-80830932 passed 2026-01-19 11:58:29,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:58:29,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88955835-80830932, IP 39.219.46.67, Port 22 2026-01-19 11:58:30,095 - DEBUG - VM ctest-TestBasicPolicy-88955835-80830932 is ready for SSH connections 2026-01-19 11:58:30,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:58:30,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.219.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-19 11:58:30,096 - DEBUG - ping -s 56 -c 3 -W 1 39.219.46.67 2026-01-19 11:58:34,243 - DEBUG - PING 39.219.46.67 (39.219.46.67): 56 data bytes 64 bytes from 39.219.46.67: seq=0 ttl=63 time=6.253 ms 64 bytes from 39.219.46.67: seq=1 ttl=63 time=0.951 ms 64 bytes from 39.219.46.67: seq=2 ttl=63 time=0.915 ms --- 39.219.46.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/2.706/6.253 ms 2026-01-19 11:58:34,243 - INFO - Ping to IP 39.219.46.67 from VM ctest-TestBasicPolicy-88955835-67679823 passed 2026-01-19 11:58:34,421 - DEBUG - Policy Update Response {"network-policy": {"uuid": "728f74db-2dc8-4a1c-975d-1e2fc232f929", "href": "http://10.0.0.141:8082/network-policy/728f74db-2dc8-4a1c-975d-1e2fc232f929"}} 2026-01-19 11:58:34,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:58:34,421 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.219.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-19 11:58:34,421 - DEBUG - ping -s 56 -c 3 -W 1 39.219.46.67 2026-01-19 11:58:37,655 - DEBUG - PING 39.219.46.67 (39.219.46.67): 56 data bytes --- 39.219.46.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-19 11:58:37,655 - WARNING - Ping to IP 39.219.46.67 from VM ctest-TestBasicPolicy-88955835-67679823 failed 2026-01-19 11:58:37,655 - INFO - Deleting VM ctest-TestBasicPolicy-88955835-80830932 2026-01-19 11:58:37,741 - INFO - Deleting VM ctest-TestBasicPolicy-88955835-67679823 2026-01-19 11:58:38,145 - INFO - Deleted policy ctest-policy-allow-all-46129982 2026-01-19 11:58:38,146 - INFO - Deleting VN ctest-vn-91156450 2026-01-19 11:58:38,189 - DEBUG - VN cf76cd65-be74-4376-a127-0439d704de3e still in use: Unable to complete operation on network cf76cd65-be74-4376-a127-0439d704de3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71675b2c-b41d-4030-b73c-b8b7c9a52dbb'] 2026-01-19 11:58:38,190 - WARNING - Deleting VN ctest-vn-91156450 failed..Will retry 2026-01-19 11:58:40,303 - DEBUG - Response for deleting network () 2026-01-19 11:58:40,304 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9 2026-01-19 11:58:40,313 - DEBUG - Response Code: 404 2026-01-19 11:58:40,313 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:40,318 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:40,375 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:40,450 - INFO - Validated that VN ctest-vn-91156450 is not found in API Server 2026-01-19 11:58:40,461 - DEBUG - VN ctest-vn-91156450 is not present in Agent 10.0.0.141 2026-01-19 11:58:40,461 - INFO - Validated that VN ctest-vn-91156450 is not in any agent 2026-01-19 11:58:40,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91156450 info 2026-01-19 11:58:40,478 - INFO - Deleting VN ctest-vn-25367055 2026-01-19 11:58:40,589 - DEBUG - Response for deleting network () 2026-01-19 11:58:40,589 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b 2026-01-19 11:58:40,596 - DEBUG - Response Code: 404 2026-01-19 11:58:40,596 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 11:58:40,603 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1 2026-01-19 11:58:40,658 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd 2026-01-19 11:58:40,733 - INFO - Validated that VN ctest-vn-25367055 is not found in API Server 2026-01-19 11:58:40,744 - DEBUG - VN ctest-vn-25367055 is not present in Agent 10.0.0.141 2026-01-19 11:58:40,744 - INFO - Validated that VN ctest-vn-25367055 is not in any agent 2026-01-19 11:58:40,761 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25367055 info 2026-01-19 11:58:41,025 - DEBUG - No XMPP flaps were noticed during the test 2026-01-19 11:58:41,025 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-01-19 11:58:41,025 - INFO - -------------------------------------------------------------------------------- 2026-01-19 11:58:41,717 - INFO - Deleted project: ctest-TestBasicPolicy-88955835, ID : 35954975-3297-453a-bd3a-1f69596c3fdd