2025-01-15 17:35:40,671 - INFO - Domain Default found not creating 2025-01-15 17:35:40,808 - INFO - Project ctest-TestBasicPolicy-36334453 not found, creating it 2025-01-15 17:35:41,261 - INFO - Created Project:ctest-TestBasicPolicy-36334453, ID : 59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:35:42,657 - INFO - ================================================================================ 2025-01-15 17:35:42,657 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 17:35:42,657 - 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-15 17:35:42,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2025-01-15 17:35:42,912 - INFO - Initial checks done. Running the testcase now 2025-01-15 17:35:42,912 - INFO - 2025-01-15 17:35:43,461 - DEBUG - Response for create_network : {'network': {'id': '7a56ff2a-d4f1-455a-8752-f4271aa13684', 'name': 'ctest-vn-43251735', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'project_id': '59591ea2f4924b1f85a41899bb3e4b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-vn-43251735'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 17:35:43,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee41a3fa-f996-4ad4-9fa2-7fa731951213', 'name': '', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'network_id': '7a56ff2a-d4f1-455a-8752-f4271aa13684', 'ip_version': 4, 'cidr': '169.95.97.0/26', 'allocation_pools': [{'start': '169.95.97.2', 'end': '169.95.97.62'}], 'gateway_ip': '169.95.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.95.97.2', 'tags': [], 'project_id': '59591ea2f4924b1f85a41899bb3e4b93'}} 2025-01-15 17:35:43,652 - INFO - Created VN ctest-vn-43251735 2025-01-15 17:35:43,704 - DEBUG - VN ctest-vn-43251735 UUID is 7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:44,000 - DEBUG - Response for create_network : {'network': {'id': '6e0bdc72-0d9a-4a7a-bdc0-69415a617737', 'name': 'ctest-vn-58368110', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'project_id': '59591ea2f4924b1f85a41899bb3e4b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-vn-58368110'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 17:35:44,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '20d8f571-f02f-45d7-8833-4468366f1d5e', 'name': '', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'network_id': '6e0bdc72-0d9a-4a7a-bdc0-69415a617737', 'ip_version': 4, 'cidr': '70.171.56.64/26', 'allocation_pools': [{'start': '70.171.56.66', 'end': '70.171.56.126'}], 'gateway_ip': '70.171.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.171.56.66', 'tags': [], 'project_id': '59591ea2f4924b1f85a41899bb3e4b93'}} 2025-01-15 17:35:44,207 - INFO - Created VN ctest-vn-58368110 2025-01-15 17:35:44,260 - DEBUG - VN ctest-vn-58368110 UUID is 6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:44,408 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735, 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-36334453:ctest-vn-58368110, 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-15 17:35:44,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a56ff2a-d4f1-455a-8752-f4271aa13684', 'name': 'ctest-vn-43251735', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'project_id': '59591ea2f4924b1f85a41899bb3e4b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee41a3fa-f996-4ad4-9fa2-7fa731951213'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-vn-43251735'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-policy-allow-all-71251105']], 'subnet_ipam': [{'subnet_cidr': '169.95.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 17:35:44,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e0bdc72-0d9a-4a7a-bdc0-69415a617737', 'name': 'ctest-vn-58368110', 'tenant_id': '59591ea2f4924b1f85a41899bb3e4b93', 'project_id': '59591ea2f4924b1f85a41899bb3e4b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20d8f571-f02f-45d7-8833-4468366f1d5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-vn-58368110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-policy-allow-all-71251105']], 'subnet_ipam': [{'subnet_cidr': '70.171.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 17:35:45,084 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:35:45,376 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:35:45,409 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:35:45,424 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:35:45,497 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,509 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,518 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:35:45,525 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:35:45,531 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/7fbde974-10ac-4bf5-ba12-cf2a6604d4dc 2025-01-15 17:35:45,537 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 17:35:45,537 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,545 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:35:45,559 - INFO - Verified VN network id 8 for VN 7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,559 - INFO - Verifications in API Server for VN ctest-vn-43251735 passed 2025-01-15 17:35:45,559 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,568 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:35:45,574 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:35:45,581 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/7fbde974-10ac-4bf5-ba12-cf2a6604d4dc 2025-01-15 17:35:45,594 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36334453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8815513880050615642', 'uuid-lslong': '9751124591998219908'}, 'enable': 'true', 'created': '2025-01-15T17:35:43', 'last-modified': '2025-01-15T17:35:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918466'} 2025-01-15 17:35:45,600 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 17:35:45,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43251735 passed 2025-01-15 17:35:45,600 - DEBUG - ====Verifying policy data for ctest-vn-43251735 in API_Server ====== 2025-01-15 17:35:45,600 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:35:45,606 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:35:45,617 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:35:45,689 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/7a56ff2a-d4f1-455a-8752-f4271aa13684 2025-01-15 17:35:45,700 - DEBUG - ==>Verifying data for policy with id: b48c0ba6-7bf7-4395-ad1c-eca0abe4f1f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-policy-allow-all-71251105'] 2025-01-15 17:35:45,700 - INFO - VN ctest-vn-43251735 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 17:35:45,700 - DEBUG - Verifying the vn in opserver 2025-01-15 17:35:45,700 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735 virtual network link through opserver 10.0.0.31 2025-01-15 17:35:45,700 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-15 17:35:45,998 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-15 17:35:46,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735?flat'} 2025-01-15 17:35:46,064 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735 is found in opserver 2025-01-15 17:35:46,076 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 17:35:46,081 - DEBUG - VRF ids for VN ctest-vn-43251735: {} 2025-01-15 17:35:46,081 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:35:46,087 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:35:46,098 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:35:46,166 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,177 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,186 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:35:46,193 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:35:46,199 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/e7bf1fc2-1490-4607-aa1a-b60c2c7a53d3 2025-01-15 17:35:46,205 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 17:35:46,205 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,214 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:35:46,230 - INFO - Verified VN network id 9 for VN 6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,231 - INFO - Verifications in API Server for VN ctest-vn-58368110 passed 2025-01-15 17:35:46,231 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,242 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:35:46,249 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:35:46,255 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/e7bf1fc2-1490-4607-aa1a-b60c2c7a53d3 2025-01-15 17:35:46,266 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-58368110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36334453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7929673951328488058', 'uuid-lslong': '13673044198106953527'}, 'enable': 'true', 'created': '2025-01-15T17:35:43', 'last-modified': '2025-01-15T17:35:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361895'} 2025-01-15 17:35:46,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 17:35:46,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58368110 passed 2025-01-15 17:35:46,272 - DEBUG - ====Verifying policy data for ctest-vn-58368110 in API_Server ====== 2025-01-15 17:35:46,273 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:35:46,277 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:35:46,288 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:35:46,357 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/6e0bdc72-0d9a-4a7a-bdc0-69415a617737 2025-01-15 17:35:46,366 - DEBUG - ==>Verifying data for policy with id: b48c0ba6-7bf7-4395-ad1c-eca0abe4f1f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-36334453', 'ctest-policy-allow-all-71251105'] 2025-01-15 17:35:46,366 - INFO - VN ctest-vn-58368110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 17:35:46,366 - DEBUG - Verifying the vn in opserver 2025-01-15 17:35:46,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-58368110 virtual network link through opserver 10.0.0.31 2025-01-15 17:35:46,366 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-15 17:35:46,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-58368110', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-58368110?flat'} 2025-01-15 17:35:46,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-58368110 is found in opserver 2025-01-15 17:35:46,385 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 17:35:46,390 - DEBUG - VRF ids for VN ctest-vn-58368110: {} 2025-01-15 17:35:46,439 - DEBUG - Services list from nova: [, , ] 2025-01-15 17:35:47,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2643-1) 2025-01-15 17:35:48,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2643-1) 2025-01-15 17:35:48,626 - INFO - Waiting for VM ctest-TestBasicPolicy-36334453-78460838 to be up.. 2025-01-15 17:35:48,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 17:35:53,784 - DEBUG - VM is in ACTIVE state now 2025-01-15 17:35:53,784 - INFO - VM name : ctest-TestBasicPolicy-36334453-78460838 2025-01-15 17:35:53,856 - DEBUG - VM ctest-TestBasicPolicy-36334453-78460838 ID is 2af6facb-c974-4b5e-8900-efa03c2a358f 2025-01-15 17:35:53,873 - DEBUG - VM ctest-TestBasicPolicy-36334453-78460838 launched on Node cn-jenkins-deploy-platform-ansible-os-2643-1 2025-01-15 17:35:53,947 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/2af6facb-c974-4b5e-8900-efa03c2a358f 2025-01-15 17:35:53,958 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e3b2c3e5-29b7-437f-8448-dcb20daa8823 2025-01-15 17:35:57,234 - 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 1032ms') 2025-01-15 17:35:57,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36334453-78460838 failed! 2025-01-15 17:35:57,288 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36334453:ctest-vn-43251735 is 169.95.97.1 and allocation pool is NOT set 2025-01-15 17:35:59,343 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/1.555/2.718/1.162 ms') 2025-01-15 17:35:59,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36334453-78460838 passed 2025-01-15 17:35:59,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:35:59,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36334453-78460838, IP 169.95.97.3, Port 22 2025-01-15 17:35:59,651 - DEBUG - VM ctest-TestBasicPolicy-36334453-78460838 is ready for SSH connections 2025-01-15 17:35:59,651 - INFO - Waiting for VM ctest-TestBasicPolicy-36334453-70066478 to be up.. 2025-01-15 17:35:59,730 - DEBUG - VM is in ACTIVE state now 2025-01-15 17:35:59,730 - INFO - VM name : ctest-TestBasicPolicy-36334453-70066478 2025-01-15 17:35:59,809 - DEBUG - VM ctest-TestBasicPolicy-36334453-70066478 ID is 33ad89f3-989b-438c-8f87-7f567274bc57 2025-01-15 17:35:59,809 - DEBUG - VM ctest-TestBasicPolicy-36334453-70066478 launched on Node cn-jenkins-deploy-platform-ansible-os-2643-1 2025-01-15 17:35:59,885 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/33ad89f3-989b-438c-8f87-7f567274bc57 2025-01-15 17:35:59,894 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e3d02636-3972-478a-98c0-5e30eeb26381 2025-01-15 17:36:01,128 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.398/2.058/3.718/1.660 ms') 2025-01-15 17:36:01,129 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36334453-70066478 passed 2025-01-15 17:36:01,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:36:01,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36334453-70066478, IP 70.171.56.67, Port 22 2025-01-15 17:36:01,431 - DEBUG - VM ctest-TestBasicPolicy-36334453-70066478 is ready for SSH connections 2025-01-15 17:36:01,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:36:01,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.171.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-15 17:36:01,431 - DEBUG - ping -s 56 -c 3 -W 1 70.171.56.67 2025-01-15 17:36:05,410 - DEBUG - PING 70.171.56.67 (70.171.56.67): 56 data bytes 64 bytes from 70.171.56.67: seq=0 ttl=63 time=3.453 ms 64 bytes from 70.171.56.67: seq=1 ttl=63 time=0.820 ms 64 bytes from 70.171.56.67: seq=2 ttl=63 time=0.971 ms --- 70.171.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.748/3.453 ms 2025-01-15 17:36:05,410 - INFO - Ping to IP 70.171.56.67 from VM ctest-TestBasicPolicy-36334453-78460838 passed 2025-01-15 17:36:05,592 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b48c0ba6-7bf7-4395-ad1c-eca0abe4f1f4", "href": "http://10.0.0.31:8082/network-policy/b48c0ba6-7bf7-4395-ad1c-eca0abe4f1f4"}} 2025-01-15 17:36:05,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:36:05,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.171.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-15 17:36:05,592 - DEBUG - ping -s 56 -c 3 -W 1 70.171.56.67 2025-01-15 17:36:08,802 - DEBUG - PING 70.171.56.67 (70.171.56.67): 56 data bytes --- 70.171.56.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-15 17:36:08,802 - WARNING - Ping to IP 70.171.56.67 from VM ctest-TestBasicPolicy-36334453-78460838 failed 2025-01-15 17:36:08,802 - INFO - Deleting VM ctest-TestBasicPolicy-36334453-70066478 2025-01-15 17:36:08,868 - INFO - Deleting VM ctest-TestBasicPolicy-36334453-78460838 2025-01-15 17:36:09,265 - INFO - Deleted policy ctest-policy-allow-all-71251105 2025-01-15 17:36:09,266 - INFO - Deleting VN ctest-vn-58368110 2025-01-15 17:36:09,306 - DEBUG - VN 6e0bdc72-0d9a-4a7a-bdc0-69415a617737 still in use: Unable to complete operation on network 6e0bdc72-0d9a-4a7a-bdc0-69415a617737. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f03b7c81-f645-4b37-af87-fea0aa13d895'] 2025-01-15 17:36:09,307 - WARNING - Deleting VN ctest-vn-58368110 failed..Will retry 2025-01-15 17:36:11,411 - DEBUG - Response for deleting network () 2025-01-15 17:36:11,411 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/34919bd9-8ea8-4bef-a6bd-f22d042826fd 2025-01-15 17:36:11,417 - DEBUG - Response Code: 404 2025-01-15 17:36:11,417 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:36:11,423 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:36:11,481 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:36:11,549 - INFO - Validated that VN ctest-vn-58368110 is not found in API Server 2025-01-15 17:36:11,560 - DEBUG - VN ctest-vn-58368110 is not present in Agent 10.0.0.31 2025-01-15 17:36:11,560 - INFO - Validated that VN ctest-vn-58368110 is not in any agent 2025-01-15 17:36:11,576 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58368110 info 2025-01-15 17:36:11,576 - INFO - Deleting VN ctest-vn-43251735 2025-01-15 17:36:11,690 - DEBUG - Response for deleting network () 2025-01-15 17:36:11,690 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b18162b6-f111-4182-b8cb-66986032b2eb 2025-01-15 17:36:11,696 - DEBUG - Response Code: 404 2025-01-15 17:36:11,697 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-15 17:36:11,702 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4329c394-325b-40df-8763-b19b6472811a 2025-01-15 17:36:11,757 - DEBUG - Requesting: http://10.0.0.31:8082/project/59591ea2-f492-4b1f-85a4-1899bb3e4b93 2025-01-15 17:36:11,831 - INFO - Validated that VN ctest-vn-43251735 is not found in API Server 2025-01-15 17:36:11,843 - DEBUG - VN ctest-vn-43251735 is not present in Agent 10.0.0.31 2025-01-15 17:36:11,843 - INFO - Validated that VN ctest-vn-43251735 is not in any agent 2025-01-15 17:36:11,858 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43251735 info 2025-01-15 17:36:12,113 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 17:36:12,113 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-15 17:36:12,113 - INFO - -------------------------------------------------------------------------------- 2025-01-15 17:36:12,786 - INFO - Deleted project: ctest-TestBasicPolicy-36334453, ID : 59591ea2-f492-4b1f-85a4-1899bb3e4b93