2025-01-09 09:16:38,370 - INFO - Domain Default found not creating 2025-01-09 09:16:38,527 - INFO - Project ctest-TestBasicPolicy-54034346 not found, creating it 2025-01-09 09:16:39,013 - INFO - Created Project:ctest-TestBasicPolicy-54034346, ID : 36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:16:40,538 - INFO - ================================================================================ 2025-01-09 09:16:40,539 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 09:16:40,539 - 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-01-09 09:16:40,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.11': '0'}} with 2025-01-09 09:16:40,805 - INFO - Initial checks done. Running the testcase now 2025-01-09 09:16:40,805 - INFO - 2025-01-09 09:16:41,354 - DEBUG - Response for create_network : {'network': {'id': '7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7', 'name': 'ctest-vn-97434711', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'project_id': '36945906f1bc4bb0a05701bb4b688309', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-vn-97434711'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:41,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '524a840f-64bb-482e-a93b-f2af37e707e8', 'name': '', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'network_id': '7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7', 'ip_version': 4, 'cidr': '136.88.155.192/26', 'allocation_pools': [{'start': '136.88.155.194', 'end': '136.88.155.254'}], 'gateway_ip': '136.88.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.88.155.194', 'tags': [], 'project_id': '36945906f1bc4bb0a05701bb4b688309'}} 2025-01-09 09:16:41,545 - INFO - Created VN ctest-vn-97434711 2025-01-09 09:16:41,597 - DEBUG - VN ctest-vn-97434711 UUID is 7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:41,929 - DEBUG - Response for create_network : {'network': {'id': '37b569da-351c-4bca-97f9-63d1292bcd30', 'name': 'ctest-vn-86680360', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'project_id': '36945906f1bc4bb0a05701bb4b688309', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-vn-86680360'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:42,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '17aaa4e8-2e04-415c-980d-037ce93cc89a', 'name': '', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'network_id': '37b569da-351c-4bca-97f9-63d1292bcd30', 'ip_version': 4, 'cidr': '144.59.162.64/26', 'allocation_pools': [{'start': '144.59.162.66', 'end': '144.59.162.126'}], 'gateway_ip': '144.59.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.59.162.66', 'tags': [], 'project_id': '36945906f1bc4bb0a05701bb4b688309'}} 2025-01-09 09:16:42,111 - INFO - Created VN ctest-vn-86680360 2025-01-09 09:16:42,164 - DEBUG - VN ctest-vn-86680360 UUID is 37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:42,281 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711, 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-54034346:ctest-vn-86680360, 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-01-09 09:16:42,596 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7', 'name': 'ctest-vn-97434711', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'project_id': '36945906f1bc4bb0a05701bb4b688309', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['524a840f-64bb-482e-a93b-f2af37e707e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-vn-97434711'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-policy-allow-all-81745602']], 'subnet_ipam': [{'subnet_cidr': '136.88.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:42,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37b569da-351c-4bca-97f9-63d1292bcd30', 'name': 'ctest-vn-86680360', 'tenant_id': '36945906f1bc4bb0a05701bb4b688309', 'project_id': '36945906f1bc4bb0a05701bb4b688309', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17aaa4e8-2e04-415c-980d-037ce93cc89a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-vn-86680360'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-policy-allow-all-81745602']], 'subnet_ipam': [{'subnet_cidr': '144.59.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:43,012 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:16:43,313 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:16:43,350 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:16:43,365 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:16:43,445 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,457 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,467 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:16:43,475 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:16:43,484 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/099a05bb-56b7-49d9-8f07-5b0e9ba65b76 2025-01-09 09:16:43,492 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 09:16:43,492 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,503 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:16:43,518 - INFO - Verified VN network id 8 for VN 7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,518 - INFO - Verifications in API Server for VN ctest-vn-97434711 passed 2025-01-09 09:16:43,518 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,530 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:16:43,538 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:16:43,545 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/099a05bb-56b7-49d9-8f07-5b0e9ba65b76 2025-01-09 09:16:43,557 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54034346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9047637511807389431', 'uuid-lslong': '10340542268669880535'}, 'enable': 'true', 'created': '2025-01-09T09:16:41', 'last-modified': '2025-01-09T09:16:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986684'} 2025-01-09 09:16:43,564 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 09:16:43,564 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97434711 passed 2025-01-09 09:16:43,564 - DEBUG - ====Verifying policy data for ctest-vn-97434711 in API_Server ====== 2025-01-09 09:16:43,564 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:16:43,570 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:16:43,582 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:16:43,656 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/7d8faa61-6bc7-4ef7-8f80-fc6824fae8d7 2025-01-09 09:16:43,669 - DEBUG - ==>Verifying data for policy with id: 5e6d5b76-935d-42cf-8aa7-fc3d673f6499, fqn: ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-policy-allow-all-81745602'] 2025-01-09 09:16:43,669 - INFO - VN ctest-vn-97434711 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 09:16:43,669 - DEBUG - Verifying the vn in opserver 2025-01-09 09:16:43,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711 virtual network link through opserver 10.0.0.46 2025-01-09 09:16:43,669 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-09 09:16:43,963 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-09 09:16:44,024 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711?flat'} 2025-01-09 09:16:44,024 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711 is found in opserver 2025-01-09 09:16:44,036 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 09:16:44,041 - DEBUG - VRF ids for VN ctest-vn-97434711: {} 2025-01-09 09:16:44,041 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:16:44,047 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:16:44,060 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:16:44,134 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,147 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,160 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:16:44,171 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:16:44,181 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/7bd9b037-877a-48be-9002-39cd5b74461a 2025-01-09 09:16:44,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 09:16:44,188 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,198 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:16:44,215 - INFO - Verified VN network id 9 for VN 37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,216 - INFO - Verifications in API Server for VN ctest-vn-86680360 passed 2025-01-09 09:16:44,216 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,229 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:16:44,238 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:16:44,247 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/7bd9b037-877a-48be-9002-39cd5b74461a 2025-01-09 09:16:44,263 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-86680360', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54034346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4014231028785499082', 'uuid-lslong': '10950893718918122800'}, 'enable': 'true', 'created': '2025-01-09T09:16:41', 'last-modified': '2025-01-09T09:16:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450412'} 2025-01-09 09:16:44,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 09:16:44,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86680360 passed 2025-01-09 09:16:44,271 - DEBUG - ====Verifying policy data for ctest-vn-86680360 in API_Server ====== 2025-01-09 09:16:44,271 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:16:44,279 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:16:44,292 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:16:44,377 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/37b569da-351c-4bca-97f9-63d1292bcd30 2025-01-09 09:16:44,389 - DEBUG - ==>Verifying data for policy with id: 5e6d5b76-935d-42cf-8aa7-fc3d673f6499, fqn: ['default-domain', 'ctest-TestBasicPolicy-54034346', 'ctest-policy-allow-all-81745602'] 2025-01-09 09:16:44,389 - INFO - VN ctest-vn-86680360 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 09:16:44,389 - DEBUG - Verifying the vn in opserver 2025-01-09 09:16:44,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-86680360 virtual network link through opserver 10.0.0.46 2025-01-09 09:16:44,390 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-09 09:16:44,401 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-86680360', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-86680360?flat'} 2025-01-09 09:16:44,401 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-86680360 is found in opserver 2025-01-09 09:16:44,412 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 09:16:44,418 - DEBUG - VRF ids for VN ctest-vn-86680360: {} 2025-01-09 09:16:44,489 - DEBUG - Services list from nova: [, , ] 2025-01-09 09:16:45,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1) 2025-01-09 09:16:46,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1) 2025-01-09 09:16:46,967 - INFO - Waiting for VM ctest-TestBasicPolicy-54034346-32347538 to be up.. 2025-01-09 09:16:47,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 09:16:52,156 - DEBUG - VM is in ACTIVE state now 2025-01-09 09:16:52,157 - INFO - VM name : ctest-TestBasicPolicy-54034346-32347538 2025-01-09 09:16:52,245 - DEBUG - VM ctest-TestBasicPolicy-54034346-32347538 ID is 7d823014-5d59-4b28-8c11-4a517a514afc 2025-01-09 09:16:52,266 - DEBUG - VM ctest-TestBasicPolicy-54034346-32347538 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1 2025-01-09 09:16:52,351 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/7d823014-5d59-4b28-8c11-4a517a514afc 2025-01-09 09:16:52,361 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/4c74b05d-8a6e-450b-a53d-6f638951ed92 2025-01-09 09:16:55,638 - 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 1015ms') 2025-01-09 09:16:55,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54034346-32347538 failed! 2025-01-09 09:16:55,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54034346:ctest-vn-97434711 is 136.88.155.193 and allocation pool is NOT set 2025-01-09 09:16:57,769 - 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=9.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.461/4.846/9.231/4.385 ms') 2025-01-09 09:16:57,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54034346-32347538 passed 2025-01-09 09:16:57,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:57,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54034346-32347538, IP 136.88.155.195, Port 22 2025-01-09 09:16:58,084 - DEBUG - VM ctest-TestBasicPolicy-54034346-32347538 is ready for SSH connections 2025-01-09 09:16:58,084 - INFO - Waiting for VM ctest-TestBasicPolicy-54034346-47490589 to be up.. 2025-01-09 09:16:58,172 - DEBUG - VM is in ACTIVE state now 2025-01-09 09:16:58,172 - INFO - VM name : ctest-TestBasicPolicy-54034346-47490589 2025-01-09 09:16:58,255 - DEBUG - VM ctest-TestBasicPolicy-54034346-47490589 ID is 1c66f39a-42ab-4cac-b321-6cc7d55ae8ca 2025-01-09 09:16:58,255 - DEBUG - VM ctest-TestBasicPolicy-54034346-47490589 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1 2025-01-09 09:16:58,342 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/1c66f39a-42ab-4cac-b321-6cc7d55ae8ca 2025-01-09 09:16:58,353 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/2f0e06a9-d0c7-42b5-b8de-b5e628fd819c 2025-01-09 09:16:59,609 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.325/2.716/4.107/1.391 ms') 2025-01-09 09:16:59,610 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54034346-47490589 passed 2025-01-09 09:16:59,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:59,764 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54034346-47490589, IP 144.59.162.67, Port 22 2025-01-09 09:16:59,924 - DEBUG - VM ctest-TestBasicPolicy-54034346-47490589 is ready for SSH connections 2025-01-09 09:16:59,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:59,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.59.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-09 09:16:59,925 - DEBUG - ping -s 56 -c 3 -W 1 144.59.162.67 2025-01-09 09:17:03,632 - DEBUG - PING 144.59.162.67 (144.59.162.67): 56 data bytes 64 bytes from 144.59.162.67: seq=0 ttl=63 time=3.620 ms 64 bytes from 144.59.162.67: seq=1 ttl=63 time=1.117 ms 64 bytes from 144.59.162.67: seq=2 ttl=63 time=1.030 ms --- 144.59.162.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/1.922/3.620 ms 2025-01-09 09:17:03,632 - INFO - Ping to IP 144.59.162.67 from VM ctest-TestBasicPolicy-54034346-32347538 passed 2025-01-09 09:17:03,820 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5e6d5b76-935d-42cf-8aa7-fc3d673f6499", "href": "http://10.0.0.46:8082/network-policy/5e6d5b76-935d-42cf-8aa7-fc3d673f6499"}} 2025-01-09 09:17:03,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:17:03,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.59.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-09 09:17:03,821 - DEBUG - ping -s 56 -c 3 -W 1 144.59.162.67 2025-01-09 09:17:07,058 - DEBUG - PING 144.59.162.67 (144.59.162.67): 56 data bytes 64 bytes from 144.59.162.67: seq=0 ttl=63 time=1.735 ms --- 144.59.162.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.735/1.735/1.735 ms 2025-01-09 09:17:07,058 - WARNING - Ping to IP 144.59.162.67 from VM ctest-TestBasicPolicy-54034346-32347538 failed 2025-01-09 09:17:07,058 - INFO - Deleting VM ctest-TestBasicPolicy-54034346-47490589 2025-01-09 09:17:07,135 - INFO - Deleting VM ctest-TestBasicPolicy-54034346-32347538 2025-01-09 09:17:07,540 - INFO - Deleted policy ctest-policy-allow-all-81745602 2025-01-09 09:17:07,540 - INFO - Deleting VN ctest-vn-86680360 2025-01-09 09:17:07,579 - DEBUG - VN 37b569da-351c-4bca-97f9-63d1292bcd30 still in use: Unable to complete operation on network 37b569da-351c-4bca-97f9-63d1292bcd30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cc145be-65d8-4315-a88d-41ec1e695317'] 2025-01-09 09:17:07,579 - WARNING - Deleting VN ctest-vn-86680360 failed..Will retry 2025-01-09 09:17:09,703 - DEBUG - Response for deleting network () 2025-01-09 09:17:09,703 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c7b94314-04e7-4f87-9c12-2a3eb2d21aac 2025-01-09 09:17:09,712 - DEBUG - Response Code: 404 2025-01-09 09:17:09,712 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:17:09,718 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:17:09,777 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:17:09,854 - INFO - Validated that VN ctest-vn-86680360 is not found in API Server 2025-01-09 09:17:09,867 - DEBUG - VN ctest-vn-86680360 is not present in Agent 10.0.0.46 2025-01-09 09:17:09,868 - INFO - Validated that VN ctest-vn-86680360 is not in any agent 2025-01-09 09:17:09,885 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86680360 info 2025-01-09 09:17:09,885 - INFO - Deleting VN ctest-vn-97434711 2025-01-09 09:17:10,028 - DEBUG - Response for deleting network () 2025-01-09 09:17:10,028 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/2c63feff-bbe9-4395-893d-3611e55ca644 2025-01-09 09:17:10,035 - DEBUG - Response Code: 404 2025-01-09 09:17:10,035 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-09 09:17:10,041 - DEBUG - Requesting: http://10.0.0.46:8082/domain/6a1ce73b-a7a3-4ddc-aeae-173b7ef29ed4 2025-01-09 09:17:10,094 - DEBUG - Requesting: http://10.0.0.46:8082/project/36945906-f1bc-4bb0-a057-01bb4b688309 2025-01-09 09:17:10,172 - INFO - Validated that VN ctest-vn-97434711 is not found in API Server 2025-01-09 09:17:10,185 - DEBUG - VN ctest-vn-97434711 is not present in Agent 10.0.0.46 2025-01-09 09:17:10,185 - INFO - Validated that VN ctest-vn-97434711 is not in any agent 2025-01-09 09:17:10,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97434711 info 2025-01-09 09:17:10,460 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 09:17:10,461 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-09 09:17:10,461 - INFO - -------------------------------------------------------------------------------- 2025-01-09 09:17:11,156 - INFO - Deleted project: ctest-TestBasicPolicy-54034346, ID : 36945906-f1bc-4bb0-a057-01bb4b688309