2025-01-08 14:28:18,864 - INFO - Domain Default found not creating 2025-01-08 14:28:19,012 - INFO - Project ctest-TestBasicPolicy-37977274 not found, creating it 2025-01-08 14:28:19,493 - INFO - Created Project:ctest-TestBasicPolicy-37977274, ID : a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:20,966 - INFO - ================================================================================ 2025-01-08 14:28:20,966 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 14:28:20,967 - 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-08 14:28:21,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.22': '0'}} with 2025-01-08 14:28:21,221 - INFO - Initial checks done. Running the testcase now 2025-01-08 14:28:21,221 - INFO - 2025-01-08 14:28:21,764 - DEBUG - Response for create_network : {'network': {'id': 'f6fc61ce-89d8-491e-9d15-a9c89ca943bd', 'name': 'ctest-vn-85838368', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-vn-85838368'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 14:28:21,926 - DEBUG - Response for create_subnet : {'subnet': {'id': '256288f1-106d-4ada-b552-bd5525e97a34', 'name': '', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'network_id': 'f6fc61ce-89d8-491e-9d15-a9c89ca943bd', 'ip_version': 4, 'cidr': '4.251.4.0/26', 'allocation_pools': [{'start': '4.251.4.2', 'end': '4.251.4.62'}], 'gateway_ip': '4.251.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.251.4.2', 'tags': [], 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1'}} 2025-01-08 14:28:21,944 - INFO - Created VN ctest-vn-85838368 2025-01-08 14:28:21,999 - DEBUG - VN ctest-vn-85838368 UUID is f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:22,326 - DEBUG - Response for create_network : {'network': {'id': '2a5893f2-ae20-48c3-b1ac-e56f99e331c1', 'name': 'ctest-vn-07849453', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-vn-07849453'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 14:28:22,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '19dca3ac-3180-4334-b4ec-e3f69adae621', 'name': '', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'network_id': '2a5893f2-ae20-48c3-b1ac-e56f99e331c1', 'ip_version': 4, 'cidr': '26.62.135.64/26', 'allocation_pools': [{'start': '26.62.135.66', 'end': '26.62.135.126'}], 'gateway_ip': '26.62.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.62.135.66', 'tags': [], 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1'}} 2025-01-08 14:28:22,528 - INFO - Created VN ctest-vn-07849453 2025-01-08 14:28:22,583 - DEBUG - VN ctest-vn-07849453 UUID is 2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:22,709 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368, 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-37977274:ctest-vn-07849453, 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-08 14:28:23,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6fc61ce-89d8-491e-9d15-a9c89ca943bd', 'name': 'ctest-vn-85838368', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['256288f1-106d-4ada-b552-bd5525e97a34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-vn-85838368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-policy-allow-all-11042436']], 'subnet_ipam': [{'subnet_cidr': '4.251.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 14:28:23,299 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a5893f2-ae20-48c3-b1ac-e56f99e331c1', 'name': 'ctest-vn-07849453', 'tenant_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'project_id': 'a3faa2e4da0d40f19f5636923bb319d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19dca3ac-3180-4334-b4ec-e3f69adae621'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-vn-07849453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-policy-allow-all-11042436']], 'subnet_ipam': [{'subnet_cidr': '26.62.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 14:28:23,455 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:23,751 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:23,777 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:23,790 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:23,864 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:23,875 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:23,885 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:23,892 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:23,899 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/01dd3720-7ba6-4cfc-a508-c7f081d040b3 2025-01-08 14:28:23,905 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 14:28:23,905 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:23,913 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:23,926 - INFO - Verified VN network id 8 for VN f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:23,926 - INFO - Verifications in API Server for VN ctest-vn-85838368 passed 2025-01-08 14:28:23,926 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:23,936 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:23,943 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:23,951 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/01dd3720-7ba6-4cfc-a508-c7f081d040b3 2025-01-08 14:28:23,965 - DEBUG - Control-node 10.0.0.53 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37977274', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17797207367165167902', 'uuid-lslong': '11319139917552501693'}, 'enable': 'true', 'created': '2025-01-08T14:28:21', 'last-modified': '2025-01-08T14:28:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973643'} 2025-01-08 14:28:23,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 14:28:23,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85838368 passed 2025-01-08 14:28:23,973 - DEBUG - ====Verifying policy data for ctest-vn-85838368 in API_Server ====== 2025-01-08 14:28:23,973 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:23,979 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:23,992 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:24,067 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/f6fc61ce-89d8-491e-9d15-a9c89ca943bd 2025-01-08 14:28:24,080 - DEBUG - ==>Verifying data for policy with id: ff7a0f2f-5ae2-43ee-8d80-0b748f41c8e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-policy-allow-all-11042436'] 2025-01-08 14:28:24,080 - INFO - VN ctest-vn-85838368 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 14:28:24,080 - DEBUG - Verifying the vn in opserver 2025-01-08 14:28:24,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368 virtual network link through opserver 10.0.0.53 2025-01-08 14:28:24,080 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-08 14:28:24,378 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-08 14:28:24,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368', 'href': 'http://10.0.0.53:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368?flat'} 2025-01-08 14:28:24,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368 is found in opserver 2025-01-08 14:28:24,446 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 14:28:24,451 - DEBUG - VRF ids for VN ctest-vn-85838368: {} 2025-01-08 14:28:24,451 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:24,457 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:24,470 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:24,542 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,554 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,566 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:24,573 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:24,580 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/29588514-bd94-46d3-948b-d51a944d291f 2025-01-08 14:28:24,587 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 14:28:24,587 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,598 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:24,616 - INFO - Verified VN network id 9 for VN 2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,616 - INFO - Verifications in API Server for VN ctest-vn-07849453 passed 2025-01-08 14:28:24,616 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,628 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:24,637 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:24,644 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/29588514-bd94-46d3-948b-d51a944d291f 2025-01-08 14:28:24,655 - DEBUG - Control-node 10.0.0.53 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-07849453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37977274', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3051351418056231107', 'uuid-lslong': '12802860108193411521'}, 'enable': 'true', 'created': '2025-01-08T14:28:22', 'last-modified': '2025-01-08T14:28:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416071'} 2025-01-08 14:28:24,662 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 14:28:24,662 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07849453 passed 2025-01-08 14:28:24,662 - DEBUG - ====Verifying policy data for ctest-vn-07849453 in API_Server ====== 2025-01-08 14:28:24,662 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:24,667 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:24,678 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:24,752 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/2a5893f2-ae20-48c3-b1ac-e56f99e331c1 2025-01-08 14:28:24,762 - DEBUG - ==>Verifying data for policy with id: ff7a0f2f-5ae2-43ee-8d80-0b748f41c8e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-37977274', 'ctest-policy-allow-all-11042436'] 2025-01-08 14:28:24,762 - INFO - VN ctest-vn-07849453 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 14:28:24,762 - DEBUG - Verifying the vn in opserver 2025-01-08 14:28:24,763 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-07849453 virtual network link through opserver 10.0.0.53 2025-01-08 14:28:24,763 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-08 14:28:24,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-07849453', 'href': 'http://10.0.0.53:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-07849453?flat'} 2025-01-08 14:28:24,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-07849453 is found in opserver 2025-01-08 14:28:24,784 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 14:28:24,789 - DEBUG - VRF ids for VN ctest-vn-07849453: {} 2025-01-08 14:28:24,847 - DEBUG - Services list from nova: [, , ] 2025-01-08 14:28:25,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1) 2025-01-08 14:28:27,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1) 2025-01-08 14:28:27,119 - INFO - Waiting for VM ctest-TestBasicPolicy-37977274-22565445 to be up.. 2025-01-08 14:28:27,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 14:28:32,302 - DEBUG - VM is in ACTIVE state now 2025-01-08 14:28:32,303 - INFO - VM name : ctest-TestBasicPolicy-37977274-22565445 2025-01-08 14:28:32,397 - DEBUG - VM ctest-TestBasicPolicy-37977274-22565445 ID is bdb74ef7-5e15-49c2-9dec-76898ff2fd67 2025-01-08 14:28:32,417 - DEBUG - VM ctest-TestBasicPolicy-37977274-22565445 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1 2025-01-08 14:28:32,507 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/bdb74ef7-5e15-49c2-9dec-76898ff2fd67 2025-01-08 14:28:32,517 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/18586c6b-3afe-4eb7-bf34-9437d7ebe860 2025-01-08 14:28:35,804 - 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 1029ms') 2025-01-08 14:28:35,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37977274-22565445 failed! 2025-01-08 14:28:35,859 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37977274:ctest-vn-85838368 is 4.251.4.1 and allocation pool is NOT set 2025-01-08 14:28:37,923 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.420/2.091/3.763/1.671 ms') 2025-01-08 14:28:37,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37977274-22565445 passed 2025-01-08 14:28:38,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:28:38,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37977274-22565445, IP 4.251.4.3, Port 22 2025-01-08 14:28:38,231 - DEBUG - VM ctest-TestBasicPolicy-37977274-22565445 is ready for SSH connections 2025-01-08 14:28:38,231 - INFO - Waiting for VM ctest-TestBasicPolicy-37977274-92026250 to be up.. 2025-01-08 14:28:38,313 - DEBUG - VM is in ACTIVE state now 2025-01-08 14:28:38,313 - INFO - VM name : ctest-TestBasicPolicy-37977274-92026250 2025-01-08 14:28:38,390 - DEBUG - VM ctest-TestBasicPolicy-37977274-92026250 ID is 68406a3c-0025-4910-bfb1-b8f236856518 2025-01-08 14:28:38,390 - DEBUG - VM ctest-TestBasicPolicy-37977274-92026250 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1 2025-01-08 14:28:38,464 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/68406a3c-0025-4910-bfb1-b8f236856518 2025-01-08 14:28:38,472 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/430870e9-a641-4306-a1bd-a047d9cef747 2025-01-08 14:28:39,709 - 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=3.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.729/3.033/1.304 ms') 2025-01-08 14:28:39,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37977274-92026250 passed 2025-01-08 14:28:39,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:28:39,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37977274-92026250, IP 26.62.135.67, Port 22 2025-01-08 14:28:40,018 - DEBUG - VM ctest-TestBasicPolicy-37977274-92026250 is ready for SSH connections 2025-01-08 14:28:40,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:28:40,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.62.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-08 14:28:40,018 - DEBUG - ping -s 56 -c 3 -W 1 26.62.135.67 2025-01-08 14:28:43,710 - DEBUG - PING 26.62.135.67 (26.62.135.67): 56 data bytes 64 bytes from 26.62.135.67: seq=0 ttl=63 time=3.225 ms 64 bytes from 26.62.135.67: seq=1 ttl=63 time=0.884 ms 64 bytes from 26.62.135.67: seq=2 ttl=63 time=1.057 ms --- 26.62.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/1.722/3.225 ms 2025-01-08 14:28:43,710 - INFO - Ping to IP 26.62.135.67 from VM ctest-TestBasicPolicy-37977274-22565445 passed 2025-01-08 14:28:43,894 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff7a0f2f-5ae2-43ee-8d80-0b748f41c8e3", "href": "http://10.0.0.53:8082/network-policy/ff7a0f2f-5ae2-43ee-8d80-0b748f41c8e3"}} 2025-01-08 14:28:43,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:28:43,895 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.62.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-08 14:28:43,895 - DEBUG - ping -s 56 -c 3 -W 1 26.62.135.67 2025-01-08 14:28:47,092 - DEBUG - PING 26.62.135.67 (26.62.135.67): 56 data bytes --- 26.62.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-08 14:28:47,092 - WARNING - Ping to IP 26.62.135.67 from VM ctest-TestBasicPolicy-37977274-22565445 failed 2025-01-08 14:28:47,093 - INFO - Deleting VM ctest-TestBasicPolicy-37977274-92026250 2025-01-08 14:28:47,162 - INFO - Deleting VM ctest-TestBasicPolicy-37977274-22565445 2025-01-08 14:28:47,556 - INFO - Deleted policy ctest-policy-allow-all-11042436 2025-01-08 14:28:47,556 - INFO - Deleting VN ctest-vn-07849453 2025-01-08 14:28:47,595 - DEBUG - VN 2a5893f2-ae20-48c3-b1ac-e56f99e331c1 still in use: Unable to complete operation on network 2a5893f2-ae20-48c3-b1ac-e56f99e331c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-52bd5de4-8486-4a11-850b-fb3b81c86956'] 2025-01-08 14:28:47,595 - WARNING - Deleting VN ctest-vn-07849453 failed..Will retry 2025-01-08 14:28:49,691 - DEBUG - Response for deleting network () 2025-01-08 14:28:49,692 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/ccedbaa1-831b-4fee-ba8f-171020ba0d02 2025-01-08 14:28:49,699 - DEBUG - Response Code: 404 2025-01-08 14:28:49,699 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:49,704 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:49,760 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:49,838 - INFO - Validated that VN ctest-vn-07849453 is not found in API Server 2025-01-08 14:28:49,849 - DEBUG - VN ctest-vn-07849453 is not present in Agent 10.0.0.53 2025-01-08 14:28:49,849 - INFO - Validated that VN ctest-vn-07849453 is not in any agent 2025-01-08 14:28:49,866 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07849453 info 2025-01-08 14:28:49,866 - INFO - Deleting VN ctest-vn-85838368 2025-01-08 14:28:49,966 - DEBUG - Response for deleting network () 2025-01-08 14:28:49,967 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/9e710ad7-68b7-4697-9245-ed975b3f1f80 2025-01-08 14:28:49,971 - DEBUG - Response Code: 404 2025-01-08 14:28:49,971 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-08 14:28:49,977 - DEBUG - Requesting: http://10.0.0.53:8082/domain/d8f49559-25a9-493b-8859-4c46e023cbed 2025-01-08 14:28:50,032 - DEBUG - Requesting: http://10.0.0.53:8082/project/a3faa2e4-da0d-40f1-9f56-36923bb319d1 2025-01-08 14:28:50,101 - INFO - Validated that VN ctest-vn-85838368 is not found in API Server 2025-01-08 14:28:50,113 - DEBUG - VN ctest-vn-85838368 is not present in Agent 10.0.0.53 2025-01-08 14:28:50,113 - INFO - Validated that VN ctest-vn-85838368 is not in any agent 2025-01-08 14:28:50,128 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85838368 info 2025-01-08 14:28:50,390 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 14:28:50,391 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-08 14:28:50,391 - INFO - -------------------------------------------------------------------------------- 2025-01-08 14:28:51,080 - INFO - Deleted project: ctest-TestBasicPolicy-37977274, ID : a3faa2e4-da0d-40f1-9f56-36923bb319d1