2025-03-27 01:10:53,140 - INFO - Domain Default found not creating 2025-03-27 01:10:53,325 - INFO - Project ctest-TestBasicPolicy-54483214 not found, creating it 2025-03-27 01:10:53,853 - INFO - Created Project:ctest-TestBasicPolicy-54483214, ID : cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:10:55,474 - INFO - ================================================================================ 2025-03-27 01:10:55,475 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 01:10:55,475 - 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-03-27 01:10:55,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with 2025-03-27 01:10:55,752 - INFO - Initial checks done. Running the testcase now 2025-03-27 01:10:55,752 - INFO - 2025-03-27 01:10:56,807 - DEBUG - Response for create_network : {'network': {'id': '5ff56803-f825-4da6-957b-1a551398b957', 'name': 'ctest-vn-64889760', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'project_id': 'cf1d349069a8473ba7f05a890b075654', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-vn-64889760'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 01:10:57,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b3beffd-824d-48c3-8c4c-e82be828960b', 'name': '', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'network_id': '5ff56803-f825-4da6-957b-1a551398b957', 'ip_version': 4, 'cidr': '157.64.62.0/26', 'allocation_pools': [{'start': '157.64.62.2', 'end': '157.64.62.62'}], 'gateway_ip': '157.64.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.64.62.2', 'tags': [], 'project_id': 'cf1d349069a8473ba7f05a890b075654'}} 2025-03-27 01:10:57,033 - INFO - Created VN ctest-vn-64889760 2025-03-27 01:10:57,093 - DEBUG - VN ctest-vn-64889760 UUID is 5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:57,444 - DEBUG - Response for create_network : {'network': {'id': '4cfef761-c661-476d-9cde-8b949ae673c7', 'name': 'ctest-vn-18656699', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'project_id': 'cf1d349069a8473ba7f05a890b075654', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-vn-18656699'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 01:10:57,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '02e9e5b3-d332-4682-b116-f3908a8bee4d', 'name': '', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'network_id': '4cfef761-c661-476d-9cde-8b949ae673c7', 'ip_version': 4, 'cidr': '43.195.130.128/26', 'allocation_pools': [{'start': '43.195.130.130', 'end': '43.195.130.190'}], 'gateway_ip': '43.195.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.195.130.130', 'tags': [], 'project_id': 'cf1d349069a8473ba7f05a890b075654'}} 2025-03-27 01:10:57,709 - INFO - Created VN ctest-vn-18656699 2025-03-27 01:10:57,764 - DEBUG - VN ctest-vn-18656699 UUID is 4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:10:57,897 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760, 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-54483214:ctest-vn-18656699, 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-03-27 01:10:58,240 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ff56803-f825-4da6-957b-1a551398b957', 'name': 'ctest-vn-64889760', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'project_id': 'cf1d349069a8473ba7f05a890b075654', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b3beffd-824d-48c3-8c4c-e82be828960b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-vn-64889760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-policy-allow-all-30096720']], 'subnet_ipam': [{'subnet_cidr': '157.64.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 01:10:58,563 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4cfef761-c661-476d-9cde-8b949ae673c7', 'name': 'ctest-vn-18656699', 'tenant_id': 'cf1d349069a8473ba7f05a890b075654', 'project_id': 'cf1d349069a8473ba7f05a890b075654', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02e9e5b3-d332-4682-b116-f3908a8bee4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-vn-18656699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-policy-allow-all-30096720']], 'subnet_ipam': [{'subnet_cidr': '43.195.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 01:10:58,712 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:10:59,035 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:10:59,071 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:10:59,089 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:10:59,191 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,208 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,225 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:10:59,237 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:10:59,248 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1971f116-9545-4b88-9a13-454fe4e13db8 2025-03-27 01:10:59,258 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 01:10:59,258 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,272 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:10:59,299 - INFO - Verified VN network id 8 for VN 5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,300 - INFO - Verifications in API Server for VN ctest-vn-64889760 passed 2025-03-27 01:10:59,300 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,313 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:10:59,323 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:10:59,333 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1971f116-9545-4b88-9a13-454fe4e13db8 2025-03-27 01:10:59,350 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54483214', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6914547169154649510', 'uuid-lslong': '10771231886489991511'}, 'enable': 'true', 'created': '2025-03-27T01:10:56', 'last-modified': '2025-03-27T01:10:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.142138'} 2025-03-27 01:10:59,359 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 01:10:59,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64889760 passed 2025-03-27 01:10:59,360 - DEBUG - ====Verifying policy data for ctest-vn-64889760 in API_Server ====== 2025-03-27 01:10:59,360 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:10:59,369 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:10:59,385 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:10:59,476 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5ff56803-f825-4da6-957b-1a551398b957 2025-03-27 01:10:59,494 - DEBUG - ==>Verifying data for policy with id: 2a8945b4-3dc7-474f-90ba-444e01c7d928, fqn: ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-policy-allow-all-30096720'] 2025-03-27 01:10:59,494 - INFO - VN ctest-vn-64889760 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 01:10:59,494 - DEBUG - Verifying the vn in opserver 2025-03-27 01:10:59,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760 virtual network link through opserver 10.0.0.28 2025-03-27 01:10:59,495 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 01:10:59,816 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 01:10:59,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760?flat'} 2025-03-27 01:10:59,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760 is found in opserver 2025-03-27 01:10:59,904 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 01:10:59,911 - DEBUG - VRF ids for VN ctest-vn-64889760: {} 2025-03-27 01:10:59,911 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:10:59,919 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:10:59,937 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:11:00,025 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,041 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,055 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:00,065 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:00,074 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/66814357-30aa-438c-8b86-d0c0a112fd85 2025-03-27 01:11:00,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 01:11:00,084 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,096 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:00,117 - INFO - Verified VN network id 9 for VN 4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,117 - INFO - Verifications in API Server for VN ctest-vn-18656699 passed 2025-03-27 01:11:00,118 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,130 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:00,140 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:00,149 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/66814357-30aa-438c-8b86-d0c0a112fd85 2025-03-27 01:11:00,165 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-18656699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54483214', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5548143790279182189', 'uuid-lslong': '11303625585116738503'}, 'enable': 'true', 'created': '2025-03-27T01:10:57', 'last-modified': '2025-03-27T01:10:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.689898'} 2025-03-27 01:11:00,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 01:11:00,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18656699 passed 2025-03-27 01:11:00,174 - DEBUG - ====Verifying policy data for ctest-vn-18656699 in API_Server ====== 2025-03-27 01:11:00,174 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:11:00,182 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:11:00,197 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:11:00,276 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4cfef761-c661-476d-9cde-8b949ae673c7 2025-03-27 01:11:00,289 - DEBUG - ==>Verifying data for policy with id: 2a8945b4-3dc7-474f-90ba-444e01c7d928, fqn: ['default-domain', 'ctest-TestBasicPolicy-54483214', 'ctest-policy-allow-all-30096720'] 2025-03-27 01:11:00,289 - INFO - VN ctest-vn-18656699 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 01:11:00,289 - DEBUG - Verifying the vn in opserver 2025-03-27 01:11:00,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-18656699 virtual network link through opserver 10.0.0.28 2025-03-27 01:11:00,290 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 01:11:00,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-18656699', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-18656699?flat'} 2025-03-27 01:11:00,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-18656699 is found in opserver 2025-03-27 01:11:00,321 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 01:11:00,329 - DEBUG - VRF ids for VN ctest-vn-18656699: {} 2025-03-27 01:11:00,406 - DEBUG - Services list from nova: [, , ] 2025-03-27 01:11:01,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1) 2025-03-27 01:11:03,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1) 2025-03-27 01:11:03,025 - INFO - Waiting for VM ctest-TestBasicPolicy-54483214-13960584 to be up.. 2025-03-27 01:11:03,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 01:11:08,247 - DEBUG - VM is in ACTIVE state now 2025-03-27 01:11:08,247 - INFO - VM name : ctest-TestBasicPolicy-54483214-13960584 2025-03-27 01:11:08,343 - DEBUG - VM ctest-TestBasicPolicy-54483214-13960584 ID is 16aa4610-c81e-4ecb-9704-1209010e70f8 2025-03-27 01:11:08,367 - DEBUG - VM ctest-TestBasicPolicy-54483214-13960584 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1 2025-03-27 01:11:08,463 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/16aa4610-c81e-4ecb-9704-1209010e70f8 2025-03-27 01:11:08,476 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/f41cd79f-a7c4-435a-9115-b27740925c6b 2025-03-27 01:11:11,734 - 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 1005ms') 2025-03-27 01:11:11,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54483214-13960584 failed! 2025-03-27 01:11:11,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54483214:ctest-vn-64889760 is 157.64.62.1 and allocation pool is NOT set 2025-03-27 01:11:13,866 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.717 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.717/3.377/6.038/2.660 ms') 2025-03-27 01:11:13,866 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54483214-13960584 passed 2025-03-27 01:11:14,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:11:14,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54483214-13960584, IP 157.64.62.3, Port 22 2025-03-27 01:11:14,191 - DEBUG - VM ctest-TestBasicPolicy-54483214-13960584 is ready for SSH connections 2025-03-27 01:11:14,191 - INFO - Waiting for VM ctest-TestBasicPolicy-54483214-41755132 to be up.. 2025-03-27 01:11:14,303 - DEBUG - VM is in ACTIVE state now 2025-03-27 01:11:14,303 - INFO - VM name : ctest-TestBasicPolicy-54483214-41755132 2025-03-27 01:11:14,405 - DEBUG - VM ctest-TestBasicPolicy-54483214-41755132 ID is e854e6dc-8490-4921-877b-192e69bae4de 2025-03-27 01:11:14,405 - DEBUG - VM ctest-TestBasicPolicy-54483214-41755132 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1 2025-03-27 01:11:14,505 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/e854e6dc-8490-4921-877b-192e69bae4de 2025-03-27 01:11:14,519 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/25c7fb12-5076-4bff-8434-b4ff4c2fd83d 2025-03-27 01:11:15,782 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.03 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 = 2.030/3.398/4.766/1.368 ms') 2025-03-27 01:11:15,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54483214-41755132 passed 2025-03-27 01:11:15,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:11:15,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54483214-41755132, IP 43.195.130.131, Port 22 2025-03-27 01:11:16,111 - DEBUG - VM ctest-TestBasicPolicy-54483214-41755132 is ready for SSH connections 2025-03-27 01:11:16,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:11:16,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.195.130.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-27 01:11:16,111 - DEBUG - ping -s 56 -c 3 -W 1 43.195.130.131 2025-03-27 01:11:19,910 - DEBUG - PING 43.195.130.131 (43.195.130.131): 56 data bytes 64 bytes from 43.195.130.131: seq=0 ttl=63 time=4.586 ms 64 bytes from 43.195.130.131: seq=1 ttl=63 time=1.245 ms 64 bytes from 43.195.130.131: seq=2 ttl=63 time=0.978 ms --- 43.195.130.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.978/2.269/4.586 ms 2025-03-27 01:11:19,910 - INFO - Ping to IP 43.195.130.131 from VM ctest-TestBasicPolicy-54483214-13960584 passed 2025-03-27 01:11:20,100 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a8945b4-3dc7-474f-90ba-444e01c7d928", "href": "http://10.0.0.28:8082/network-policy/2a8945b4-3dc7-474f-90ba-444e01c7d928"}} 2025-03-27 01:11:20,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:11:20,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.195.130.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-27 01:11:20,101 - DEBUG - ping -s 56 -c 3 -W 1 43.195.130.131 2025-03-27 01:11:23,332 - DEBUG - PING 43.195.130.131 (43.195.130.131): 56 data bytes --- 43.195.130.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-27 01:11:23,332 - WARNING - Ping to IP 43.195.130.131 from VM ctest-TestBasicPolicy-54483214-13960584 failed 2025-03-27 01:11:23,332 - INFO - Deleting VM ctest-TestBasicPolicy-54483214-41755132 2025-03-27 01:11:23,425 - INFO - Deleting VM ctest-TestBasicPolicy-54483214-13960584 2025-03-27 01:11:23,950 - INFO - Deleted policy ctest-policy-allow-all-30096720 2025-03-27 01:11:23,950 - INFO - Deleting VN ctest-vn-18656699 2025-03-27 01:11:23,995 - DEBUG - VN 4cfef761-c661-476d-9cde-8b949ae673c7 still in use: Unable to complete operation on network 4cfef761-c661-476d-9cde-8b949ae673c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e85266b-541a-4258-a2e9-a532dc26c26c'] 2025-03-27 01:11:23,995 - WARNING - Deleting VN ctest-vn-18656699 failed..Will retry 2025-03-27 01:11:26,125 - DEBUG - Response for deleting network () 2025-03-27 01:11:26,125 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/79c4520d-e103-4115-bb91-5bd70b2f262b 2025-03-27 01:11:26,134 - DEBUG - Response Code: 404 2025-03-27 01:11:26,134 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:11:26,145 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:11:26,202 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:11:26,284 - INFO - Validated that VN ctest-vn-18656699 is not found in API Server 2025-03-27 01:11:26,297 - DEBUG - VN ctest-vn-18656699 is not present in Agent 10.0.0.28 2025-03-27 01:11:26,297 - INFO - Validated that VN ctest-vn-18656699 is not in any agent 2025-03-27 01:11:26,317 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18656699 info 2025-03-27 01:11:26,317 - INFO - Deleting VN ctest-vn-64889760 2025-03-27 01:11:26,446 - DEBUG - Response for deleting network () 2025-03-27 01:11:26,446 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/13977d1f-292b-42de-8b13-79b67b4addab 2025-03-27 01:11:26,453 - DEBUG - Response Code: 404 2025-03-27 01:11:26,453 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 01:11:26,464 - DEBUG - Requesting: http://10.0.0.28:8082/domain/96c18f09-c3b7-4a37-924d-1c7fcea27226 2025-03-27 01:11:26,523 - DEBUG - Requesting: http://10.0.0.28:8082/project/cf1d3490-69a8-473b-a7f0-5a890b075654 2025-03-27 01:11:26,602 - INFO - Validated that VN ctest-vn-64889760 is not found in API Server 2025-03-27 01:11:26,614 - DEBUG - VN ctest-vn-64889760 is not present in Agent 10.0.0.28 2025-03-27 01:11:26,614 - INFO - Validated that VN ctest-vn-64889760 is not in any agent 2025-03-27 01:11:26,633 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64889760 info 2025-03-27 01:11:26,897 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 01:11:26,897 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-03-27 01:11:26,897 - INFO - -------------------------------------------------------------------------------- 2025-03-27 01:11:27,618 - INFO - Deleted project: ctest-TestBasicPolicy-54483214, ID : cf1d3490-69a8-473b-a7f0-5a890b075654