2025-06-05 02:32:37,519 - INFO - Domain Default found not creating 2025-06-05 02:32:37,680 - INFO - Project ctest-TestBasicPolicy-24724888 not found, creating it 2025-06-05 02:32:38,498 - INFO - Created Project:ctest-TestBasicPolicy-24724888, ID : 9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:32:39,900 - INFO - ================================================================================ 2025-06-05 02:32:39,900 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-05 02:32:39,900 - 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-06-05 02:32:40,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-06-05 02:32:40,167 - INFO - Initial checks done. Running the testcase now 2025-06-05 02:32:40,167 - INFO - 2025-06-05 02:32:40,689 - DEBUG - Response for create_network : {'network': {'id': '2c8ac684-4e5c-42c1-89e6-09336a26850a', 'name': 'ctest-vn-06271672', 'tenant_id': '9aed43608b024373952829eabc191d85', 'project_id': '9aed43608b024373952829eabc191d85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-vn-06271672'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:32:40,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e96d523-6dd9-4e6f-a327-04cb281cc943', 'name': '', 'tenant_id': '9aed43608b024373952829eabc191d85', 'network_id': '2c8ac684-4e5c-42c1-89e6-09336a26850a', 'ip_version': 4, 'cidr': '75.87.54.128/26', 'allocation_pools': [{'start': '75.87.54.130', 'end': '75.87.54.190'}], 'gateway_ip': '75.87.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.87.54.130', 'tags': [], 'project_id': '9aed43608b024373952829eabc191d85'}} 2025-06-05 02:32:40,900 - INFO - Created VN ctest-vn-06271672 2025-06-05 02:32:40,954 - DEBUG - VN ctest-vn-06271672 UUID is 2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:41,262 - DEBUG - Response for create_network : {'network': {'id': '68556d25-5a59-4444-b17d-91936d46daca', 'name': 'ctest-vn-18525505', 'tenant_id': '9aed43608b024373952829eabc191d85', 'project_id': '9aed43608b024373952829eabc191d85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-vn-18525505'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:32:41,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d33429-5cc0-4997-a47d-f368f927adc1', 'name': '', 'tenant_id': '9aed43608b024373952829eabc191d85', 'network_id': '68556d25-5a59-4444-b17d-91936d46daca', 'ip_version': 4, 'cidr': '105.149.157.128/26', 'allocation_pools': [{'start': '105.149.157.130', 'end': '105.149.157.190'}], 'gateway_ip': '105.149.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.149.157.130', 'tags': [], 'project_id': '9aed43608b024373952829eabc191d85'}} 2025-06-05 02:32:41,504 - INFO - Created VN ctest-vn-18525505 2025-06-05 02:32:41,562 - DEBUG - VN ctest-vn-18525505 UUID is 68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:41,714 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672, 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-24724888:ctest-vn-18525505, 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-06-05 02:32:42,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c8ac684-4e5c-42c1-89e6-09336a26850a', 'name': 'ctest-vn-06271672', 'tenant_id': '9aed43608b024373952829eabc191d85', 'project_id': '9aed43608b024373952829eabc191d85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e96d523-6dd9-4e6f-a327-04cb281cc943'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-vn-06271672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-policy-allow-all-45919002']], 'subnet_ipam': [{'subnet_cidr': '75.87.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:32:42,278 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68556d25-5a59-4444-b17d-91936d46daca', 'name': 'ctest-vn-18525505', 'tenant_id': '9aed43608b024373952829eabc191d85', 'project_id': '9aed43608b024373952829eabc191d85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50d33429-5cc0-4997-a47d-f368f927adc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-vn-18525505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-policy-allow-all-45919002']], 'subnet_ipam': [{'subnet_cidr': '105.149.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:32:42,422 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:32:42,726 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:32:42,754 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:32:42,766 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:32:42,838 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:42,849 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:42,858 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:32:42,864 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:32:42,871 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e41b51ef-9ddd-4b59-95c6-fdd4748453ba 2025-06-05 02:32:42,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:32:42,877 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:42,886 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:32:42,899 - INFO - Verified VN network id 8 for VN 2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:42,899 - INFO - Verifications in API Server for VN ctest-vn-06271672 passed 2025-06-05 02:32:42,899 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:42,908 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:32:42,914 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:32:42,920 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e41b51ef-9ddd-4b59-95c6-fdd4748453ba 2025-06-05 02:32:42,930 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24724888', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3209595956007551681', 'uuid-lslong': '9936639744268469514'}, 'enable': 'true', 'created': '2025-06-05T02:32:40', 'last-modified': '2025-06-05T02:32:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955176'} 2025-06-05 02:32:42,936 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:32:42,936 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06271672 passed 2025-06-05 02:32:42,936 - DEBUG - ====Verifying policy data for ctest-vn-06271672 in API_Server ====== 2025-06-05 02:32:42,937 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:32:42,941 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:32:42,951 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:32:43,022 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c8ac684-4e5c-42c1-89e6-09336a26850a 2025-06-05 02:32:43,036 - DEBUG - ==>Verifying data for policy with id: e613bfd5-f1f5-44e3-8ca5-74f0e25d0dae, fqn: ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-policy-allow-all-45919002'] 2025-06-05 02:32:43,036 - INFO - VN ctest-vn-06271672 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:32:43,036 - DEBUG - Verifying the vn in opserver 2025-06-05 02:32:43,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672 virtual network link through opserver 10.0.0.27 2025-06-05 02:32:43,036 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-05 02:32:43,325 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-05 02:32:43,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672?flat'} 2025-06-05 02:32:43,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672 is found in opserver 2025-06-05 02:32:43,383 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:32:43,387 - DEBUG - VRF ids for VN ctest-vn-06271672: {} 2025-06-05 02:32:43,387 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:32:43,392 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:32:43,402 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:32:43,470 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,481 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,489 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:32:43,496 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:32:43,502 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e783119c-2fc1-468b-8bc0-55bc06b79d1e 2025-06-05 02:32:43,507 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:32:43,507 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,516 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:32:43,528 - INFO - Verified VN network id 9 for VN 68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,528 - INFO - Verifications in API Server for VN ctest-vn-18525505 passed 2025-06-05 02:32:43,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,539 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:32:43,546 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:32:43,553 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e783119c-2fc1-468b-8bc0-55bc06b79d1e 2025-06-05 02:32:43,563 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-18525505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24724888', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7518035160161928260', 'uuid-lslong': '12789538579181656778'}, 'enable': 'true', 'created': '2025-06-05T02:32:41', 'last-modified': '2025-06-05T02:32:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353339'} 2025-06-05 02:32:43,569 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:32:43,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18525505 passed 2025-06-05 02:32:43,570 - DEBUG - ====Verifying policy data for ctest-vn-18525505 in API_Server ====== 2025-06-05 02:32:43,570 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:32:43,575 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:32:43,585 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:32:43,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/68556d25-5a59-4444-b17d-91936d46daca 2025-06-05 02:32:43,670 - DEBUG - ==>Verifying data for policy with id: e613bfd5-f1f5-44e3-8ca5-74f0e25d0dae, fqn: ['default-domain', 'ctest-TestBasicPolicy-24724888', 'ctest-policy-allow-all-45919002'] 2025-06-05 02:32:43,670 - INFO - VN ctest-vn-18525505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:32:43,670 - DEBUG - Verifying the vn in opserver 2025-06-05 02:32:43,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-18525505 virtual network link through opserver 10.0.0.27 2025-06-05 02:32:43,670 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-05 02:32:43,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-18525505', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-18525505?flat'} 2025-06-05 02:32:43,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-18525505 is found in opserver 2025-06-05 02:32:43,689 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:32:43,694 - DEBUG - VRF ids for VN ctest-vn-18525505: {} 2025-06-05 02:32:43,741 - DEBUG - Services list from nova: [, , ] 2025-06-05 02:32:44,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3405-1) 2025-06-05 02:32:45,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3405-1) 2025-06-05 02:32:45,833 - INFO - Waiting for VM ctest-TestBasicPolicy-24724888-98395527 to be up.. 2025-06-05 02:32:45,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:32:50,971 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:32:50,971 - INFO - VM name : ctest-TestBasicPolicy-24724888-98395527 2025-06-05 02:32:51,042 - DEBUG - VM ctest-TestBasicPolicy-24724888-98395527 ID is 8e5d9b96-c331-45d8-8324-f0bee3eecaea 2025-06-05 02:32:51,059 - DEBUG - VM ctest-TestBasicPolicy-24724888-98395527 launched on Node cn-jenkins-deploy-platform-ansible-os-3405-1 2025-06-05 02:32:51,123 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8e5d9b96-c331-45d8-8324-f0bee3eecaea 2025-06-05 02:32:51,131 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ba1b92bc-c94a-4bb1-9f93-8f608c9f2dcd 2025-06-05 02:32:54,399 - 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-06-05 02:32:54,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24724888-98395527 failed! 2025-06-05 02:32:54,454 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24724888:ctest-vn-06271672 is 75.87.54.129 and allocation pool is NOT set 2025-06-05 02:32:56,509 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.340 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.340/1.431/2.522/1.091 ms') 2025-06-05 02:32:56,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24724888-98395527 passed 2025-06-05 02:32:56,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:32:56,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24724888-98395527, IP 75.87.54.131, Port 22 2025-06-05 02:32:56,813 - DEBUG - VM ctest-TestBasicPolicy-24724888-98395527 is ready for SSH connections 2025-06-05 02:32:56,813 - INFO - Waiting for VM ctest-TestBasicPolicy-24724888-79095979 to be up.. 2025-06-05 02:32:56,889 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:32:56,890 - INFO - VM name : ctest-TestBasicPolicy-24724888-79095979 2025-06-05 02:32:56,958 - DEBUG - VM ctest-TestBasicPolicy-24724888-79095979 ID is 4da1962e-3bad-4eb1-91ad-ff3264bd0fb2 2025-06-05 02:32:56,958 - DEBUG - VM ctest-TestBasicPolicy-24724888-79095979 launched on Node cn-jenkins-deploy-platform-ansible-os-3405-1 2025-06-05 02:32:57,025 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4da1962e-3bad-4eb1-91ad-ff3264bd0fb2 2025-06-05 02:32:57,033 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fb4676c5-433e-45a0-ad20-62b0f716c352 2025-06-05 02:32:58,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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.668/2.961/1.292 ms') 2025-06-05 02:32:58,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24724888-79095979 passed 2025-06-05 02:32:58,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:32:58,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24724888-79095979, IP 105.149.157.131, Port 22 2025-06-05 02:32:58,569 - DEBUG - VM ctest-TestBasicPolicy-24724888-79095979 is ready for SSH connections 2025-06-05 02:32:58,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:32:58,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.149.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-05 02:32:58,569 - DEBUG - ping -s 56 -c 3 -W 1 105.149.157.131 2025-06-05 02:33:02,244 - DEBUG - PING 105.149.157.131 (105.149.157.131): 56 data bytes 64 bytes from 105.149.157.131: seq=0 ttl=63 time=3.567 ms 64 bytes from 105.149.157.131: seq=1 ttl=63 time=0.697 ms 64 bytes from 105.149.157.131: seq=2 ttl=63 time=0.730 ms --- 105.149.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/1.664/3.567 ms 2025-06-05 02:33:02,244 - INFO - Ping to IP 105.149.157.131 from VM ctest-TestBasicPolicy-24724888-98395527 passed 2025-06-05 02:33:02,429 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e613bfd5-f1f5-44e3-8ca5-74f0e25d0dae", "href": "http://10.0.0.27:8082/network-policy/e613bfd5-f1f5-44e3-8ca5-74f0e25d0dae"}} 2025-06-05 02:33:02,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:33:02,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.149.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-05 02:33:02,430 - DEBUG - ping -s 56 -c 3 -W 1 105.149.157.131 2025-06-05 02:33:05,626 - DEBUG - PING 105.149.157.131 (105.149.157.131): 56 data bytes --- 105.149.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-05 02:33:05,626 - WARNING - Ping to IP 105.149.157.131 from VM ctest-TestBasicPolicy-24724888-98395527 failed 2025-06-05 02:33:05,626 - INFO - Deleting VM ctest-TestBasicPolicy-24724888-79095979 2025-06-05 02:33:05,681 - INFO - Deleting VM ctest-TestBasicPolicy-24724888-98395527 2025-06-05 02:33:06,049 - INFO - Deleted policy ctest-policy-allow-all-45919002 2025-06-05 02:33:06,049 - INFO - Deleting VN ctest-vn-18525505 2025-06-05 02:33:06,077 - DEBUG - VN 68556d25-5a59-4444-b17d-91936d46daca still in use: Unable to complete operation on network 68556d25-5a59-4444-b17d-91936d46daca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c187da48-6b2d-4648-97cf-8dc801c397f3'] 2025-06-05 02:33:06,077 - WARNING - Deleting VN ctest-vn-18525505 failed..Will retry 2025-06-05 02:33:08,176 - DEBUG - Response for deleting network () 2025-06-05 02:33:08,176 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8022bb46-0535-47e7-ac88-a9ef3190ca4b 2025-06-05 02:33:08,181 - DEBUG - Response Code: 404 2025-06-05 02:33:08,181 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:33:08,188 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:33:08,243 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:33:08,317 - INFO - Validated that VN ctest-vn-18525505 is not found in API Server 2025-06-05 02:33:08,327 - DEBUG - VN ctest-vn-18525505 is not present in Agent 10.0.0.27 2025-06-05 02:33:08,327 - INFO - Validated that VN ctest-vn-18525505 is not in any agent 2025-06-05 02:33:08,342 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18525505 info 2025-06-05 02:33:08,342 - INFO - Deleting VN ctest-vn-06271672 2025-06-05 02:33:08,435 - DEBUG - Response for deleting network () 2025-06-05 02:33:08,436 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2a455ad6-b270-4248-aa9b-b777cfed8a28 2025-06-05 02:33:08,441 - DEBUG - Response Code: 404 2025-06-05 02:33:08,441 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-05 02:33:08,450 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93 2025-06-05 02:33:08,503 - DEBUG - Requesting: http://10.0.0.27:8082/project/9aed4360-8b02-4373-9528-29eabc191d85 2025-06-05 02:33:08,574 - INFO - Validated that VN ctest-vn-06271672 is not found in API Server 2025-06-05 02:33:08,584 - DEBUG - VN ctest-vn-06271672 is not present in Agent 10.0.0.27 2025-06-05 02:33:08,585 - INFO - Validated that VN ctest-vn-06271672 is not in any agent 2025-06-05 02:33:08,600 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06271672 info 2025-06-05 02:33:08,855 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:33:08,856 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-05 02:33:08,856 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:33:09,493 - INFO - Deleted project: ctest-TestBasicPolicy-24724888, ID : 9aed4360-8b02-4373-9528-29eabc191d85