2025-07-22 11:29:37,819 - INFO - Domain Default found not creating 2025-07-22 11:29:37,978 - INFO - Project ctest-TestBasicPolicy-92369509 not found, creating it 2025-07-22 11:29:38,480 - INFO - Created Project:ctest-TestBasicPolicy-92369509, ID : 5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:29:39,931 - INFO - ================================================================================ 2025-07-22 11:29:39,931 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 11:29:39,931 - 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-07-22 11:29:40,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with 2025-07-22 11:29:40,192 - INFO - Initial checks done. Running the testcase now 2025-07-22 11:29:40,192 - INFO - 2025-07-22 11:29:41,318 - DEBUG - Response for create_network : {'network': {'id': '38140559-6346-4261-bf51-4a48f963091d', 'name': 'ctest-vn-63857013', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'project_id': '5aeb28b705474d2ead5b46d71d4794e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-vn-63857013'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:29:41,491 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c6e4278-d7c0-4d42-828d-74d4e395c4e9', 'name': '', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'network_id': '38140559-6346-4261-bf51-4a48f963091d', 'ip_version': 4, 'cidr': '91.27.97.192/26', 'allocation_pools': [{'start': '91.27.97.194', 'end': '91.27.97.254'}], 'gateway_ip': '91.27.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.27.97.194', 'tags': [], 'project_id': '5aeb28b705474d2ead5b46d71d4794e4'}} 2025-07-22 11:29:41,512 - INFO - Created VN ctest-vn-63857013 2025-07-22 11:29:41,569 - DEBUG - VN ctest-vn-63857013 UUID is 38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:41,908 - DEBUG - Response for create_network : {'network': {'id': '9b44d101-23aa-4049-bb43-bdf731f5b00c', 'name': 'ctest-vn-82980869', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'project_id': '5aeb28b705474d2ead5b46d71d4794e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-vn-82980869'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:29:42,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '54abc979-4c35-49df-aa8a-83b999957ba1', 'name': '', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'network_id': '9b44d101-23aa-4049-bb43-bdf731f5b00c', 'ip_version': 4, 'cidr': '154.151.82.128/26', 'allocation_pools': [{'start': '154.151.82.130', 'end': '154.151.82.190'}], 'gateway_ip': '154.151.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.151.82.130', 'tags': [], 'project_id': '5aeb28b705474d2ead5b46d71d4794e4'}} 2025-07-22 11:29:42,150 - INFO - Created VN ctest-vn-82980869 2025-07-22 11:29:42,205 - DEBUG - VN ctest-vn-82980869 UUID is 9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:42,329 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013, 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-92369509:ctest-vn-82980869, 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-07-22 11:29:42,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38140559-6346-4261-bf51-4a48f963091d', 'name': 'ctest-vn-63857013', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'project_id': '5aeb28b705474d2ead5b46d71d4794e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c6e4278-d7c0-4d42-828d-74d4e395c4e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-vn-63857013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-policy-allow-all-19185184']], 'subnet_ipam': [{'subnet_cidr': '91.27.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:29:42,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b44d101-23aa-4049-bb43-bdf731f5b00c', 'name': 'ctest-vn-82980869', 'tenant_id': '5aeb28b705474d2ead5b46d71d4794e4', 'project_id': '5aeb28b705474d2ead5b46d71d4794e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54abc979-4c35-49df-aa8a-83b999957ba1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-vn-82980869'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-policy-allow-all-19185184']], 'subnet_ipam': [{'subnet_cidr': '154.151.82.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:29:43,033 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:29:43,338 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:29:43,370 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:29:43,385 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:29:43,464 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,476 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,488 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:29:43,497 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:29:43,505 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bcdc9859-bf4b-4b41-8ee9-c6293b0d457d 2025-07-22 11:29:43,513 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 11:29:43,513 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,524 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:29:43,543 - INFO - Verified VN network id 12 for VN 38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,543 - INFO - Verifications in API Server for VN ctest-vn-63857013 passed 2025-07-22 11:29:43,543 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,557 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:29:43,566 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:29:43,576 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bcdc9859-bf4b-4b41-8ee9-c6293b0d457d 2025-07-22 11:29:43,592 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92369509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4040860647133954657', 'uuid-lslong': '13785881611639916829'}, 'enable': 'true', 'created': '2025-07-22T11:29:41', 'last-modified': '2025-07-22T11:29:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977641'} 2025-07-22 11:29:43,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 11:29:43,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63857013 passed 2025-07-22 11:29:43,599 - DEBUG - ====Verifying policy data for ctest-vn-63857013 in API_Server ====== 2025-07-22 11:29:43,599 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:29:43,605 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:29:43,618 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:29:43,693 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/38140559-6346-4261-bf51-4a48f963091d 2025-07-22 11:29:43,703 - DEBUG - ==>Verifying data for policy with id: 0fa67036-8e98-4bd1-a827-a86fe71040b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-policy-allow-all-19185184'] 2025-07-22 11:29:43,703 - INFO - VN ctest-vn-63857013 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 11:29:43,703 - DEBUG - Verifying the vn in opserver 2025-07-22 11:29:43,703 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013 virtual network link through opserver 10.0.0.65 2025-07-22 11:29:43,704 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 11:29:43,994 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 11:29:44,057 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013?flat'} 2025-07-22 11:29:44,057 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013 is found in opserver 2025-07-22 11:29:44,069 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 11:29:44,076 - DEBUG - VRF ids for VN ctest-vn-63857013: {} 2025-07-22 11:29:44,076 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:29:44,084 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:29:44,098 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:29:44,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,197 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,209 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:29:44,219 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:29:44,228 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/68fc91e6-6a52-43eb-944d-37a54d82ca89 2025-07-22 11:29:44,237 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 11:29:44,237 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,248 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:29:44,266 - INFO - Verified VN network id 13 for VN 9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,266 - INFO - Verifications in API Server for VN ctest-vn-82980869 passed 2025-07-22 11:29:44,267 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,279 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:29:44,288 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:29:44,296 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/68fc91e6-6a52-43eb-944d-37a54d82ca89 2025-07-22 11:29:44,313 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-82980869', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92369509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11188297177118687305', 'uuid-lslong': '13493837777924894732'}, 'enable': 'true', 'created': '2025-07-22T11:29:41', 'last-modified': '2025-07-22T11:29:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456382'} 2025-07-22 11:29:44,321 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 11:29:44,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82980869 passed 2025-07-22 11:29:44,321 - DEBUG - ====Verifying policy data for ctest-vn-82980869 in API_Server ====== 2025-07-22 11:29:44,321 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:29:44,328 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:29:44,341 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:29:44,413 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9b44d101-23aa-4049-bb43-bdf731f5b00c 2025-07-22 11:29:44,426 - DEBUG - ==>Verifying data for policy with id: 0fa67036-8e98-4bd1-a827-a86fe71040b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-92369509', 'ctest-policy-allow-all-19185184'] 2025-07-22 11:29:44,426 - INFO - VN ctest-vn-82980869 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 11:29:44,426 - DEBUG - Verifying the vn in opserver 2025-07-22 11:29:44,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-82980869 virtual network link through opserver 10.0.0.65 2025-07-22 11:29:44,426 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 11:29:44,438 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-82980869', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-82980869?flat'} 2025-07-22 11:29:44,438 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-82980869 is found in opserver 2025-07-22 11:29:44,449 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 11:29:44,456 - DEBUG - VRF ids for VN ctest-vn-82980869: {} 2025-07-22 11:29:44,516 - DEBUG - Services list from nova: [, , ] 2025-07-22 11:29:45,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:29:46,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:29:46,742 - INFO - Waiting for VM ctest-TestBasicPolicy-92369509-71826317 to be up.. 2025-07-22 11:29:46,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 11:29:51,930 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:29:51,930 - INFO - VM name : ctest-TestBasicPolicy-92369509-71826317 2025-07-22 11:29:52,043 - DEBUG - VM ctest-TestBasicPolicy-92369509-71826317 ID is 3c721ee8-d840-4b8e-b5c9-337822ddec05 2025-07-22 11:29:52,067 - DEBUG - VM ctest-TestBasicPolicy-92369509-71826317 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:29:52,164 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3c721ee8-d840-4b8e-b5c9-337822ddec05 2025-07-22 11:29:52,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d3208861-2b50-406e-b036-9fac5f833692 2025-07-22 11:29:55,438 - 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 1010ms') 2025-07-22 11:29:55,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92369509-71826317 failed! 2025-07-22 11:29:55,497 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92369509:ctest-vn-63857013 is 91.27.97.193 and allocation pool is NOT set 2025-07-22 11:29:57,571 - 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=16.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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 = 2.624/9.557/16.490/6.933 ms') 2025-07-22 11:29:57,571 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92369509-71826317 passed 2025-07-22 11:29:57,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:29:57,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92369509-71826317, IP 91.27.97.195, Port 22 2025-07-22 11:29:57,881 - DEBUG - VM ctest-TestBasicPolicy-92369509-71826317 is ready for SSH connections 2025-07-22 11:29:57,881 - INFO - Waiting for VM ctest-TestBasicPolicy-92369509-47250132 to be up.. 2025-07-22 11:29:57,966 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:29:57,966 - INFO - VM name : ctest-TestBasicPolicy-92369509-47250132 2025-07-22 11:29:58,046 - DEBUG - VM ctest-TestBasicPolicy-92369509-47250132 ID is ec0a8c1c-0c8b-402a-a2dd-db75ff88a477 2025-07-22 11:29:58,046 - DEBUG - VM ctest-TestBasicPolicy-92369509-47250132 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:29:58,129 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ec0a8c1c-0c8b-402a-a2dd-db75ff88a477 2025-07-22 11:29:58,140 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/bce472cc-5107-42c6-938a-593a69a3b965 2025-07-22 11:29:59,391 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.523/3.119/4.715/1.596 ms') 2025-07-22 11:29:59,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92369509-47250132 passed 2025-07-22 11:29:59,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:29:59,549 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92369509-47250132, IP 154.151.82.131, Port 22 2025-07-22 11:29:59,705 - DEBUG - VM ctest-TestBasicPolicy-92369509-47250132 is ready for SSH connections 2025-07-22 11:29:59,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:29:59,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.151.82.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:29:59,705 - DEBUG - ping -s 56 -c 3 -W 1 154.151.82.131 2025-07-22 11:30:03,416 - DEBUG - PING 154.151.82.131 (154.151.82.131): 56 data bytes 64 bytes from 154.151.82.131: seq=0 ttl=63 time=4.199 ms 64 bytes from 154.151.82.131: seq=1 ttl=63 time=1.252 ms 64 bytes from 154.151.82.131: seq=2 ttl=63 time=0.878 ms --- 154.151.82.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/2.109/4.199 ms 2025-07-22 11:30:03,416 - INFO - Ping to IP 154.151.82.131 from VM ctest-TestBasicPolicy-92369509-71826317 passed 2025-07-22 11:30:03,600 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0fa67036-8e98-4bd1-a827-a86fe71040b6", "href": "http://10.0.0.65:8082/network-policy/0fa67036-8e98-4bd1-a827-a86fe71040b6"}} 2025-07-22 11:30:03,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:30:03,601 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.151.82.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:30:03,601 - DEBUG - ping -s 56 -c 3 -W 1 154.151.82.131 2025-07-22 11:30:06,819 - DEBUG - PING 154.151.82.131 (154.151.82.131): 56 data bytes --- 154.151.82.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 11:30:06,819 - WARNING - Ping to IP 154.151.82.131 from VM ctest-TestBasicPolicy-92369509-71826317 failed 2025-07-22 11:30:06,819 - INFO - Deleting VM ctest-TestBasicPolicy-92369509-47250132 2025-07-22 11:30:06,891 - INFO - Deleting VM ctest-TestBasicPolicy-92369509-71826317 2025-07-22 11:30:07,298 - INFO - Deleted policy ctest-policy-allow-all-19185184 2025-07-22 11:30:07,299 - INFO - Deleting VN ctest-vn-82980869 2025-07-22 11:30:07,346 - DEBUG - VN 9b44d101-23aa-4049-bb43-bdf731f5b00c still in use: Unable to complete operation on network 9b44d101-23aa-4049-bb43-bdf731f5b00c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c70ba52f-3a8f-4303-ada5-7bc12d3cce02'] 2025-07-22 11:30:07,346 - WARNING - Deleting VN ctest-vn-82980869 failed..Will retry 2025-07-22 11:30:09,458 - DEBUG - Response for deleting network () 2025-07-22 11:30:09,458 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/988aae83-d6d3-4fe7-a1d9-310efcd72076 2025-07-22 11:30:09,464 - DEBUG - Response Code: 404 2025-07-22 11:30:09,464 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:30:09,470 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:30:09,527 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:30:09,600 - INFO - Validated that VN ctest-vn-82980869 is not found in API Server 2025-07-22 11:30:09,613 - DEBUG - VN ctest-vn-82980869 is not present in Agent 10.0.0.65 2025-07-22 11:30:09,613 - INFO - Validated that VN ctest-vn-82980869 is not in any agent 2025-07-22 11:30:09,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82980869 info 2025-07-22 11:30:09,630 - INFO - Deleting VN ctest-vn-63857013 2025-07-22 11:30:09,739 - DEBUG - Response for deleting network () 2025-07-22 11:30:09,739 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4515e67-a023-4776-afb8-5fdd74168ce4 2025-07-22 11:30:09,748 - DEBUG - Response Code: 404 2025-07-22 11:30:09,748 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 11:30:09,754 - DEBUG - Requesting: http://10.0.0.65:8082/domain/4b3dbc26-0abc-4c64-9978-55f1c0a29c30 2025-07-22 11:30:09,810 - DEBUG - Requesting: http://10.0.0.65:8082/project/5aeb28b7-0547-4d2e-ad5b-46d71d4794e4 2025-07-22 11:30:09,884 - INFO - Validated that VN ctest-vn-63857013 is not found in API Server 2025-07-22 11:30:09,896 - DEBUG - VN ctest-vn-63857013 is not present in Agent 10.0.0.65 2025-07-22 11:30:09,896 - INFO - Validated that VN ctest-vn-63857013 is not in any agent 2025-07-22 11:30:09,915 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63857013 info 2025-07-22 11:30:10,170 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 11:30:10,170 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-07-22 11:30:10,170 - INFO - -------------------------------------------------------------------------------- 2025-07-22 11:30:10,889 - INFO - Deleted project: ctest-TestBasicPolicy-92369509, ID : 5aeb28b7-0547-4d2e-ad5b-46d71d4794e4