2025-10-22 08:50:09,984 - INFO - Domain Default found not creating 2025-10-22 08:50:10,137 - INFO - Project ctest-TestBasicPolicy-29651319 not found, creating it 2025-10-22 08:50:10,592 - INFO - Created Project:ctest-TestBasicPolicy-29651319, ID : b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:12,096 - INFO - ================================================================================ 2025-10-22 08:50:12,096 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 08:50:12,096 - 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-10-22 08:50:12,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-22 08:50:12,354 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:50:12,354 - INFO - 2025-10-22 08:50:12,907 - DEBUG - Response for create_network : {'network': {'id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'name': 'ctest-vn-02488672', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-02488672'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:50:13,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '24a50108-b764-4c8f-bbed-fe036461c1fd', 'name': '', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'network_id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'ip_version': 4, 'cidr': '54.36.252.64/26', 'allocation_pools': [{'start': '54.36.252.66', 'end': '54.36.252.126'}], 'gateway_ip': '54.36.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.36.252.66', 'tags': [], 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6'}} 2025-10-22 08:50:13,104 - INFO - Created VN ctest-vn-02488672 2025-10-22 08:50:13,158 - DEBUG - VN ctest-vn-02488672 UUID is c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:13,455 - DEBUG - Response for create_network : {'network': {'id': '3e0277d2-291c-4876-bebe-858967c13149', 'name': 'ctest-vn-98747352', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-98747352'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:50:13,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dcdf2e9-a16e-4b71-8d15-e2795610d53a', 'name': '', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'network_id': '3e0277d2-291c-4876-bebe-858967c13149', 'ip_version': 4, 'cidr': '57.100.195.192/26', 'allocation_pools': [{'start': '57.100.195.194', 'end': '57.100.195.254'}], 'gateway_ip': '57.100.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.100.195.194', 'tags': [], 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6'}} 2025-10-22 08:50:13,647 - INFO - Created VN ctest-vn-98747352 2025-10-22 08:50:13,698 - DEBUG - VN ctest-vn-98747352 UUID is 3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:13,810 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672, 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-29651319:ctest-vn-98747352, 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-10-22 08:50:14,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'name': 'ctest-vn-02488672', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24a50108-b764-4c8f-bbed-fe036461c1fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-02488672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']], 'subnet_ipam': [{'subnet_cidr': '54.36.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:50:14,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e0277d2-291c-4876-bebe-858967c13149', 'name': 'ctest-vn-98747352', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dcdf2e9-a16e-4b71-8d15-e2795610d53a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-98747352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']], 'subnet_ipam': [{'subnet_cidr': '57.100.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:50:14,522 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:14,818 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:14,848 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:14,861 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:14,935 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:14,947 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:14,957 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:14,964 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:14,972 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/532d30dd-7686-4233-9eca-e21e4d3c9fcc 2025-10-22 08:50:14,977 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 08:50:14,977 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:14,986 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:14,999 - INFO - Verified VN network id 11 for VN c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:14,999 - INFO - Verifications in API Server for VN ctest-vn-02488672 passed 2025-10-22 08:50:14,999 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:15,007 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:15,014 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:15,020 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/532d30dd-7686-4233-9eca-e21e4d3c9fcc 2025-10-22 08:50:15,035 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29651319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14213846730443540714', 'uuid-lslong': '13531949692056867489'}, 'enable': 'true', 'created': '2025-10-22T08:50:12', 'last-modified': '2025-10-22T08:50:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955552'} 2025-10-22 08:50:15,042 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 08:50:15,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02488672 passed 2025-10-22 08:50:15,042 - DEBUG - ====Verifying policy data for ctest-vn-02488672 in API_Server ====== 2025-10-22 08:50:15,042 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:15,048 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:15,058 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:15,127 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1 2025-10-22 08:50:15,136 - DEBUG - ==>Verifying data for policy with id: cf60bd0e-eff2-45af-9d65-f7d02fe185b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535'] 2025-10-22 08:50:15,136 - INFO - VN ctest-vn-02488672 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 08:50:15,136 - DEBUG - Verifying the vn in opserver 2025-10-22 08:50:15,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672 virtual network link through opserver 10.0.0.33 2025-10-22 08:50:15,136 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-22 08:50:15,427 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-22 08:50:15,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672?flat'} 2025-10-22 08:50:15,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672 is found in opserver 2025-10-22 08:50:15,518 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 08:50:15,523 - DEBUG - VRF ids for VN ctest-vn-02488672: {} 2025-10-22 08:50:15,523 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:15,535 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:15,546 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:15,618 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,631 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,642 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:15,652 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:15,658 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/16752021-097d-469e-b9e1-7265bca31ccd 2025-10-22 08:50:15,664 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 08:50:15,664 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,673 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:15,687 - INFO - Verified VN network id 12 for VN 3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,687 - INFO - Verifications in API Server for VN ctest-vn-98747352 passed 2025-10-22 08:50:15,687 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,696 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:15,703 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:15,710 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/16752021-097d-469e-b9e1-7265bca31ccd 2025-10-22 08:50:15,724 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29651319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4468265524821510262', 'uuid-lslong': '13744569937979060553'}, 'enable': 'true', 'created': '2025-10-22T08:50:13', 'last-modified': '2025-10-22T08:50:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415544'} 2025-10-22 08:50:15,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 08:50:15,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98747352 passed 2025-10-22 08:50:15,730 - DEBUG - ====Verifying policy data for ctest-vn-98747352 in API_Server ====== 2025-10-22 08:50:15,730 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:15,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:15,750 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:15,824 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149 2025-10-22 08:50:15,835 - DEBUG - ==>Verifying data for policy with id: cf60bd0e-eff2-45af-9d65-f7d02fe185b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535'] 2025-10-22 08:50:15,835 - INFO - VN ctest-vn-98747352 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 08:50:15,835 - DEBUG - Verifying the vn in opserver 2025-10-22 08:50:15,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352 virtual network link through opserver 10.0.0.33 2025-10-22 08:50:15,835 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-22 08:50:15,846 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352?flat'} 2025-10-22 08:50:15,846 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352 is found in opserver 2025-10-22 08:50:15,854 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 08:50:15,858 - DEBUG - VRF ids for VN ctest-vn-98747352: {} 2025-10-22 08:50:15,915 - DEBUG - Services list from nova: [, , ] 2025-10-22 08:50:16,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4417-1) 2025-10-22 08:50:18,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4417-1) 2025-10-22 08:50:18,104 - INFO - Waiting for VM ctest-TestBasicPolicy-29651319-35801319 to be up.. 2025-10-22 08:50:18,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 08:50:23,276 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:50:23,276 - INFO - VM name : ctest-TestBasicPolicy-29651319-35801319 2025-10-22 08:50:23,360 - DEBUG - VM ctest-TestBasicPolicy-29651319-35801319 ID is 27252e92-0bb9-4ae9-968e-af9a8eb9d393 2025-10-22 08:50:23,384 - DEBUG - VM ctest-TestBasicPolicy-29651319-35801319 launched on Node cn-jenkins-deploy-platform-ansible-os-4417-1 2025-10-22 08:50:23,471 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/27252e92-0bb9-4ae9-968e-af9a8eb9d393 2025-10-22 08:50:23,480 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6bb984a-4c85-4c74-a10f-577461dc7c3f 2025-10-22 08:50:26,702 - 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 1031ms') 2025-10-22 08:50:26,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29651319-35801319 failed! 2025-10-22 08:50:26,763 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672 is 54.36.252.65 and allocation pool is NOT set 2025-10-22 08:50:28,838 - 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=7.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/3.755/7.064/3.309 ms') 2025-10-22 08:50:28,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29651319-35801319 passed 2025-10-22 08:50:28,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:50:28,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29651319-35801319, IP 54.36.252.67, Port 22 2025-10-22 08:50:29,157 - DEBUG - VM ctest-TestBasicPolicy-29651319-35801319 is ready for SSH connections 2025-10-22 08:50:29,157 - INFO - Waiting for VM ctest-TestBasicPolicy-29651319-02311111 to be up.. 2025-10-22 08:50:29,239 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:50:29,239 - INFO - VM name : ctest-TestBasicPolicy-29651319-02311111 2025-10-22 08:50:29,313 - DEBUG - VM ctest-TestBasicPolicy-29651319-02311111 ID is 81630036-7212-49db-9ae5-d4e51043a87d 2025-10-22 08:50:29,313 - DEBUG - VM ctest-TestBasicPolicy-29651319-02311111 launched on Node cn-jenkins-deploy-platform-ansible-os-4417-1 2025-10-22 08:50:29,389 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/81630036-7212-49db-9ae5-d4e51043a87d 2025-10-22 08:50:29,398 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/31401735-0e08-4382-8a73-815792d22c69 2025-10-22 08:50:30,632 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.631/2.836/1.204 ms') 2025-10-22 08:50:30,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29651319-02311111 passed 2025-10-22 08:50:30,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:50:30,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29651319-02311111, IP 57.100.195.195, Port 22 2025-10-22 08:50:30,958 - DEBUG - VM ctest-TestBasicPolicy-29651319-02311111 is ready for SSH connections 2025-10-22 08:50:30,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:50:30,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.100.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-22 08:50:30,958 - DEBUG - ping -s 56 -c 3 -W 1 57.100.195.195 2025-10-22 08:50:35,033 - DEBUG - PING 57.100.195.195 (57.100.195.195): 56 data bytes 64 bytes from 57.100.195.195: seq=0 ttl=63 time=3.201 ms 64 bytes from 57.100.195.195: seq=1 ttl=63 time=1.057 ms 64 bytes from 57.100.195.195: seq=2 ttl=63 time=0.934 ms --- 57.100.195.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/1.730/3.201 ms 2025-10-22 08:50:35,033 - INFO - Ping to IP 57.100.195.195 from VM ctest-TestBasicPolicy-29651319-35801319 passed 2025-10-22 08:50:35,206 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cf60bd0e-eff2-45af-9d65-f7d02fe185b6", "href": "http://10.0.0.33:8082/network-policy/cf60bd0e-eff2-45af-9d65-f7d02fe185b6"}} 2025-10-22 08:50:35,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:50:35,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.100.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-22 08:50:35,207 - DEBUG - ping -s 56 -c 3 -W 1 57.100.195.195 2025-10-22 08:50:38,418 - DEBUG - PING 57.100.195.195 (57.100.195.195): 56 data bytes --- 57.100.195.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 08:50:38,418 - WARNING - Ping to IP 57.100.195.195 from VM ctest-TestBasicPolicy-29651319-35801319 failed 2025-10-22 08:50:38,419 - INFO - Deleting VM ctest-TestBasicPolicy-29651319-02311111 2025-10-22 08:50:38,495 - INFO - Deleting VM ctest-TestBasicPolicy-29651319-35801319 2025-10-22 08:50:38,872 - INFO - Deleted policy ctest-policy-allow-all-61951535 2025-10-22 08:50:38,872 - INFO - Deleting VN ctest-vn-98747352 2025-10-22 08:50:38,915 - DEBUG - VN 3e0277d2-291c-4876-bebe-858967c13149 still in use: Unable to complete operation on network 3e0277d2-291c-4876-bebe-858967c13149. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38eff354-99c4-49fe-9fae-55979cffe4e7'] 2025-10-22 08:50:38,915 - WARNING - Deleting VN ctest-vn-98747352 failed..Will retry 2025-10-22 08:50:41,019 - DEBUG - Response for deleting network () 2025-10-22 08:50:41,020 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b 2025-10-22 08:50:41,025 - DEBUG - Response Code: 404 2025-10-22 08:50:41,025 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:41,030 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:41,084 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:41,154 - INFO - Validated that VN ctest-vn-98747352 is not found in API Server 2025-10-22 08:50:41,163 - DEBUG - VN ctest-vn-98747352 is not present in Agent 10.0.0.33 2025-10-22 08:50:41,163 - INFO - Validated that VN ctest-vn-98747352 is not in any agent 2025-10-22 08:50:41,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98747352 info 2025-10-22 08:50:41,175 - INFO - Deleting VN ctest-vn-02488672 2025-10-22 08:50:41,267 - DEBUG - Response for deleting network () 2025-10-22 08:50:41,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92 2025-10-22 08:50:41,271 - DEBUG - Response Code: 404 2025-10-22 08:50:41,272 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-22 08:50:41,278 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e 2025-10-22 08:50:41,335 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 2025-10-22 08:50:41,404 - INFO - Validated that VN ctest-vn-02488672 is not found in API Server 2025-10-22 08:50:41,412 - DEBUG - VN ctest-vn-02488672 is not present in Agent 10.0.0.33 2025-10-22 08:50:41,412 - INFO - Validated that VN ctest-vn-02488672 is not in any agent 2025-10-22 08:50:41,425 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02488672 info 2025-10-22 08:50:41,679 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 08:50:41,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-22 08:50:41,679 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:50:42,372 - INFO - Deleted project: ctest-TestBasicPolicy-29651319, ID : b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6