2025-04-15 03:48:41,328 - INFO - Domain Default found not creating 2025-04-15 03:48:41,486 - INFO - Project ctest-TestBasicPolicy-76720609 not found, creating it 2025-04-15 03:48:41,943 - INFO - Created Project:ctest-TestBasicPolicy-76720609, ID : 77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:48:43,380 - INFO - ================================================================================ 2025-04-15 03:48:43,380 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-15 03:48:43,380 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-04-15 03:48:43,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 03:48:43,640 - INFO - Initial checks done. Running the testcase now 2025-04-15 03:48:43,640 - INFO - 2025-04-15 03:48:44,168 - DEBUG - Response for create_network : {'network': {'id': 'a3fb7a57-affd-41a3-aba3-e179771c2817', 'name': 'ctest-vn-52088543', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'project_id': '77a0374079974a2e9ac26ad45490aee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-vn-52088543'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:44,370 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4d249bb-e3ae-468d-ad27-7652ca0f35cd', 'name': '', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'network_id': 'a3fb7a57-affd-41a3-aba3-e179771c2817', 'ip_version': 4, 'cidr': '184.107.113.128/26', 'allocation_pools': [{'start': '184.107.113.130', 'end': '184.107.113.190'}], 'gateway_ip': '184.107.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.107.113.130', 'tags': [], 'project_id': '77a0374079974a2e9ac26ad45490aee6'}} 2025-04-15 03:48:44,387 - INFO - Created VN ctest-vn-52088543 2025-04-15 03:48:44,437 - DEBUG - VN ctest-vn-52088543 UUID is a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:44,734 - DEBUG - Response for create_network : {'network': {'id': 'a2db5e2e-4cce-4afb-942b-e2de75d245cf', 'name': 'ctest-vn-23359040', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'project_id': '77a0374079974a2e9ac26ad45490aee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-vn-23359040'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:44,906 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc4c7081-c6a8-41d8-a1ad-522e94a3ffe5', 'name': '', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'network_id': 'a2db5e2e-4cce-4afb-942b-e2de75d245cf', 'ip_version': 4, 'cidr': '49.80.127.64/26', 'allocation_pools': [{'start': '49.80.127.66', 'end': '49.80.127.126'}], 'gateway_ip': '49.80.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.80.127.66', 'tags': [], 'project_id': '77a0374079974a2e9ac26ad45490aee6'}} 2025-04-15 03:48:45,050 - INFO - Created VN ctest-vn-23359040 2025-04-15 03:48:45,101 - DEBUG - VN ctest-vn-23359040 UUID is a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:45,253 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543, 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-76720609:ctest-vn-23359040, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-04-15 03:48:45,553 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3fb7a57-affd-41a3-aba3-e179771c2817', 'name': 'ctest-vn-52088543', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'project_id': '77a0374079974a2e9ac26ad45490aee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4d249bb-e3ae-468d-ad27-7652ca0f35cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-vn-52088543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-policy-allow-all-70342512']], 'subnet_ipam': [{'subnet_cidr': '184.107.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:45,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2db5e2e-4cce-4afb-942b-e2de75d245cf', 'name': 'ctest-vn-23359040', 'tenant_id': '77a0374079974a2e9ac26ad45490aee6', 'project_id': '77a0374079974a2e9ac26ad45490aee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc4c7081-c6a8-41d8-a1ad-522e94a3ffe5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-vn-23359040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-policy-allow-all-70342512']], 'subnet_ipam': [{'subnet_cidr': '49.80.127.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:45,933 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:48:46,228 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:48:46,254 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:48:46,267 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:48:46,340 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,350 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,358 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:48:46,365 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:48:46,372 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/9cc22f1c-c5e6-4951-a733-e44f0a0f3c94 2025-04-15 03:48:46,378 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 03:48:46,378 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,386 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:48:46,399 - INFO - Verified VN network id 9 for VN a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,399 - INFO - Verifications in API Server for VN ctest-vn-52088543 passed 2025-04-15 03:48:46,400 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,408 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:48:46,415 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:48:46,421 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/9cc22f1c-c5e6-4951-a733-e44f0a0f3c94 2025-04-15 03:48:46,434 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76720609', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11816172564369981859', 'uuid-lslong': '12367976913495140375'}, 'enable': 'true', 'created': '2025-04-15T03:48:44', 'last-modified': '2025-04-15T03:48:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904505'} 2025-04-15 03:48:46,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 03:48:46,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52088543 passed 2025-04-15 03:48:46,441 - DEBUG - ====Verifying policy data for ctest-vn-52088543 in API_Server ====== 2025-04-15 03:48:46,441 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:48:46,447 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:48:46,460 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:48:46,528 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a3fb7a57-affd-41a3-aba3-e179771c2817 2025-04-15 03:48:46,537 - DEBUG - ==>Verifying data for policy with id: 66b249b6-f854-4266-9fcf-065d74c48320, fqn: ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-policy-allow-all-70342512'] 2025-04-15 03:48:46,537 - INFO - VN ctest-vn-52088543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 03:48:46,537 - DEBUG - Verifying the vn in opserver 2025-04-15 03:48:46,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543 virtual network link through opserver 10.0.0.65 2025-04-15 03:48:46,537 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 03:48:46,832 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 03:48:46,885 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543?flat'} 2025-04-15 03:48:46,885 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543 is found in opserver 2025-04-15 03:48:46,897 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 03:48:46,902 - DEBUG - VRF ids for VN ctest-vn-52088543: {} 2025-04-15 03:48:46,902 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:48:46,908 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:48:46,919 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:48:46,986 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:46,997 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:47,006 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:48:47,013 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:48:47,019 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/b17ece6b-0e60-4feb-906a-11758d4d1a05 2025-04-15 03:48:47,025 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 03:48:47,025 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:47,033 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:48:47,045 - INFO - Verified VN network id 10 for VN a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:47,045 - INFO - Verifications in API Server for VN ctest-vn-23359040 passed 2025-04-15 03:48:47,045 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:47,053 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:48:47,059 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:48:47,064 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/b17ece6b-0e60-4feb-906a-11758d4d1a05 2025-04-15 03:48:47,077 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-23359040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76720609', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11735076806994053883', 'uuid-lslong': '10676876786699224527'}, 'enable': 'true', 'created': '2025-04-15T03:48:44', 'last-modified': '2025-04-15T03:48:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324454'} 2025-04-15 03:48:47,083 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 03:48:47,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23359040 passed 2025-04-15 03:48:47,083 - DEBUG - ====Verifying policy data for ctest-vn-23359040 in API_Server ====== 2025-04-15 03:48:47,083 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:48:47,089 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:48:47,100 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:48:47,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2db5e2e-4cce-4afb-942b-e2de75d245cf 2025-04-15 03:48:47,190 - DEBUG - ==>Verifying data for policy with id: 66b249b6-f854-4266-9fcf-065d74c48320, fqn: ['default-domain', 'ctest-TestBasicPolicy-76720609', 'ctest-policy-allow-all-70342512'] 2025-04-15 03:48:47,190 - INFO - VN ctest-vn-23359040 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 03:48:47,190 - DEBUG - Verifying the vn in opserver 2025-04-15 03:48:47,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-23359040 virtual network link through opserver 10.0.0.65 2025-04-15 03:48:47,190 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 03:48:47,201 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-23359040', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-23359040?flat'} 2025-04-15 03:48:47,201 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-23359040 is found in opserver 2025-04-15 03:48:47,212 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 03:48:47,218 - DEBUG - VRF ids for VN ctest-vn-23359040: {} 2025-04-15 03:48:47,275 - DEBUG - Services list from nova: [, , ] 2025-04-15 03:48:48,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3113-1) 2025-04-15 03:48:49,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3113-1) 2025-04-15 03:48:49,583 - INFO - Waiting for VM ctest-TestBasicPolicy-76720609-06928542 to be up.. 2025-04-15 03:48:49,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 03:48:54,761 - DEBUG - VM is in ACTIVE state now 2025-04-15 03:48:54,761 - INFO - VM name : ctest-TestBasicPolicy-76720609-06928542 2025-04-15 03:48:54,834 - DEBUG - VM ctest-TestBasicPolicy-76720609-06928542 ID is 9e708781-34ec-4a4a-abb0-4c842f768bf6 2025-04-15 03:48:54,852 - DEBUG - VM ctest-TestBasicPolicy-76720609-06928542 launched on Node cn-jenkins-deploy-platform-ansible-os-3113-1 2025-04-15 03:48:54,933 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9e708781-34ec-4a4a-abb0-4c842f768bf6 2025-04-15 03:48:54,940 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e5faeafc-25e5-4123-95cc-1b05dcdcaa7c 2025-04-15 03:48:58,193 - 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 1024ms') 2025-04-15 03:48:58,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76720609-06928542 failed! 2025-04-15 03:48:58,249 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76720609:ctest-vn-52088543 is 184.107.113.129 and allocation pool is NOT set 2025-04-15 03:49:00,311 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.755 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.755/2.019/3.284/1.264 ms') 2025-04-15 03:49:00,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76720609-06928542 passed 2025-04-15 03:49:00,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:49:00,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76720609-06928542, IP 184.107.113.131, Port 22 2025-04-15 03:49:00,651 - DEBUG - VM ctest-TestBasicPolicy-76720609-06928542 is ready for SSH connections 2025-04-15 03:49:00,652 - INFO - Waiting for VM ctest-TestBasicPolicy-76720609-64020618 to be up.. 2025-04-15 03:49:00,732 - DEBUG - VM is in ACTIVE state now 2025-04-15 03:49:00,732 - INFO - VM name : ctest-TestBasicPolicy-76720609-64020618 2025-04-15 03:49:00,809 - DEBUG - VM ctest-TestBasicPolicy-76720609-64020618 ID is b2082bba-0193-4089-b92c-300c10a05c76 2025-04-15 03:49:00,809 - DEBUG - VM ctest-TestBasicPolicy-76720609-64020618 launched on Node cn-jenkins-deploy-platform-ansible-os-3113-1 2025-04-15 03:49:00,881 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b2082bba-0193-4089-b92c-300c10a05c76 2025-04-15 03:49:00,889 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/bfa68082-5826-4045-a73c-9b5ab0f94c0c 2025-04-15 03:49:02,126 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.583/2.820/1.236 ms') 2025-04-15 03:49:02,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76720609-64020618 passed 2025-04-15 03:49:02,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:49:02,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76720609-64020618, IP 49.80.127.67, Port 22 2025-04-15 03:49:02,450 - DEBUG - VM ctest-TestBasicPolicy-76720609-64020618 is ready for SSH connections 2025-04-15 03:49:02,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:49:02,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.80.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 03:49:02,451 - DEBUG - ping -s 56 -c 3 -W 1 49.80.127.67 2025-04-15 03:49:06,113 - DEBUG - PING 49.80.127.67 (49.80.127.67): 56 data bytes 64 bytes from 49.80.127.67: seq=0 ttl=63 time=4.288 ms 64 bytes from 49.80.127.67: seq=1 ttl=63 time=0.939 ms 64 bytes from 49.80.127.67: seq=2 ttl=63 time=0.722 ms --- 49.80.127.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.983/4.288 ms 2025-04-15 03:49:06,113 - INFO - Ping to IP 49.80.127.67 from VM ctest-TestBasicPolicy-76720609-06928542 passed 2025-04-15 03:49:06,301 - DEBUG - Policy Update Response {"network-policy": {"uuid": "66b249b6-f854-4266-9fcf-065d74c48320", "href": "http://10.0.0.65:8082/network-policy/66b249b6-f854-4266-9fcf-065d74c48320"}} 2025-04-15 03:49:06,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:49:06,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.80.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 03:49:06,301 - DEBUG - ping -s 56 -c 3 -W 1 49.80.127.67 2025-04-15 03:49:09,507 - DEBUG - PING 49.80.127.67 (49.80.127.67): 56 data bytes --- 49.80.127.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-15 03:49:09,507 - WARNING - Ping to IP 49.80.127.67 from VM ctest-TestBasicPolicy-76720609-06928542 failed 2025-04-15 03:49:09,507 - INFO - Deleting VM ctest-TestBasicPolicy-76720609-64020618 2025-04-15 03:49:09,574 - INFO - Deleting VM ctest-TestBasicPolicy-76720609-06928542 2025-04-15 03:49:09,931 - INFO - Deleted policy ctest-policy-allow-all-70342512 2025-04-15 03:49:09,932 - INFO - Deleting VN ctest-vn-23359040 2025-04-15 03:49:09,965 - DEBUG - VN a2db5e2e-4cce-4afb-942b-e2de75d245cf still in use: Unable to complete operation on network a2db5e2e-4cce-4afb-942b-e2de75d245cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0926dc6f-51e9-4bb7-a116-cbfe28e154a9'] 2025-04-15 03:49:09,965 - WARNING - Deleting VN ctest-vn-23359040 failed..Will retry 2025-04-15 03:49:12,064 - DEBUG - Response for deleting network () 2025-04-15 03:49:12,064 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/52dcc1f2-cdc8-4c12-be86-30398316b29d 2025-04-15 03:49:12,069 - DEBUG - Response Code: 404 2025-04-15 03:49:12,069 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:49:12,079 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:49:12,135 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:49:12,205 - INFO - Validated that VN ctest-vn-23359040 is not found in API Server 2025-04-15 03:49:12,218 - DEBUG - VN ctest-vn-23359040 is not present in Agent 10.0.0.65 2025-04-15 03:49:12,218 - INFO - Validated that VN ctest-vn-23359040 is not in any agent 2025-04-15 03:49:12,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23359040 info 2025-04-15 03:49:12,235 - INFO - Deleting VN ctest-vn-52088543 2025-04-15 03:49:12,339 - DEBUG - Response for deleting network () 2025-04-15 03:49:12,339 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/49030687-97e2-4a98-90a4-052467fdb170 2025-04-15 03:49:12,346 - DEBUG - Response Code: 404 2025-04-15 03:49:12,347 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 03:49:12,353 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b960ea3b-d19b-445e-a4a5-bc2697b6a7f8 2025-04-15 03:49:12,410 - DEBUG - Requesting: http://10.0.0.65:8082/project/77a03740-7997-4a2e-9ac2-6ad45490aee6 2025-04-15 03:49:12,474 - INFO - Validated that VN ctest-vn-52088543 is not found in API Server 2025-04-15 03:49:12,485 - DEBUG - VN ctest-vn-52088543 is not present in Agent 10.0.0.65 2025-04-15 03:49:12,485 - INFO - Validated that VN ctest-vn-52088543 is not in any agent 2025-04-15 03:49:12,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52088543 info 2025-04-15 03:49:12,770 - DEBUG - No XMPP flaps were noticed during the test 2025-04-15 03:49:12,770 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-15 03:49:12,770 - INFO - -------------------------------------------------------------------------------- 2025-04-15 03:49:13,450 - INFO - Deleted project: ctest-TestBasicPolicy-76720609, ID : 77a03740-7997-4a2e-9ac2-6ad45490aee6