2025-03-28 22:37:57,859 - INFO - Domain Default found not creating 2025-03-28 22:37:57,999 - INFO - Project ctest-TestBasicPolicy-71824985 not found, creating it 2025-03-28 22:37:58,467 - INFO - Created Project:ctest-TestBasicPolicy-71824985, ID : 60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:37:59,861 - INFO - ================================================================================ 2025-03-28 22:37:59,861 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-28 22:37:59,861 - 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-28 22:38:00,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.10': '0'}} with 2025-03-28 22:38:00,122 - INFO - Initial checks done. Running the testcase now 2025-03-28 22:38:00,122 - INFO - 2025-03-28 22:38:00,904 - DEBUG - Response for create_network : {'network': {'id': '53d7e829-c6eb-4b0e-95ac-28e71c956bb0', 'name': 'ctest-vn-35534149', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'project_id': '60ead4311a7e4312ac6cbfecb11af58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-vn-35534149'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 22:38:01,054 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c92932a3-6ecb-4bea-8366-16184b17f4e2', 'name': '', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'network_id': '53d7e829-c6eb-4b0e-95ac-28e71c956bb0', 'ip_version': 4, 'cidr': '73.255.90.64/26', 'allocation_pools': [{'start': '73.255.90.66', 'end': '73.255.90.126'}], 'gateway_ip': '73.255.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.255.90.66', 'tags': [], 'project_id': '60ead4311a7e4312ac6cbfecb11af58e'}} 2025-03-28 22:38:01,073 - INFO - Created VN ctest-vn-35534149 2025-03-28 22:38:01,128 - DEBUG - VN ctest-vn-35534149 UUID is 53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:01,419 - DEBUG - Response for create_network : {'network': {'id': 'afbd91bb-2865-4491-ab95-166de4280e28', 'name': 'ctest-vn-22131110', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'project_id': '60ead4311a7e4312ac6cbfecb11af58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-vn-22131110'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 22:38:01,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bf54176-9025-4522-acca-5fc87e5d0a2f', 'name': '', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'network_id': 'afbd91bb-2865-4491-ab95-166de4280e28', 'ip_version': 4, 'cidr': '209.253.200.0/26', 'allocation_pools': [{'start': '209.253.200.2', 'end': '209.253.200.62'}], 'gateway_ip': '209.253.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.253.200.2', 'tags': [], 'project_id': '60ead4311a7e4312ac6cbfecb11af58e'}} 2025-03-28 22:38:01,607 - INFO - Created VN ctest-vn-22131110 2025-03-28 22:38:01,664 - DEBUG - VN ctest-vn-22131110 UUID is afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:01,816 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149, 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-71824985:ctest-vn-22131110, 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-28 22:38:02,122 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53d7e829-c6eb-4b0e-95ac-28e71c956bb0', 'name': 'ctest-vn-35534149', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'project_id': '60ead4311a7e4312ac6cbfecb11af58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c92932a3-6ecb-4bea-8366-16184b17f4e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-vn-35534149'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-policy-allow-all-97472807']], 'subnet_ipam': [{'subnet_cidr': '73.255.90.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 22:38:02,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afbd91bb-2865-4491-ab95-166de4280e28', 'name': 'ctest-vn-22131110', 'tenant_id': '60ead4311a7e4312ac6cbfecb11af58e', 'project_id': '60ead4311a7e4312ac6cbfecb11af58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1bf54176-9025-4522-acca-5fc87e5d0a2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-vn-22131110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-policy-allow-all-97472807']], 'subnet_ipam': [{'subnet_cidr': '209.253.200.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 22:38:02,556 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:02,853 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:02,890 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:02,903 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:02,977 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:02,988 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:03,000 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:03,010 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:03,019 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/d26ad1bb-71c0-4ba4-ad7e-af4f6350509d 2025-03-28 22:38:03,027 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 22:38:03,027 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:03,038 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:03,054 - INFO - Verified VN network id 9 for VN 53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:03,054 - INFO - Verifications in API Server for VN ctest-vn-35534149 passed 2025-03-28 22:38:03,054 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:03,064 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:03,071 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:03,078 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/d26ad1bb-71c0-4ba4-ad7e-af4f6350509d 2025-03-28 22:38:03,090 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71824985', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6041552691269421838', 'uuid-lslong': '10785040180727606192'}, 'enable': 'true', 'created': '2025-03-28T22:38:00', 'last-modified': '2025-03-28T22:38:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994625'} 2025-03-28 22:38:03,097 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 22:38:03,097 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35534149 passed 2025-03-28 22:38:03,097 - DEBUG - ====Verifying policy data for ctest-vn-35534149 in API_Server ====== 2025-03-28 22:38:03,097 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:03,103 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:03,115 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:03,191 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/53d7e829-c6eb-4b0e-95ac-28e71c956bb0 2025-03-28 22:38:03,201 - DEBUG - ==>Verifying data for policy with id: dbe5c16a-1000-419f-b49e-4e2e031b7a4c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-policy-allow-all-97472807'] 2025-03-28 22:38:03,201 - INFO - VN ctest-vn-35534149 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 22:38:03,201 - DEBUG - Verifying the vn in opserver 2025-03-28 22:38:03,201 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149 virtual network link through opserver 10.0.0.34 2025-03-28 22:38:03,201 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-03-28 22:38:03,491 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-03-28 22:38:03,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149?flat'} 2025-03-28 22:38:03,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149 is found in opserver 2025-03-28 22:38:03,557 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 22:38:03,563 - DEBUG - VRF ids for VN ctest-vn-35534149: {} 2025-03-28 22:38:03,563 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:03,569 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:03,582 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:03,654 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,669 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,679 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:03,688 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:03,696 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/7c17654f-2a5d-43a3-bf20-7616d21775df 2025-03-28 22:38:03,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 22:38:03,704 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,713 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:03,729 - INFO - Verified VN network id 10 for VN afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,729 - INFO - Verifications in API Server for VN ctest-vn-22131110 passed 2025-03-28 22:38:03,729 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,740 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:03,748 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:03,755 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/7c17654f-2a5d-43a3-bf20-7616d21775df 2025-03-28 22:38:03,768 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-22131110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71824985', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12663437960258339985', 'uuid-lslong': '12363813013250641448'}, 'enable': 'true', 'created': '2025-03-28T22:38:01', 'last-modified': '2025-03-28T22:38:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432951'} 2025-03-28 22:38:03,774 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 22:38:03,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22131110 passed 2025-03-28 22:38:03,775 - DEBUG - ====Verifying policy data for ctest-vn-22131110 in API_Server ====== 2025-03-28 22:38:03,775 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:03,780 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:03,792 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:03,867 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/afbd91bb-2865-4491-ab95-166de4280e28 2025-03-28 22:38:03,877 - DEBUG - ==>Verifying data for policy with id: dbe5c16a-1000-419f-b49e-4e2e031b7a4c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71824985', 'ctest-policy-allow-all-97472807'] 2025-03-28 22:38:03,877 - INFO - VN ctest-vn-22131110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 22:38:03,877 - DEBUG - Verifying the vn in opserver 2025-03-28 22:38:03,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-22131110 virtual network link through opserver 10.0.0.34 2025-03-28 22:38:03,877 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-03-28 22:38:03,888 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-22131110', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-22131110?flat'} 2025-03-28 22:38:03,888 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-22131110 is found in opserver 2025-03-28 22:38:03,898 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 22:38:03,904 - DEBUG - VRF ids for VN ctest-vn-22131110: {} 2025-03-28 22:38:03,961 - DEBUG - Services list from nova: [, , ] 2025-03-28 22:38:04,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2997-1) 2025-03-28 22:38:06,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2997-1) 2025-03-28 22:38:06,179 - INFO - Waiting for VM ctest-TestBasicPolicy-71824985-73645063 to be up.. 2025-03-28 22:38:06,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 22:38:11,342 - DEBUG - VM is in ACTIVE state now 2025-03-28 22:38:11,342 - INFO - VM name : ctest-TestBasicPolicy-71824985-73645063 2025-03-28 22:38:11,420 - DEBUG - VM ctest-TestBasicPolicy-71824985-73645063 ID is 32f3f272-6222-469b-b203-3d061868fd48 2025-03-28 22:38:11,443 - DEBUG - VM ctest-TestBasicPolicy-71824985-73645063 launched on Node cn-jenkins-deploy-platform-ansible-os-2997-1 2025-03-28 22:38:11,533 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/32f3f272-6222-469b-b203-3d061868fd48 2025-03-28 22:38:11,546 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/19da535d-6745-4f1e-b149-95204aac71d6 2025-03-28 22:38:14,817 - 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 1027ms') 2025-03-28 22:38:14,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71824985-73645063 failed! 2025-03-28 22:38:14,876 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71824985:ctest-vn-35534149 is 73.255.90.65 and allocation pool is NOT set 2025-03-28 22:38:16,934 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.942 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.942/4.284/7.626/3.342 ms') 2025-03-28 22:38:16,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71824985-73645063 passed 2025-03-28 22:38:17,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 22:38:17,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71824985-73645063, IP 73.255.90.67, Port 22 2025-03-28 22:38:17,239 - DEBUG - VM ctest-TestBasicPolicy-71824985-73645063 is ready for SSH connections 2025-03-28 22:38:17,239 - INFO - Waiting for VM ctest-TestBasicPolicy-71824985-32490560 to be up.. 2025-03-28 22:38:17,323 - DEBUG - VM is in ACTIVE state now 2025-03-28 22:38:17,323 - INFO - VM name : ctest-TestBasicPolicy-71824985-32490560 2025-03-28 22:38:17,408 - DEBUG - VM ctest-TestBasicPolicy-71824985-32490560 ID is 425ebc8f-c17f-4ba0-8533-92102c2fa9e0 2025-03-28 22:38:17,408 - DEBUG - VM ctest-TestBasicPolicy-71824985-32490560 launched on Node cn-jenkins-deploy-platform-ansible-os-2997-1 2025-03-28 22:38:17,489 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/425ebc8f-c17f-4ba0-8533-92102c2fa9e0 2025-03-28 22:38:17,502 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/0ab8cd9c-19b9-4ca6-b16d-6f1ef70b3478 2025-03-28 22:38:18,745 - 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.386 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.386/1.707/3.028/1.321 ms') 2025-03-28 22:38:18,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71824985-32490560 passed 2025-03-28 22:38:18,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 22:38:18,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71824985-32490560, IP 209.253.200.3, Port 22 2025-03-28 22:38:19,052 - DEBUG - VM ctest-TestBasicPolicy-71824985-32490560 is ready for SSH connections 2025-03-28 22:38:19,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 22:38:19,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.253.200.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-28 22:38:19,052 - DEBUG - ping -s 56 -c 3 -W 1 209.253.200.3 2025-03-28 22:38:22,744 - DEBUG - PING 209.253.200.3 (209.253.200.3): 56 data bytes 64 bytes from 209.253.200.3: seq=0 ttl=63 time=3.303 ms 64 bytes from 209.253.200.3: seq=1 ttl=63 time=0.804 ms 64 bytes from 209.253.200.3: seq=2 ttl=63 time=0.778 ms --- 209.253.200.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.628/3.303 ms 2025-03-28 22:38:22,744 - INFO - Ping to IP 209.253.200.3 from VM ctest-TestBasicPolicy-71824985-73645063 passed 2025-03-28 22:38:22,928 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dbe5c16a-1000-419f-b49e-4e2e031b7a4c", "href": "http://10.0.0.34:8082/network-policy/dbe5c16a-1000-419f-b49e-4e2e031b7a4c"}} 2025-03-28 22:38:22,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 22:38:22,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.253.200.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-28 22:38:22,928 - DEBUG - ping -s 56 -c 3 -W 1 209.253.200.3 2025-03-28 22:38:26,153 - DEBUG - PING 209.253.200.3 (209.253.200.3): 56 data bytes --- 209.253.200.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-28 22:38:26,154 - WARNING - Ping to IP 209.253.200.3 from VM ctest-TestBasicPolicy-71824985-73645063 failed 2025-03-28 22:38:26,154 - INFO - Deleting VM ctest-TestBasicPolicy-71824985-32490560 2025-03-28 22:38:26,238 - INFO - Deleting VM ctest-TestBasicPolicy-71824985-73645063 2025-03-28 22:38:26,662 - INFO - Deleted policy ctest-policy-allow-all-97472807 2025-03-28 22:38:26,662 - INFO - Deleting VN ctest-vn-22131110 2025-03-28 22:38:26,714 - DEBUG - VN afbd91bb-2865-4491-ab95-166de4280e28 still in use: Unable to complete operation on network afbd91bb-2865-4491-ab95-166de4280e28. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-031c944a-3f80-4605-a501-6ccf63754339'] 2025-03-28 22:38:26,715 - WARNING - Deleting VN ctest-vn-22131110 failed..Will retry 2025-03-28 22:38:28,818 - DEBUG - Response for deleting network () 2025-03-28 22:38:28,818 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/127cce02-c9b3-4540-b575-bcfdc7bf274a 2025-03-28 22:38:28,824 - DEBUG - Response Code: 404 2025-03-28 22:38:28,824 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:28,830 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:28,886 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:28,959 - INFO - Validated that VN ctest-vn-22131110 is not found in API Server 2025-03-28 22:38:28,970 - DEBUG - VN ctest-vn-22131110 is not present in Agent 10.0.0.34 2025-03-28 22:38:28,970 - INFO - Validated that VN ctest-vn-22131110 is not in any agent 2025-03-28 22:38:28,985 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22131110 info 2025-03-28 22:38:28,985 - INFO - Deleting VN ctest-vn-35534149 2025-03-28 22:38:29,088 - DEBUG - Response for deleting network () 2025-03-28 22:38:29,088 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cc273145-5144-4efa-9fbe-853948c51653 2025-03-28 22:38:29,095 - DEBUG - Response Code: 404 2025-03-28 22:38:29,095 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-03-28 22:38:29,101 - DEBUG - Requesting: http://10.0.0.34:8082/domain/0280b7f9-de13-442d-a946-39c31e2ef1b1 2025-03-28 22:38:29,154 - DEBUG - Requesting: http://10.0.0.34:8082/project/60ead431-1a7e-4312-ac6c-bfecb11af58e 2025-03-28 22:38:29,232 - INFO - Validated that VN ctest-vn-35534149 is not found in API Server 2025-03-28 22:38:29,243 - DEBUG - VN ctest-vn-35534149 is not present in Agent 10.0.0.34 2025-03-28 22:38:29,243 - INFO - Validated that VN ctest-vn-35534149 is not in any agent 2025-03-28 22:38:29,259 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35534149 info 2025-03-28 22:38:29,514 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 22:38:29,514 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-28 22:38:29,514 - INFO - -------------------------------------------------------------------------------- 2025-03-28 22:38:30,176 - INFO - Deleted project: ctest-TestBasicPolicy-71824985, ID : 60ead431-1a7e-4312-ac6c-bfecb11af58e