2025-03-24 02:17:04,996 - INFO - Domain Default found not creating 2025-03-24 02:17:05,136 - INFO - Project ctest-TestBasicPolicy-02132115 not found, creating it 2025-03-24 02:17:05,560 - INFO - Created Project:ctest-TestBasicPolicy-02132115, ID : d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:06,972 - INFO - ================================================================================ 2025-03-24 02:17:06,973 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-24 02:17:06,973 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-03-24 02:17:07,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.7': '0'}} with 2025-03-24 02:17:07,233 - INFO - Initial checks done. Running the testcase now 2025-03-24 02:17:07,233 - INFO - 2025-03-24 02:17:07,777 - DEBUG - Response for create_network : {'network': {'id': 'c79f3a5e-e198-4616-a5d8-36019b5e937b', 'name': 'ctest-vn-18381420', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'project_id': 'd89c42b34cf847a0a418c883cfaec319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-vn-18381420'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:17:07,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '55cd0021-576e-4adf-b2a3-c9aa4742005d', 'name': '', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'network_id': 'c79f3a5e-e198-4616-a5d8-36019b5e937b', 'ip_version': 4, 'cidr': '101.15.7.192/26', 'allocation_pools': [{'start': '101.15.7.194', 'end': '101.15.7.254'}], 'gateway_ip': '101.15.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.15.7.194', 'tags': [], 'project_id': 'd89c42b34cf847a0a418c883cfaec319'}} 2025-03-24 02:17:08,006 - INFO - Created VN ctest-vn-18381420 2025-03-24 02:17:08,059 - DEBUG - VN ctest-vn-18381420 UUID is c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:08,339 - DEBUG - Response for create_network : {'network': {'id': '080badc1-c53c-4a7f-af7c-c78695f0dc81', 'name': 'ctest-vn-76211346', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'project_id': 'd89c42b34cf847a0a418c883cfaec319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-vn-76211346'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:17:08,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fd06199-0de1-499f-8d78-88a23248707b', 'name': '', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'network_id': '080badc1-c53c-4a7f-af7c-c78695f0dc81', 'ip_version': 4, 'cidr': '19.39.14.128/26', 'allocation_pools': [{'start': '19.39.14.130', 'end': '19.39.14.190'}], 'gateway_ip': '19.39.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.39.14.130', 'tags': [], 'project_id': 'd89c42b34cf847a0a418c883cfaec319'}} 2025-03-24 02:17:08,537 - INFO - Created VN ctest-vn-76211346 2025-03-24 02:17:08,587 - DEBUG - VN ctest-vn-76211346 UUID is 080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:08,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420, 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-02132115:ctest-vn-76211346, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-03-24 02:17:08,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c79f3a5e-e198-4616-a5d8-36019b5e937b', 'name': 'ctest-vn-18381420', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'project_id': 'd89c42b34cf847a0a418c883cfaec319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55cd0021-576e-4adf-b2a3-c9aa4742005d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-vn-18381420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-policy-allow-all-86759143']], 'subnet_ipam': [{'subnet_cidr': '101.15.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:17:09,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '080badc1-c53c-4a7f-af7c-c78695f0dc81', 'name': 'ctest-vn-76211346', 'tenant_id': 'd89c42b34cf847a0a418c883cfaec319', 'project_id': 'd89c42b34cf847a0a418c883cfaec319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8fd06199-0de1-499f-8d78-88a23248707b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-vn-76211346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-policy-allow-all-86759143']], 'subnet_ipam': [{'subnet_cidr': '19.39.14.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:17:09,363 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:09,655 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:09,680 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:09,694 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:09,762 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,771 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,778 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:09,785 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:09,792 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5687acee-94e3-4cbd-b61b-2dd99d5796af 2025-03-24 02:17:09,801 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-24 02:17:09,801 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,809 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:09,819 - INFO - Verified VN network id 8 for VN c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,819 - INFO - Verifications in API Server for VN ctest-vn-18381420 passed 2025-03-24 02:17:09,820 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,830 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:09,836 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:09,841 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5687acee-94e3-4cbd-b61b-2dd99d5796af 2025-03-24 02:17:09,852 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02132115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14384279914030843414', 'uuid-lslong': '11950360991757144955'}, 'enable': 'true', 'created': '2025-03-24T02:17:07', 'last-modified': '2025-03-24T02:17:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885570'} 2025-03-24 02:17:09,858 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-24 02:17:09,858 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18381420 passed 2025-03-24 02:17:09,858 - DEBUG - ====Verifying policy data for ctest-vn-18381420 in API_Server ====== 2025-03-24 02:17:09,859 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:09,864 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:09,875 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:09,941 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c79f3a5e-e198-4616-a5d8-36019b5e937b 2025-03-24 02:17:09,950 - DEBUG - ==>Verifying data for policy with id: d3ec613e-d79d-4c01-9fee-c904f90cb90a, fqn: ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-policy-allow-all-86759143'] 2025-03-24 02:17:09,950 - INFO - VN ctest-vn-18381420 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-24 02:17:09,951 - DEBUG - Verifying the vn in opserver 2025-03-24 02:17:09,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420 virtual network link through opserver 10.0.0.27 2025-03-24 02:17:09,951 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-24 02:17:10,242 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-24 02:17:10,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420?flat'} 2025-03-24 02:17:10,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420 is found in opserver 2025-03-24 02:17:10,305 - DEBUG - Do not have enough data to verify VN in agent 2025-03-24 02:17:10,310 - DEBUG - VRF ids for VN ctest-vn-18381420: {} 2025-03-24 02:17:10,310 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:10,315 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:10,326 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:10,395 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,405 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,415 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:10,422 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:10,428 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9d5a03cf-2718-41a7-9fb0-09cf7dcc0e81 2025-03-24 02:17:10,435 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-24 02:17:10,435 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,441 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:10,452 - INFO - Verified VN network id 9 for VN 080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,452 - INFO - Verifications in API Server for VN ctest-vn-76211346 passed 2025-03-24 02:17:10,452 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,459 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:10,465 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:10,471 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9d5a03cf-2718-41a7-9fb0-09cf7dcc0e81 2025-03-24 02:17:10,482 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-76211346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02132115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '579748024796596863', 'uuid-lslong': '12645201234604645505'}, 'enable': 'true', 'created': '2025-03-24T02:17:08', 'last-modified': '2025-03-24T02:17:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.298019'} 2025-03-24 02:17:10,489 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-24 02:17:10,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76211346 passed 2025-03-24 02:17:10,490 - DEBUG - ====Verifying policy data for ctest-vn-76211346 in API_Server ====== 2025-03-24 02:17:10,490 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:10,495 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:10,505 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:10,572 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/080badc1-c53c-4a7f-af7c-c78695f0dc81 2025-03-24 02:17:10,579 - DEBUG - ==>Verifying data for policy with id: d3ec613e-d79d-4c01-9fee-c904f90cb90a, fqn: ['default-domain', 'ctest-TestBasicPolicy-02132115', 'ctest-policy-allow-all-86759143'] 2025-03-24 02:17:10,579 - INFO - VN ctest-vn-76211346 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-24 02:17:10,580 - DEBUG - Verifying the vn in opserver 2025-03-24 02:17:10,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-76211346 virtual network link through opserver 10.0.0.27 2025-03-24 02:17:10,580 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-24 02:17:10,590 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-76211346', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-76211346?flat'} 2025-03-24 02:17:10,590 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-76211346 is found in opserver 2025-03-24 02:17:10,600 - DEBUG - Do not have enough data to verify VN in agent 2025-03-24 02:17:10,606 - DEBUG - VRF ids for VN ctest-vn-76211346: {} 2025-03-24 02:17:10,656 - DEBUG - Services list from nova: [, , ] 2025-03-24 02:17:11,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2939-1) 2025-03-24 02:17:12,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2939-1) 2025-03-24 02:17:12,815 - INFO - Waiting for VM ctest-TestBasicPolicy-02132115-51395543 to be up.. 2025-03-24 02:17:12,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 02:17:17,962 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:17:17,962 - INFO - VM name : ctest-TestBasicPolicy-02132115-51395543 2025-03-24 02:17:18,032 - DEBUG - VM ctest-TestBasicPolicy-02132115-51395543 ID is c89cc7c0-74f8-4350-b918-7c3b0e0f289f 2025-03-24 02:17:18,048 - DEBUG - VM ctest-TestBasicPolicy-02132115-51395543 launched on Node cn-jenkins-deploy-platform-ansible-os-2939-1 2025-03-24 02:17:18,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c89cc7c0-74f8-4350-b918-7c3b0e0f289f 2025-03-24 02:17:18,126 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/85b056d1-46d2-4a58-b211-e8444c4aa086 2025-03-24 02:17:21,369 - 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 1003ms') 2025-03-24 02:17:21,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02132115-51395543 failed! 2025-03-24 02:17:21,423 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02132115:ctest-vn-18381420 is 101.15.7.193 and allocation pool is NOT set 2025-03-24 02:17:23,486 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/1.806/3.173/1.367 ms') 2025-03-24 02:17:23,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02132115-51395543 passed 2025-03-24 02:17:23,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:17:23,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02132115-51395543, IP 101.15.7.195, Port 22 2025-03-24 02:17:23,799 - DEBUG - VM ctest-TestBasicPolicy-02132115-51395543 is ready for SSH connections 2025-03-24 02:17:23,799 - INFO - Waiting for VM ctest-TestBasicPolicy-02132115-54167837 to be up.. 2025-03-24 02:17:23,873 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:17:23,873 - INFO - VM name : ctest-TestBasicPolicy-02132115-54167837 2025-03-24 02:17:23,940 - DEBUG - VM ctest-TestBasicPolicy-02132115-54167837 ID is 7da2c242-2c55-478c-9c0c-c418df5bbb1d 2025-03-24 02:17:23,940 - DEBUG - VM ctest-TestBasicPolicy-02132115-54167837 launched on Node cn-jenkins-deploy-platform-ansible-os-2939-1 2025-03-24 02:17:24,022 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7da2c242-2c55-478c-9c0c-c418df5bbb1d 2025-03-24 02:17:24,032 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aeaf588b-4a92-4f97-b237-0afe9ba83f46 2025-03-24 02:17:25,266 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.580 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.580/1.977/3.375/1.397 ms') 2025-03-24 02:17:25,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02132115-54167837 passed 2025-03-24 02:17:25,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:17:25,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02132115-54167837, IP 19.39.14.131, Port 22 2025-03-24 02:17:25,583 - DEBUG - VM ctest-TestBasicPolicy-02132115-54167837 is ready for SSH connections 2025-03-24 02:17:25,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:17:25,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-24 02:17:25,583 - DEBUG - ping -s 56 -c 3 -W 1 19.39.14.131 2025-03-24 02:17:29,247 - DEBUG - PING 19.39.14.131 (19.39.14.131): 56 data bytes 64 bytes from 19.39.14.131: seq=0 ttl=63 time=2.980 ms 64 bytes from 19.39.14.131: seq=1 ttl=63 time=0.989 ms 64 bytes from 19.39.14.131: seq=2 ttl=63 time=1.037 ms --- 19.39.14.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/1.668/2.980 ms 2025-03-24 02:17:29,247 - INFO - Ping to IP 19.39.14.131 from VM ctest-TestBasicPolicy-02132115-51395543 passed 2025-03-24 02:17:29,419 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d3ec613e-d79d-4c01-9fee-c904f90cb90a", "href": "http://10.0.0.27:8082/network-policy/d3ec613e-d79d-4c01-9fee-c904f90cb90a"}} 2025-03-24 02:17:29,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:17:29,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-24 02:17:29,419 - DEBUG - ping -s 56 -c 3 -W 1 19.39.14.131 2025-03-24 02:17:32,627 - DEBUG - PING 19.39.14.131 (19.39.14.131): 56 data bytes --- 19.39.14.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-24 02:17:32,628 - WARNING - Ping to IP 19.39.14.131 from VM ctest-TestBasicPolicy-02132115-51395543 failed 2025-03-24 02:17:32,628 - INFO - Deleting VM ctest-TestBasicPolicy-02132115-54167837 2025-03-24 02:17:32,703 - INFO - Deleting VM ctest-TestBasicPolicy-02132115-51395543 2025-03-24 02:17:33,061 - INFO - Deleted policy ctest-policy-allow-all-86759143 2025-03-24 02:17:33,061 - INFO - Deleting VN ctest-vn-76211346 2025-03-24 02:17:33,097 - DEBUG - VN 080badc1-c53c-4a7f-af7c-c78695f0dc81 still in use: Unable to complete operation on network 080badc1-c53c-4a7f-af7c-c78695f0dc81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6355e8b-e1ac-40f4-80c1-bab6be715c28'] 2025-03-24 02:17:33,097 - WARNING - Deleting VN ctest-vn-76211346 failed..Will retry 2025-03-24 02:17:35,204 - DEBUG - Response for deleting network () 2025-03-24 02:17:35,204 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc59fb23-0408-4aef-bcfb-62c66d702920 2025-03-24 02:17:35,210 - DEBUG - Response Code: 404 2025-03-24 02:17:35,211 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:35,216 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:35,273 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:35,347 - INFO - Validated that VN ctest-vn-76211346 is not found in API Server 2025-03-24 02:17:35,358 - DEBUG - VN ctest-vn-76211346 is not present in Agent 10.0.0.27 2025-03-24 02:17:35,358 - INFO - Validated that VN ctest-vn-76211346 is not in any agent 2025-03-24 02:17:35,375 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76211346 info 2025-03-24 02:17:35,376 - INFO - Deleting VN ctest-vn-18381420 2025-03-24 02:17:35,477 - DEBUG - Response for deleting network () 2025-03-24 02:17:35,477 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/7ca856d0-97aa-4fc6-b267-c3f55fec001f 2025-03-24 02:17:35,485 - DEBUG - Response Code: 404 2025-03-24 02:17:35,485 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-24 02:17:35,494 - DEBUG - Requesting: http://10.0.0.27:8082/domain/79b30645-0539-4daf-9ae9-b83a3811325a 2025-03-24 02:17:35,552 - DEBUG - Requesting: http://10.0.0.27:8082/project/d89c42b3-4cf8-47a0-a418-c883cfaec319 2025-03-24 02:17:35,625 - INFO - Validated that VN ctest-vn-18381420 is not found in API Server 2025-03-24 02:17:35,636 - DEBUG - VN ctest-vn-18381420 is not present in Agent 10.0.0.27 2025-03-24 02:17:35,636 - INFO - Validated that VN ctest-vn-18381420 is not in any agent 2025-03-24 02:17:35,651 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18381420 info 2025-03-24 02:17:35,922 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 02:17:35,923 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-03-24 02:17:35,923 - INFO - -------------------------------------------------------------------------------- 2025-03-24 02:17:36,567 - INFO - Deleted project: ctest-TestBasicPolicy-02132115, ID : d89c42b3-4cf8-47a0-a418-c883cfaec319