2025-01-15 03:25:01,263 - INFO - Domain Default found not creating 2025-01-15 03:25:01,476 - INFO - Project ctest-TestBasicPolicy-57348380 not found, creating it 2025-01-15 03:25:02,010 - INFO - Created Project:ctest-TestBasicPolicy-57348380, ID : b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:03,828 - INFO - ================================================================================ 2025-01-15 03:25:03,828 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 03:25:03,828 - 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 03:25:04,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-15 03:25:04,112 - INFO - Initial checks done. Running the testcase now 2025-01-15 03:25:04,112 - INFO - 2025-01-15 03:25:04,813 - DEBUG - Response for create_network : {'network': {'id': '603497ee-7419-456e-8499-5aa7286559b3', 'name': 'ctest-vn-04016429', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'project_id': 'b01449e0da7949868913bbb65dbdcd9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-vn-04016429'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 03:25:05,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9ae6a61-7ad0-4c57-91b8-a91e126d4205', 'name': '', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'network_id': '603497ee-7419-456e-8499-5aa7286559b3', 'ip_version': 4, 'cidr': '166.79.211.64/26', 'allocation_pools': [{'start': '166.79.211.66', 'end': '166.79.211.126'}], 'gateway_ip': '166.79.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.79.211.66', 'tags': [], 'project_id': 'b01449e0da7949868913bbb65dbdcd9b'}} 2025-01-15 03:25:05,103 - INFO - Created VN ctest-vn-04016429 2025-01-15 03:25:05,158 - DEBUG - VN ctest-vn-04016429 UUID is 603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:05,543 - DEBUG - Response for create_network : {'network': {'id': '38b59ff8-af78-4f0b-b849-33573a327236', 'name': 'ctest-vn-73803913', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'project_id': 'b01449e0da7949868913bbb65dbdcd9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-vn-73803913'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 03:25:05,788 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f68d556a-c4b0-48e7-9b84-f7645d8f5ff4', 'name': '', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'network_id': '38b59ff8-af78-4f0b-b849-33573a327236', 'ip_version': 4, 'cidr': '169.41.116.192/26', 'allocation_pools': [{'start': '169.41.116.194', 'end': '169.41.116.254'}], 'gateway_ip': '169.41.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.41.116.194', 'tags': [], 'project_id': 'b01449e0da7949868913bbb65dbdcd9b'}} 2025-01-15 03:25:05,813 - INFO - Created VN ctest-vn-73803913 2025-01-15 03:25:05,870 - DEBUG - VN ctest-vn-73803913 UUID is 38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:05,998 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429, 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-57348380:ctest-vn-73803913, 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 03:25:06,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '603497ee-7419-456e-8499-5aa7286559b3', 'name': 'ctest-vn-04016429', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'project_id': 'b01449e0da7949868913bbb65dbdcd9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9ae6a61-7ad0-4c57-91b8-a91e126d4205'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-vn-04016429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-policy-allow-all-76289432']], 'subnet_ipam': [{'subnet_cidr': '166.79.211.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 03:25:06,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38b59ff8-af78-4f0b-b849-33573a327236', 'name': 'ctest-vn-73803913', 'tenant_id': 'b01449e0da7949868913bbb65dbdcd9b', 'project_id': 'b01449e0da7949868913bbb65dbdcd9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f68d556a-c4b0-48e7-9b84-f7645d8f5ff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-vn-73803913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-policy-allow-all-76289432']], 'subnet_ipam': [{'subnet_cidr': '169.41.116.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 03:25:06,774 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:07,123 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:07,172 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:07,192 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:07,283 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,299 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,313 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:07,324 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:07,332 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d6a17924-1588-472a-8e04-cd2225eab642 2025-01-15 03:25:07,341 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 03:25:07,341 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:07,377 - INFO - Verified VN network id 8 for VN 603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,377 - INFO - Verifications in API Server for VN ctest-vn-04016429 passed 2025-01-15 03:25:07,377 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,391 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:07,400 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:07,411 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d6a17924-1588-472a-8e04-cd2225eab642 2025-01-15 03:25:07,428 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57348380', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6932332776835859822', 'uuid-lslong': '9554767758426986931'}, 'enable': 'true', 'created': '2025-01-15T03:25:04', 'last-modified': '2025-01-15T03:25:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128571'} 2025-01-15 03:25:07,437 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 03:25:07,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04016429 passed 2025-01-15 03:25:07,438 - DEBUG - ====Verifying policy data for ctest-vn-04016429 in API_Server ====== 2025-01-15 03:25:07,438 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:07,446 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:07,462 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:07,550 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/603497ee-7419-456e-8499-5aa7286559b3 2025-01-15 03:25:07,564 - DEBUG - ==>Verifying data for policy with id: 456eda5b-71eb-4c62-973f-d6426193659a, fqn: ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-policy-allow-all-76289432'] 2025-01-15 03:25:07,564 - INFO - VN ctest-vn-04016429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 03:25:07,564 - DEBUG - Verifying the vn in opserver 2025-01-15 03:25:07,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429 virtual network link through opserver 10.0.0.27 2025-01-15 03:25:07,564 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-15 03:25:07,910 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-15 03:25:07,982 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429?flat'} 2025-01-15 03:25:07,982 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429 is found in opserver 2025-01-15 03:25:07,996 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 03:25:08,003 - DEBUG - VRF ids for VN ctest-vn-04016429: {} 2025-01-15 03:25:08,004 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:08,012 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:08,029 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:08,111 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,130 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,144 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:08,158 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:08,168 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/20e98c7d-e5d1-480e-8ca6-04070cfdfaea 2025-01-15 03:25:08,179 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 03:25:08,179 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,194 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:08,217 - INFO - Verified VN network id 9 for VN 38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,217 - INFO - Verifications in API Server for VN ctest-vn-73803913 passed 2025-01-15 03:25:08,217 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,234 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:08,245 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:08,255 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/20e98c7d-e5d1-480e-8ca6-04070cfdfaea 2025-01-15 03:25:08,271 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-73803913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57348380', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4086348127353196299', 'uuid-lslong': '13279201426010174006'}, 'enable': 'true', 'created': '2025-01-15T03:25:05', 'last-modified': '2025-01-15T03:25:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.699401'} 2025-01-15 03:25:08,279 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 03:25:08,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73803913 passed 2025-01-15 03:25:08,279 - DEBUG - ====Verifying policy data for ctest-vn-73803913 in API_Server ====== 2025-01-15 03:25:08,279 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:08,287 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:08,302 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:08,384 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/38b59ff8-af78-4f0b-b849-33573a327236 2025-01-15 03:25:08,396 - DEBUG - ==>Verifying data for policy with id: 456eda5b-71eb-4c62-973f-d6426193659a, fqn: ['default-domain', 'ctest-TestBasicPolicy-57348380', 'ctest-policy-allow-all-76289432'] 2025-01-15 03:25:08,397 - INFO - VN ctest-vn-73803913 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 03:25:08,397 - DEBUG - Verifying the vn in opserver 2025-01-15 03:25:08,397 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-73803913 virtual network link through opserver 10.0.0.27 2025-01-15 03:25:08,397 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-15 03:25:08,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-73803913', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-73803913?flat'} 2025-01-15 03:25:08,413 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-73803913 is found in opserver 2025-01-15 03:25:08,428 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 03:25:08,435 - DEBUG - VRF ids for VN ctest-vn-73803913: {} 2025-01-15 03:25:08,501 - DEBUG - Services list from nova: [, , ] 2025-01-15 03:25:09,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2633-1) 2025-01-15 03:25:11,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2633-1) 2025-01-15 03:25:11,348 - INFO - Waiting for VM ctest-TestBasicPolicy-57348380-43113153 to be up.. 2025-01-15 03:25:11,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 03:25:16,595 - DEBUG - VM is in ACTIVE state now 2025-01-15 03:25:16,595 - INFO - VM name : ctest-TestBasicPolicy-57348380-43113153 2025-01-15 03:25:16,724 - DEBUG - VM ctest-TestBasicPolicy-57348380-43113153 ID is fcce9b7d-44d2-43f4-a145-fd260d347212 2025-01-15 03:25:16,752 - DEBUG - VM ctest-TestBasicPolicy-57348380-43113153 launched on Node cn-jenkins-deploy-platform-ansible-os-2633-1 2025-01-15 03:25:16,856 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fcce9b7d-44d2-43f4-a145-fd260d347212 2025-01-15 03:25:16,869 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/10d02760-d8b2-428b-a97f-afb47486afc2 2025-01-15 03:25:20,139 - 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 1013ms') 2025-01-15 03:25:20,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57348380-43113153 failed! 2025-01-15 03:25:20,202 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57348380:ctest-vn-04016429 is 166.79.211.65 and allocation pool is NOT set 2025-01-15 03:25:24,268 - 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=2 ttl=63 time=10.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 10.891/10.891/10.891/0.000 ms') 2025-01-15 03:25:24,268 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57348380-43113153 passed 2025-01-15 03:25:24,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:25:24,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57348380-43113153, IP 166.79.211.67, Port 22 2025-01-15 03:25:24,497 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-01-15 03:25:24,613 - DEBUG - VM ctest-TestBasicPolicy-57348380-43113153 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-15 03:25:29,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:25:29,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57348380-43113153, IP 166.79.211.67, Port 22 2025-01-15 03:25:29,786 - DEBUG - VM ctest-TestBasicPolicy-57348380-43113153 is ready for SSH connections 2025-01-15 03:25:29,786 - INFO - Waiting for VM ctest-TestBasicPolicy-57348380-81945445 to be up.. 2025-01-15 03:25:29,889 - DEBUG - VM is in ACTIVE state now 2025-01-15 03:25:29,889 - INFO - VM name : ctest-TestBasicPolicy-57348380-81945445 2025-01-15 03:25:29,982 - DEBUG - VM ctest-TestBasicPolicy-57348380-81945445 ID is eacb9e0b-7d7e-4b90-9d64-20d9fa8c3394 2025-01-15 03:25:29,983 - DEBUG - VM ctest-TestBasicPolicy-57348380-81945445 launched on Node cn-jenkins-deploy-platform-ansible-os-2633-1 2025-01-15 03:25:30,083 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eacb9e0b-7d7e-4b90-9d64-20d9fa8c3394 2025-01-15 03:25:30,095 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/906239af-8572-4925-a04d-fb7a9a6eaa0c 2025-01-15 03:25:31,352 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.992/3.562/1.569 ms') 2025-01-15 03:25:31,353 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57348380-81945445 passed 2025-01-15 03:25:31,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:25:31,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57348380-81945445, IP 169.41.116.195, Port 22 2025-01-15 03:25:31,689 - DEBUG - VM ctest-TestBasicPolicy-57348380-81945445 is ready for SSH connections 2025-01-15 03:25:31,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:25:31,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.41.116.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-15 03:25:31,689 - DEBUG - ping -s 56 -c 3 -W 1 169.41.116.195 2025-01-15 03:25:35,906 - DEBUG - PING 169.41.116.195 (169.41.116.195): 56 data bytes 64 bytes from 169.41.116.195: seq=0 ttl=63 time=4.557 ms 64 bytes from 169.41.116.195: seq=1 ttl=63 time=1.175 ms 64 bytes from 169.41.116.195: seq=2 ttl=63 time=1.103 ms --- 169.41.116.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.103/2.278/4.557 ms 2025-01-15 03:25:35,906 - INFO - Ping to IP 169.41.116.195 from VM ctest-TestBasicPolicy-57348380-43113153 passed 2025-01-15 03:25:36,098 - DEBUG - Policy Update Response {"network-policy": {"uuid": "456eda5b-71eb-4c62-973f-d6426193659a", "href": "http://10.0.0.27:8082/network-policy/456eda5b-71eb-4c62-973f-d6426193659a"}} 2025-01-15 03:25:36,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:25:36,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.41.116.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-15 03:25:36,098 - DEBUG - ping -s 56 -c 3 -W 1 169.41.116.195 2025-01-15 03:25:39,341 - DEBUG - PING 169.41.116.195 (169.41.116.195): 56 data bytes --- 169.41.116.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-15 03:25:39,342 - WARNING - Ping to IP 169.41.116.195 from VM ctest-TestBasicPolicy-57348380-43113153 failed 2025-01-15 03:25:39,342 - INFO - Deleting VM ctest-TestBasicPolicy-57348380-81945445 2025-01-15 03:25:39,419 - INFO - Deleting VM ctest-TestBasicPolicy-57348380-43113153 2025-01-15 03:25:39,900 - INFO - Deleted policy ctest-policy-allow-all-76289432 2025-01-15 03:25:39,900 - INFO - Deleting VN ctest-vn-73803913 2025-01-15 03:25:39,950 - DEBUG - VN 38b59ff8-af78-4f0b-b849-33573a327236 still in use: Unable to complete operation on network 38b59ff8-af78-4f0b-b849-33573a327236. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-add6a74f-25f6-40d1-82b4-708ed74f5cb9'] 2025-01-15 03:25:39,950 - WARNING - Deleting VN ctest-vn-73803913 failed..Will retry 2025-01-15 03:25:42,097 - DEBUG - Response for deleting network () 2025-01-15 03:25:42,097 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e5c5c449-8101-4017-874a-482db11e9e32 2025-01-15 03:25:42,107 - DEBUG - Response Code: 404 2025-01-15 03:25:42,107 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:42,117 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:42,178 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:42,261 - INFO - Validated that VN ctest-vn-73803913 is not found in API Server 2025-01-15 03:25:42,283 - DEBUG - VN ctest-vn-73803913 is not present in Agent 10.0.0.27 2025-01-15 03:25:42,283 - INFO - Validated that VN ctest-vn-73803913 is not in any agent 2025-01-15 03:25:42,305 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73803913 info 2025-01-15 03:25:42,305 - INFO - Deleting VN ctest-vn-04016429 2025-01-15 03:25:42,434 - DEBUG - Response for deleting network () 2025-01-15 03:25:42,435 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2dd5de4a-e1f7-4909-b4c9-1af181665dce 2025-01-15 03:25:42,442 - DEBUG - Response Code: 404 2025-01-15 03:25:42,442 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-15 03:25:42,451 - DEBUG - Requesting: http://10.0.0.27:8082/domain/974e7c0e-4794-4267-bb14-0f4fe9260863 2025-01-15 03:25:42,508 - DEBUG - Requesting: http://10.0.0.27:8082/project/b01449e0-da79-4986-8913-bbb65dbdcd9b 2025-01-15 03:25:42,589 - INFO - Validated that VN ctest-vn-04016429 is not found in API Server 2025-01-15 03:25:42,605 - DEBUG - VN ctest-vn-04016429 is not present in Agent 10.0.0.27 2025-01-15 03:25:42,605 - INFO - Validated that VN ctest-vn-04016429 is not in any agent 2025-01-15 03:25:42,628 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04016429 info 2025-01-15 03:25:42,905 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 03:25:42,905 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-01-15 03:25:42,905 - INFO - -------------------------------------------------------------------------------- 2025-01-15 03:25:43,690 - INFO - Deleted project: ctest-TestBasicPolicy-57348380, ID : b01449e0-da79-4986-8913-bbb65dbdcd9b