2025-08-12 01:44:24,268 - INFO - Domain Default found not creating 2025-08-12 01:44:24,407 - INFO - Project ctest-TestBasicPolicy-19437996 not found, creating it 2025-08-12 01:44:24,841 - INFO - Created Project:ctest-TestBasicPolicy-19437996, ID : d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:26,349 - INFO - ================================================================================ 2025-08-12 01:44:26,350 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 01:44:26,350 - 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-08-12 01:44:26,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-12 01:44:26,614 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:44:26,614 - INFO - 2025-08-12 01:44:27,153 - DEBUG - Response for create_network : {'network': {'id': 'c4cc6e22-3c92-4238-8ea3-46a2e4c0197e', 'name': 'ctest-vn-28970241', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'project_id': 'd33985266f104e669526ebf70eeb3ca8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-vn-28970241'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:27,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '8835e30e-d0c8-4cbb-a31b-9566274846af', 'name': '', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'network_id': 'c4cc6e22-3c92-4238-8ea3-46a2e4c0197e', 'ip_version': 4, 'cidr': '129.125.185.64/26', 'allocation_pools': [{'start': '129.125.185.66', 'end': '129.125.185.126'}], 'gateway_ip': '129.125.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.125.185.66', 'tags': [], 'project_id': 'd33985266f104e669526ebf70eeb3ca8'}} 2025-08-12 01:44:27,331 - INFO - Created VN ctest-vn-28970241 2025-08-12 01:44:27,384 - DEBUG - VN ctest-vn-28970241 UUID is c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:27,698 - DEBUG - Response for create_network : {'network': {'id': '55eb8190-7bfc-4538-a081-65778ca4cd35', 'name': 'ctest-vn-00052636', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'project_id': 'd33985266f104e669526ebf70eeb3ca8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-vn-00052636'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:27,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac90942d-d0ee-4efc-8947-74d5a7224305', 'name': '', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'network_id': '55eb8190-7bfc-4538-a081-65778ca4cd35', 'ip_version': 4, 'cidr': '213.53.39.64/26', 'allocation_pools': [{'start': '213.53.39.66', 'end': '213.53.39.126'}], 'gateway_ip': '213.53.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.53.39.66', 'tags': [], 'project_id': 'd33985266f104e669526ebf70eeb3ca8'}} 2025-08-12 01:44:27,945 - INFO - Created VN ctest-vn-00052636 2025-08-12 01:44:27,996 - DEBUG - VN ctest-vn-00052636 UUID is 55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:28,122 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241, 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-19437996:ctest-vn-00052636, 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-08-12 01:44:28,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4cc6e22-3c92-4238-8ea3-46a2e4c0197e', 'name': 'ctest-vn-28970241', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'project_id': 'd33985266f104e669526ebf70eeb3ca8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8835e30e-d0c8-4cbb-a31b-9566274846af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-vn-28970241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-policy-allow-all-22564995']], 'subnet_ipam': [{'subnet_cidr': '129.125.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:28,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55eb8190-7bfc-4538-a081-65778ca4cd35', 'name': 'ctest-vn-00052636', 'tenant_id': 'd33985266f104e669526ebf70eeb3ca8', 'project_id': 'd33985266f104e669526ebf70eeb3ca8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac90942d-d0ee-4efc-8947-74d5a7224305'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-vn-00052636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-policy-allow-all-22564995']], 'subnet_ipam': [{'subnet_cidr': '213.53.39.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:28,792 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:29,081 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:29,109 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:29,122 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:29,197 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,208 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,218 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:29,225 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:29,232 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f88353a6-6109-43eb-818e-d4a948f6784c 2025-08-12 01:44:29,238 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 01:44:29,238 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,247 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:29,261 - INFO - Verified VN network id 11 for VN c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,261 - INFO - Verifications in API Server for VN ctest-vn-28970241 passed 2025-08-12 01:44:29,261 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,270 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:29,276 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:29,283 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f88353a6-6109-43eb-818e-d4a948f6784c 2025-08-12 01:44:29,294 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19437996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14180830420007010872', 'uuid-lslong': '10278136440026044798'}, 'enable': 'true', 'created': '2025-08-12T01:44:27', 'last-modified': '2025-08-12T01:44:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911474'} 2025-08-12 01:44:29,301 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 01:44:29,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28970241 passed 2025-08-12 01:44:29,301 - DEBUG - ====Verifying policy data for ctest-vn-28970241 in API_Server ====== 2025-08-12 01:44:29,301 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:29,306 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:29,318 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:29,394 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4cc6e22-3c92-4238-8ea3-46a2e4c0197e 2025-08-12 01:44:29,406 - DEBUG - ==>Verifying data for policy with id: f2243532-a101-4dab-92f5-6f1b67131540, fqn: ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-policy-allow-all-22564995'] 2025-08-12 01:44:29,406 - INFO - VN ctest-vn-28970241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 01:44:29,406 - DEBUG - Verifying the vn in opserver 2025-08-12 01:44:29,406 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241 virtual network link through opserver 10.0.0.242 2025-08-12 01:44:29,406 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-12 01:44:29,693 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-12 01:44:29,744 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241?flat'} 2025-08-12 01:44:29,744 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241 is found in opserver 2025-08-12 01:44:29,754 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 01:44:29,758 - DEBUG - VRF ids for VN ctest-vn-28970241: {} 2025-08-12 01:44:29,758 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:29,764 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:29,774 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:29,843 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:29,854 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:29,864 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:29,871 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:29,878 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ee20408b-e67d-4d9d-bdc3-5c48dfa4a17f 2025-08-12 01:44:29,884 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 01:44:29,884 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:29,893 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:29,907 - INFO - Verified VN network id 12 for VN 55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:29,908 - INFO - Verifications in API Server for VN ctest-vn-00052636 passed 2025-08-12 01:44:29,908 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:29,918 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:29,925 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:29,931 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ee20408b-e67d-4d9d-bdc3-5c48dfa4a17f 2025-08-12 01:44:29,942 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-00052636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19437996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6191184570306282808', 'uuid-lslong': '11565636882199268661'}, 'enable': 'true', 'created': '2025-08-12T01:44:27', 'last-modified': '2025-08-12T01:44:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338646'} 2025-08-12 01:44:29,948 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 01:44:29,948 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00052636 passed 2025-08-12 01:44:29,948 - DEBUG - ====Verifying policy data for ctest-vn-00052636 in API_Server ====== 2025-08-12 01:44:29,948 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:29,953 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:29,964 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:30,033 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/55eb8190-7bfc-4538-a081-65778ca4cd35 2025-08-12 01:44:30,043 - DEBUG - ==>Verifying data for policy with id: f2243532-a101-4dab-92f5-6f1b67131540, fqn: ['default-domain', 'ctest-TestBasicPolicy-19437996', 'ctest-policy-allow-all-22564995'] 2025-08-12 01:44:30,043 - INFO - VN ctest-vn-00052636 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 01:44:30,043 - DEBUG - Verifying the vn in opserver 2025-08-12 01:44:30,043 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-00052636 virtual network link through opserver 10.0.0.242 2025-08-12 01:44:30,043 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-12 01:44:30,053 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-00052636', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-00052636?flat'} 2025-08-12 01:44:30,053 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-00052636 is found in opserver 2025-08-12 01:44:30,063 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 01:44:30,067 - DEBUG - VRF ids for VN ctest-vn-00052636: {} 2025-08-12 01:44:30,118 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:44:31,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:44:32,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:44:32,108 - INFO - Waiting for VM ctest-TestBasicPolicy-19437996-21719488 to be up.. 2025-08-12 01:44:32,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:44:37,248 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:44:37,248 - INFO - VM name : ctest-TestBasicPolicy-19437996-21719488 2025-08-12 01:44:37,308 - DEBUG - VM ctest-TestBasicPolicy-19437996-21719488 ID is 7a5b70f3-ad33-44f8-b5e0-6d7e77f3f97f 2025-08-12 01:44:37,324 - DEBUG - VM ctest-TestBasicPolicy-19437996-21719488 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:44:37,383 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7a5b70f3-ad33-44f8-b5e0-6d7e77f3f97f 2025-08-12 01:44:37,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d40b501e-b1db-4afc-8a46-0125da53fd8d 2025-08-12 01:44:40,645 - 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 1024ms') 2025-08-12 01:44:40,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19437996-21719488 failed! 2025-08-12 01:44:40,708 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19437996:ctest-vn-28970241 is 129.125.185.65 and allocation pool is NOT set 2025-08-12 01:44:42,763 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.348/1.486/2.624/1.138 ms') 2025-08-12 01:44:42,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19437996-21719488 passed 2025-08-12 01:44:42,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:42,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19437996-21719488, IP 129.125.185.67, Port 22 2025-08-12 01:44:43,068 - DEBUG - VM ctest-TestBasicPolicy-19437996-21719488 is ready for SSH connections 2025-08-12 01:44:43,068 - INFO - Waiting for VM ctest-TestBasicPolicy-19437996-28257309 to be up.. 2025-08-12 01:44:43,127 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:44:43,127 - INFO - VM name : ctest-TestBasicPolicy-19437996-28257309 2025-08-12 01:44:43,182 - DEBUG - VM ctest-TestBasicPolicy-19437996-28257309 ID is 37bab960-df38-4208-94ee-5c96cb4367ca 2025-08-12 01:44:43,183 - DEBUG - VM ctest-TestBasicPolicy-19437996-28257309 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:44:43,237 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/37bab960-df38-4208-94ee-5c96cb4367ca 2025-08-12 01:44:43,244 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c4f4f01d-20f5-4bb7-8903-8e1f7e1f069e 2025-08-12 01:44:44,483 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.285 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.285/1.566/2.848/1.281 ms') 2025-08-12 01:44:44,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19437996-28257309 passed 2025-08-12 01:44:44,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:44,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19437996-28257309, IP 213.53.39.67, Port 22 2025-08-12 01:44:44,796 - DEBUG - VM ctest-TestBasicPolicy-19437996-28257309 is ready for SSH connections 2025-08-12 01:44:44,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:44,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.53.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:44:44,796 - DEBUG - ping -s 56 -c 3 -W 1 213.53.39.67 2025-08-12 01:44:48,494 - DEBUG - PING 213.53.39.67 (213.53.39.67): 56 data bytes 64 bytes from 213.53.39.67: seq=0 ttl=63 time=3.917 ms 64 bytes from 213.53.39.67: seq=1 ttl=63 time=0.741 ms 64 bytes from 213.53.39.67: seq=2 ttl=63 time=0.816 ms --- 213.53.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.824/3.917 ms 2025-08-12 01:44:48,494 - INFO - Ping to IP 213.53.39.67 from VM ctest-TestBasicPolicy-19437996-21719488 passed 2025-08-12 01:44:48,672 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2243532-a101-4dab-92f5-6f1b67131540", "href": "http://10.0.0.242:8082/network-policy/f2243532-a101-4dab-92f5-6f1b67131540"}} 2025-08-12 01:44:48,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:48,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.53.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:44:48,672 - DEBUG - ping -s 56 -c 3 -W 1 213.53.39.67 2025-08-12 01:44:51,875 - DEBUG - PING 213.53.39.67 (213.53.39.67): 56 data bytes --- 213.53.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 01:44:51,875 - WARNING - Ping to IP 213.53.39.67 from VM ctest-TestBasicPolicy-19437996-21719488 failed 2025-08-12 01:44:51,875 - INFO - Deleting VM ctest-TestBasicPolicy-19437996-28257309 2025-08-12 01:44:51,939 - INFO - Deleting VM ctest-TestBasicPolicy-19437996-21719488 2025-08-12 01:44:52,323 - INFO - Deleted policy ctest-policy-allow-all-22564995 2025-08-12 01:44:52,323 - INFO - Deleting VN ctest-vn-00052636 2025-08-12 01:44:52,355 - DEBUG - VN 55eb8190-7bfc-4538-a081-65778ca4cd35 still in use: Unable to complete operation on network 55eb8190-7bfc-4538-a081-65778ca4cd35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cad44c8e-9ca0-4b80-9f7d-d62754aa4d7d'] 2025-08-12 01:44:52,355 - WARNING - Deleting VN ctest-vn-00052636 failed..Will retry 2025-08-12 01:44:54,450 - DEBUG - Response for deleting network () 2025-08-12 01:44:54,451 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/42b6be27-7cb5-47bc-b63c-55ce1c8ef9a4 2025-08-12 01:44:54,456 - DEBUG - Response Code: 404 2025-08-12 01:44:54,457 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:54,461 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:54,514 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:54,590 - INFO - Validated that VN ctest-vn-00052636 is not found in API Server 2025-08-12 01:44:54,601 - DEBUG - VN ctest-vn-00052636 is not present in Agent 10.0.0.242 2025-08-12 01:44:54,601 - INFO - Validated that VN ctest-vn-00052636 is not in any agent 2025-08-12 01:44:54,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00052636 info 2025-08-12 01:44:54,616 - INFO - Deleting VN ctest-vn-28970241 2025-08-12 01:44:54,722 - DEBUG - Response for deleting network () 2025-08-12 01:44:54,722 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7cf2d8db-6bfa-46d1-9e05-cff77f4aa800 2025-08-12 01:44:54,731 - DEBUG - Response Code: 404 2025-08-12 01:44:54,732 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-12 01:44:54,739 - DEBUG - Requesting: http://10.0.0.242:8082/domain/59bb0ac2-25e7-436b-9d77-8fb4ef5abd5f 2025-08-12 01:44:54,799 - DEBUG - Requesting: http://10.0.0.242:8082/project/d3398526-6f10-4e66-9526-ebf70eeb3ca8 2025-08-12 01:44:54,870 - INFO - Validated that VN ctest-vn-28970241 is not found in API Server 2025-08-12 01:44:54,881 - DEBUG - VN ctest-vn-28970241 is not present in Agent 10.0.0.242 2025-08-12 01:44:54,881 - INFO - Validated that VN ctest-vn-28970241 is not in any agent 2025-08-12 01:44:54,896 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28970241 info 2025-08-12 01:44:55,145 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 01:44:55,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-12 01:44:55,145 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:44:55,801 - INFO - Deleted project: ctest-TestBasicPolicy-19437996, ID : d3398526-6f10-4e66-9526-ebf70eeb3ca8