2025-04-07 02:17:56,694 - INFO - Domain Default found not creating 2025-04-07 02:17:56,862 - INFO - Project ctest-TestBasicPolicy-13568217 not found, creating it 2025-04-07 02:17:57,368 - INFO - Created Project:ctest-TestBasicPolicy-13568217, ID : f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:17:58,844 - INFO - ================================================================================ 2025-04-07 02:17:58,844 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-07 02:17:58,845 - 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-04-07 02:17:59,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with 2025-04-07 02:17:59,103 - INFO - Initial checks done. Running the testcase now 2025-04-07 02:17:59,103 - INFO - 2025-04-07 02:17:59,667 - DEBUG - Response for create_network : {'network': {'id': '06a5d1b9-1c7d-4c2b-a873-e77d850f25f4', 'name': 'ctest-vn-46170930', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-vn-46170930'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:59,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9c55dbb-74d3-454e-a76d-24510b9c2b4b', 'name': '', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'network_id': '06a5d1b9-1c7d-4c2b-a873-e77d850f25f4', 'ip_version': 4, 'cidr': '16.83.91.64/26', 'allocation_pools': [{'start': '16.83.91.66', 'end': '16.83.91.126'}], 'gateway_ip': '16.83.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.83.91.66', 'tags': [], 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da'}} 2025-04-07 02:17:59,971 - INFO - Created VN ctest-vn-46170930 2025-04-07 02:18:00,030 - DEBUG - VN ctest-vn-46170930 UUID is 06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:00,383 - DEBUG - Response for create_network : {'network': {'id': '33e17c18-d123-4942-9966-c1828633a260', 'name': 'ctest-vn-25597144', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-vn-25597144'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:00,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '91b943e6-d7bc-44c7-b271-417571e133d8', 'name': '', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'network_id': '33e17c18-d123-4942-9966-c1828633a260', 'ip_version': 4, 'cidr': '146.97.102.128/26', 'allocation_pools': [{'start': '146.97.102.130', 'end': '146.97.102.190'}], 'gateway_ip': '146.97.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.97.102.130', 'tags': [], 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da'}} 2025-04-07 02:18:00,663 - INFO - Created VN ctest-vn-25597144 2025-04-07 02:18:00,717 - DEBUG - VN ctest-vn-25597144 UUID is 33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:00,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930, 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-13568217:ctest-vn-25597144, 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-04-07 02:18:01,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06a5d1b9-1c7d-4c2b-a873-e77d850f25f4', 'name': 'ctest-vn-46170930', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9c55dbb-74d3-454e-a76d-24510b9c2b4b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-vn-46170930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-policy-allow-all-28386467']], 'subnet_ipam': [{'subnet_cidr': '16.83.91.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:01,412 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33e17c18-d123-4942-9966-c1828633a260', 'name': 'ctest-vn-25597144', 'tenant_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'project_id': 'f04fb13225bc4bd8acf0593dbf3f98da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91b943e6-d7bc-44c7-b271-417571e133d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-vn-25597144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-policy-allow-all-28386467']], 'subnet_ipam': [{'subnet_cidr': '146.97.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:01,573 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:01,896 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:01,930 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:01,949 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:02,036 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,052 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,063 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:02,072 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:02,081 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2087d024-a706-4689-8168-4601a6253b65 2025-04-07 02:18:02,090 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 02:18:02,090 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,101 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:02,122 - INFO - Verified VN network id 8 for VN 06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,122 - INFO - Verifications in API Server for VN ctest-vn-46170930 passed 2025-04-07 02:18:02,122 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,133 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:02,141 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:02,150 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2087d024-a706-4689-8168-4601a6253b65 2025-04-07 02:18:02,164 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13568217', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '479019528361954347', 'uuid-lslong': '12138299946982909428'}, 'enable': 'true', 'created': '2025-04-07T02:17:59', 'last-modified': '2025-04-07T02:18:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041389'} 2025-04-07 02:18:02,175 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 02:18:02,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46170930 passed 2025-04-07 02:18:02,176 - DEBUG - ====Verifying policy data for ctest-vn-46170930 in API_Server ====== 2025-04-07 02:18:02,176 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:02,184 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:02,198 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:02,275 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/06a5d1b9-1c7d-4c2b-a873-e77d850f25f4 2025-04-07 02:18:02,286 - DEBUG - ==>Verifying data for policy with id: 4e224628-8a45-46cf-b361-2233679ab671, fqn: ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-policy-allow-all-28386467'] 2025-04-07 02:18:02,286 - INFO - VN ctest-vn-46170930 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 02:18:02,286 - DEBUG - Verifying the vn in opserver 2025-04-07 02:18:02,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930 virtual network link through opserver 10.0.0.44 2025-04-07 02:18:02,286 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,579 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930?flat'} 2025-04-07 02:18:02,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930 is found in opserver 2025-04-07 02:18:02,652 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 02:18:02,658 - DEBUG - VRF ids for VN ctest-vn-46170930: {} 2025-04-07 02:18:02,658 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:02,664 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:02,677 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:02,749 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,762 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,772 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:02,781 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:02,789 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/94930d05-40dc-4b18-ab62-4db1dfbaaa84 2025-04-07 02:18:02,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 02:18:02,797 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,808 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:02,825 - INFO - Verified VN network id 9 for VN 33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,825 - INFO - Verifications in API Server for VN ctest-vn-25597144 passed 2025-04-07 02:18:02,826 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,837 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:02,845 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:02,853 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/94930d05-40dc-4b18-ab62-4db1dfbaaa84 2025-04-07 02:18:02,866 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-25597144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13568217', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3738405611724032322', 'uuid-lslong': '11053735101768901216'}, 'enable': 'true', 'created': '2025-04-07T02:18:00', 'last-modified': '2025-04-07T02:18:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.486896'} 2025-04-07 02:18:02,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 02:18:02,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25597144 passed 2025-04-07 02:18:02,873 - DEBUG - ====Verifying policy data for ctest-vn-25597144 in API_Server ====== 2025-04-07 02:18:02,873 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:02,879 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:02,892 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:02,971 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/33e17c18-d123-4942-9966-c1828633a260 2025-04-07 02:18:02,982 - DEBUG - ==>Verifying data for policy with id: 4e224628-8a45-46cf-b361-2233679ab671, fqn: ['default-domain', 'ctest-TestBasicPolicy-13568217', 'ctest-policy-allow-all-28386467'] 2025-04-07 02:18:02,982 - INFO - VN ctest-vn-25597144 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 02:18:02,982 - DEBUG - Verifying the vn in opserver 2025-04-07 02:18:02,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-25597144 virtual network link through opserver 10.0.0.44 2025-04-07 02:18:02,982 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,995 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-25597144', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-25597144?flat'} 2025-04-07 02:18:02,995 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-25597144 is found in opserver 2025-04-07 02:18:03,006 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 02:18:03,013 - DEBUG - VRF ids for VN ctest-vn-25597144: {} 2025-04-07 02:18:03,087 - DEBUG - Services list from nova: [, , ] 2025-04-07 02:18:04,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1) 2025-04-07 02:18:05,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1) 2025-04-07 02:18:05,471 - INFO - Waiting for VM ctest-TestBasicPolicy-13568217-04386222 to be up.. 2025-04-07 02:18:05,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 02:18:10,650 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:18:10,650 - INFO - VM name : ctest-TestBasicPolicy-13568217-04386222 2025-04-07 02:18:10,732 - DEBUG - VM ctest-TestBasicPolicy-13568217-04386222 ID is 8f0a3c79-936c-499a-8e7e-e83f06e2742c 2025-04-07 02:18:10,751 - DEBUG - VM ctest-TestBasicPolicy-13568217-04386222 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1 2025-04-07 02:18:10,835 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/8f0a3c79-936c-499a-8e7e-e83f06e2742c 2025-04-07 02:18:10,845 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/7131fe56-1f58-400f-9426-856184df7e64 2025-04-07 02:18:14,099 - 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 1013ms') 2025-04-07 02:18:14,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13568217-04386222 failed! 2025-04-07 02:18:14,158 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13568217:ctest-vn-46170930 is 16.83.91.65 and allocation pool is NOT set 2025-04-07 02:18:16,217 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/3.739/6.943/3.204 ms') 2025-04-07 02:18:16,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13568217-04386222 passed 2025-04-07 02:18:16,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:16,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13568217-04386222, IP 16.83.91.67, Port 22 2025-04-07 02:18:16,540 - DEBUG - VM ctest-TestBasicPolicy-13568217-04386222 is ready for SSH connections 2025-04-07 02:18:16,540 - INFO - Waiting for VM ctest-TestBasicPolicy-13568217-91202851 to be up.. 2025-04-07 02:18:16,629 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:18:16,630 - INFO - VM name : ctest-TestBasicPolicy-13568217-91202851 2025-04-07 02:18:16,718 - DEBUG - VM ctest-TestBasicPolicy-13568217-91202851 ID is 75af9794-9590-4aab-b754-b5cfb92facbe 2025-04-07 02:18:16,719 - DEBUG - VM ctest-TestBasicPolicy-13568217-91202851 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1 2025-04-07 02:18:16,809 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/75af9794-9590-4aab-b754-b5cfb92facbe 2025-04-07 02:18:16,820 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/be97d2d9-4c05-4c93-b18b-4e55426ac79d 2025-04-07 02:18:18,071 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/1.749/2.977/1.227 ms') 2025-04-07 02:18:18,071 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13568217-91202851 passed 2025-04-07 02:18:18,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:18,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13568217-91202851, IP 146.97.102.131, Port 22 2025-04-07 02:18:18,382 - DEBUG - VM ctest-TestBasicPolicy-13568217-91202851 is ready for SSH connections 2025-04-07 02:18:18,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:18,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.97.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-04-07 02:18:18,382 - DEBUG - ping -s 56 -c 3 -W 1 146.97.102.131 2025-04-07 02:18:22,079 - DEBUG - PING 146.97.102.131 (146.97.102.131): 56 data bytes 64 bytes from 146.97.102.131: seq=0 ttl=63 time=3.415 ms 64 bytes from 146.97.102.131: seq=1 ttl=63 time=0.917 ms 64 bytes from 146.97.102.131: seq=2 ttl=63 time=0.866 ms --- 146.97.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.732/3.415 ms 2025-04-07 02:18:22,079 - INFO - Ping to IP 146.97.102.131 from VM ctest-TestBasicPolicy-13568217-04386222 passed 2025-04-07 02:18:22,261 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4e224628-8a45-46cf-b361-2233679ab671", "href": "http://10.0.0.44:8082/network-policy/4e224628-8a45-46cf-b361-2233679ab671"}} 2025-04-07 02:18:22,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:22,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.97.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-04-07 02:18:22,262 - DEBUG - ping -s 56 -c 3 -W 1 146.97.102.131 2025-04-07 02:18:25,471 - DEBUG - PING 146.97.102.131 (146.97.102.131): 56 data bytes 64 bytes from 146.97.102.131: seq=0 ttl=63 time=1.549 ms --- 146.97.102.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.549/1.549/1.549 ms 2025-04-07 02:18:25,471 - WARNING - Ping to IP 146.97.102.131 from VM ctest-TestBasicPolicy-13568217-04386222 failed 2025-04-07 02:18:25,471 - INFO - Deleting VM ctest-TestBasicPolicy-13568217-91202851 2025-04-07 02:18:25,538 - INFO - Deleting VM ctest-TestBasicPolicy-13568217-04386222 2025-04-07 02:18:25,913 - INFO - Deleted policy ctest-policy-allow-all-28386467 2025-04-07 02:18:25,913 - INFO - Deleting VN ctest-vn-25597144 2025-04-07 02:18:25,951 - DEBUG - VN 33e17c18-d123-4942-9966-c1828633a260 still in use: Unable to complete operation on network 33e17c18-d123-4942-9966-c1828633a260. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44935aa6-97ed-4292-b32b-2c923e49defa'] 2025-04-07 02:18:25,951 - WARNING - Deleting VN ctest-vn-25597144 failed..Will retry 2025-04-07 02:18:28,067 - DEBUG - Response for deleting network () 2025-04-07 02:18:28,067 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b13cdf05-5e1c-4487-8239-0b8c86ef9fd3 2025-04-07 02:18:28,076 - DEBUG - Response Code: 404 2025-04-07 02:18:28,076 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:28,085 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:28,140 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:28,214 - INFO - Validated that VN ctest-vn-25597144 is not found in API Server 2025-04-07 02:18:28,225 - DEBUG - VN ctest-vn-25597144 is not present in Agent 10.0.0.44 2025-04-07 02:18:28,225 - INFO - Validated that VN ctest-vn-25597144 is not in any agent 2025-04-07 02:18:28,244 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25597144 info 2025-04-07 02:18:28,245 - INFO - Deleting VN ctest-vn-46170930 2025-04-07 02:18:28,363 - DEBUG - Response for deleting network () 2025-04-07 02:18:28,363 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b2eefcda-1e94-46a3-a9e1-a92ad7cd3dde 2025-04-07 02:18:28,370 - DEBUG - Response Code: 404 2025-04-07 02:18:28,370 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-04-07 02:18:28,376 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a2e6a6c3-d961-4feb-b58a-aece84d87477 2025-04-07 02:18:28,431 - DEBUG - Requesting: http://10.0.0.44:8082/project/f04fb132-25bc-4bd8-acf0-593dbf3f98da 2025-04-07 02:18:28,506 - INFO - Validated that VN ctest-vn-46170930 is not found in API Server 2025-04-07 02:18:28,517 - DEBUG - VN ctest-vn-46170930 is not present in Agent 10.0.0.44 2025-04-07 02:18:28,517 - INFO - Validated that VN ctest-vn-46170930 is not in any agent 2025-04-07 02:18:28,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46170930 info 2025-04-07 02:18:28,792 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 02:18:28,792 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-07 02:18:28,792 - INFO - -------------------------------------------------------------------------------- 2025-04-07 02:18:29,504 - INFO - Deleted project: ctest-TestBasicPolicy-13568217, ID : f04fb132-25bc-4bd8-acf0-593dbf3f98da