2025-11-03 16:45:28,144 - INFO - Domain Default found not creating 2025-11-03 16:45:28,292 - INFO - Project ctest-TestBasicPolicy-75216747 not found, creating it 2025-11-03 16:45:28,719 - INFO - Created Project:ctest-TestBasicPolicy-75216747, ID : 2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:30,680 - INFO - ================================================================================ 2025-11-03 16:45:30,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 16:45:30,680 - 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-11-03 16:45:30,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-11-03 16:45:30,934 - INFO - Initial checks done. Running the testcase now 2025-11-03 16:45:30,934 - INFO - 2025-11-03 16:45:31,416 - DEBUG - Response for create_network : {'network': {'id': 'de104edc-8783-45d9-981f-e2a253a8ba36', 'name': 'ctest-vn-09639558', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'project_id': '2e47c78b3db64f78941ce7d63d779940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-vn-09639558'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:45:31,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '11756e87-b9e8-4c94-9a0a-268dad560f98', 'name': '', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'network_id': 'de104edc-8783-45d9-981f-e2a253a8ba36', 'ip_version': 4, 'cidr': '94.195.209.192/26', 'allocation_pools': [{'start': '94.195.209.194', 'end': '94.195.209.254'}], 'gateway_ip': '94.195.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.195.209.194', 'tags': [], 'project_id': '2e47c78b3db64f78941ce7d63d779940'}} 2025-11-03 16:45:31,604 - INFO - Created VN ctest-vn-09639558 2025-11-03 16:45:31,656 - DEBUG - VN ctest-vn-09639558 UUID is de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:31,979 - DEBUG - Response for create_network : {'network': {'id': '8a8a87d9-5e70-41ae-8681-12cc4a61a2df', 'name': 'ctest-vn-50602131', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'project_id': '2e47c78b3db64f78941ce7d63d779940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-vn-50602131'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:45:32,131 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adfaa74e-8ed7-49ec-bc43-4f121e1feb59', 'name': '', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'network_id': '8a8a87d9-5e70-41ae-8681-12cc4a61a2df', 'ip_version': 4, 'cidr': '15.79.137.0/26', 'allocation_pools': [{'start': '15.79.137.2', 'end': '15.79.137.62'}], 'gateway_ip': '15.79.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.79.137.2', 'tags': [], 'project_id': '2e47c78b3db64f78941ce7d63d779940'}} 2025-11-03 16:45:32,146 - INFO - Created VN ctest-vn-50602131 2025-11-03 16:45:32,200 - DEBUG - VN ctest-vn-50602131 UUID is 8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:32,344 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558, 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-75216747:ctest-vn-50602131, 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-11-03 16:45:32,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de104edc-8783-45d9-981f-e2a253a8ba36', 'name': 'ctest-vn-09639558', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'project_id': '2e47c78b3db64f78941ce7d63d779940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11756e87-b9e8-4c94-9a0a-268dad560f98'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-vn-09639558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-policy-allow-all-42282880']], 'subnet_ipam': [{'subnet_cidr': '94.195.209.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:45:32,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a8a87d9-5e70-41ae-8681-12cc4a61a2df', 'name': 'ctest-vn-50602131', 'tenant_id': '2e47c78b3db64f78941ce7d63d779940', 'project_id': '2e47c78b3db64f78941ce7d63d779940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['adfaa74e-8ed7-49ec-bc43-4f121e1feb59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-vn-50602131'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-policy-allow-all-42282880']], 'subnet_ipam': [{'subnet_cidr': '15.79.137.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:45:33,024 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:33,320 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:33,347 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:33,359 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:33,432 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,457 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:33,463 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:33,470 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/00cbc857-5c65-404c-bd01-a5767cf938bc 2025-11-03 16:45:33,475 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 16:45:33,475 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,484 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:33,500 - INFO - Verified VN network id 10 for VN de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,500 - INFO - Verifications in API Server for VN ctest-vn-09639558 passed 2025-11-03 16:45:33,500 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,509 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:33,515 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:33,521 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/00cbc857-5c65-404c-bd01-a5767cf938bc 2025-11-03 16:45:33,537 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75216747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16001376185120671193', 'uuid-lslong': '10961729204859222582'}, 'enable': 'true', 'created': '2025-11-03T16:45:31', 'last-modified': '2025-11-03T16:45:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930388'} 2025-11-03 16:45:33,543 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 16:45:33,543 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09639558 passed 2025-11-03 16:45:33,543 - DEBUG - ====Verifying policy data for ctest-vn-09639558 in API_Server ====== 2025-11-03 16:45:33,543 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:33,548 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:33,558 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:33,629 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/de104edc-8783-45d9-981f-e2a253a8ba36 2025-11-03 16:45:33,637 - DEBUG - ==>Verifying data for policy with id: 987ded3c-a39a-4060-84e9-7c2a85df6768, fqn: ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-policy-allow-all-42282880'] 2025-11-03 16:45:33,637 - INFO - VN ctest-vn-09639558 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 16:45:33,637 - DEBUG - Verifying the vn in opserver 2025-11-03 16:45:33,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558 virtual network link through opserver 10.0.0.242 2025-11-03 16:45:33,637 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-03 16:45:33,925 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-03 16:45:33,974 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558?flat'} 2025-11-03 16:45:33,974 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558 is found in opserver 2025-11-03 16:45:33,982 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 16:45:33,987 - DEBUG - VRF ids for VN ctest-vn-09639558: {} 2025-11-03 16:45:33,987 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:33,992 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:34,002 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:34,071 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,084 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,093 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:34,101 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:34,107 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/51b253fb-4f03-4102-a93e-24210e74e231 2025-11-03 16:45:34,113 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 16:45:34,114 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,122 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:34,134 - INFO - Verified VN network id 11 for VN 8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,134 - INFO - Verifications in API Server for VN ctest-vn-50602131 passed 2025-11-03 16:45:34,134 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,143 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:34,148 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:34,153 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/51b253fb-4f03-4102-a93e-24210e74e231 2025-11-03 16:45:34,163 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-50602131', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75216747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9982940891682193838', 'uuid-lslong': '9692048541708559071'}, 'enable': 'true', 'created': '2025-11-03T16:45:31', 'last-modified': '2025-11-03T16:45:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326888'} 2025-11-03 16:45:34,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 16:45:34,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50602131 passed 2025-11-03 16:45:34,169 - DEBUG - ====Verifying policy data for ctest-vn-50602131 in API_Server ====== 2025-11-03 16:45:34,169 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:34,174 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:34,183 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:34,249 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8a8a87d9-5e70-41ae-8681-12cc4a61a2df 2025-11-03 16:45:34,257 - DEBUG - ==>Verifying data for policy with id: 987ded3c-a39a-4060-84e9-7c2a85df6768, fqn: ['default-domain', 'ctest-TestBasicPolicy-75216747', 'ctest-policy-allow-all-42282880'] 2025-11-03 16:45:34,257 - INFO - VN ctest-vn-50602131 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 16:45:34,257 - DEBUG - Verifying the vn in opserver 2025-11-03 16:45:34,257 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-50602131 virtual network link through opserver 10.0.0.242 2025-11-03 16:45:34,257 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-03 16:45:34,266 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-50602131', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-50602131?flat'} 2025-11-03 16:45:34,266 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-50602131 is found in opserver 2025-11-03 16:45:34,274 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 16:45:34,278 - DEBUG - VRF ids for VN ctest-vn-50602131: {} 2025-11-03 16:45:34,333 - DEBUG - Services list from nova: [, , ] 2025-11-03 16:45:35,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:45:36,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:45:36,447 - INFO - Waiting for VM ctest-TestBasicPolicy-75216747-63749333 to be up.. 2025-11-03 16:45:36,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 16:45:41,596 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:45:41,596 - INFO - VM name : ctest-TestBasicPolicy-75216747-63749333 2025-11-03 16:45:41,667 - DEBUG - VM ctest-TestBasicPolicy-75216747-63749333 ID is 61813f27-839d-471d-bf1d-a118f05ee6b5 2025-11-03 16:45:41,684 - DEBUG - VM ctest-TestBasicPolicy-75216747-63749333 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:45:41,751 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/61813f27-839d-471d-bf1d-a118f05ee6b5 2025-11-03 16:45:41,758 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b911e994-9016-4398-8847-befa676ffd24 2025-11-03 16:45:44,991 - 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 1007ms') 2025-11-03 16:45:44,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75216747-63749333 failed! 2025-11-03 16:45:45,044 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75216747:ctest-vn-09639558 is 94.195.209.193 and allocation pool is NOT set 2025-11-03 16:45:47,107 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 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 = 3.180/3.744/4.309/0.564 ms') 2025-11-03 16:45:47,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75216747-63749333 passed 2025-11-03 16:45:47,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:47,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75216747-63749333, IP 94.195.209.195, Port 22 2025-11-03 16:45:47,423 - DEBUG - VM ctest-TestBasicPolicy-75216747-63749333 is ready for SSH connections 2025-11-03 16:45:47,423 - INFO - Waiting for VM ctest-TestBasicPolicy-75216747-92261235 to be up.. 2025-11-03 16:45:47,504 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:45:47,504 - INFO - VM name : ctest-TestBasicPolicy-75216747-92261235 2025-11-03 16:45:47,583 - DEBUG - VM ctest-TestBasicPolicy-75216747-92261235 ID is c2d7be4c-166d-441a-8dc4-972ac2375ef4 2025-11-03 16:45:47,583 - DEBUG - VM ctest-TestBasicPolicy-75216747-92261235 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:45:47,654 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c2d7be4c-166d-441a-8dc4-972ac2375ef4 2025-11-03 16:45:47,661 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f36e543f-1903-4245-b824-fa6a3e08e596 2025-11-03 16:45:48,896 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.638 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.638/1.746/2.855/1.108 ms') 2025-11-03 16:45:48,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75216747-92261235 passed 2025-11-03 16:45:49,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:49,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75216747-92261235, IP 15.79.137.3, Port 22 2025-11-03 16:45:49,199 - DEBUG - VM ctest-TestBasicPolicy-75216747-92261235 is ready for SSH connections 2025-11-03 16:45:49,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:49,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.79.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-03 16:45:49,199 - DEBUG - ping -s 56 -c 3 -W 1 15.79.137.3 2025-11-03 16:45:52,902 - DEBUG - PING 15.79.137.3 (15.79.137.3): 56 data bytes 64 bytes from 15.79.137.3: seq=0 ttl=63 time=3.966 ms 64 bytes from 15.79.137.3: seq=1 ttl=63 time=0.819 ms 64 bytes from 15.79.137.3: seq=2 ttl=63 time=0.972 ms --- 15.79.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.919/3.966 ms 2025-11-03 16:45:52,902 - INFO - Ping to IP 15.79.137.3 from VM ctest-TestBasicPolicy-75216747-63749333 passed 2025-11-03 16:45:53,084 - DEBUG - Policy Update Response {"network-policy": {"uuid": "987ded3c-a39a-4060-84e9-7c2a85df6768", "href": "http://10.0.0.242:8082/network-policy/987ded3c-a39a-4060-84e9-7c2a85df6768"}} 2025-11-03 16:45:53,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:53,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.79.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-03 16:45:53,084 - DEBUG - ping -s 56 -c 3 -W 1 15.79.137.3 2025-11-03 16:45:56,281 - DEBUG - PING 15.79.137.3 (15.79.137.3): 56 data bytes --- 15.79.137.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 16:45:56,281 - WARNING - Ping to IP 15.79.137.3 from VM ctest-TestBasicPolicy-75216747-63749333 failed 2025-11-03 16:45:56,281 - INFO - Deleting VM ctest-TestBasicPolicy-75216747-92261235 2025-11-03 16:45:56,351 - INFO - Deleting VM ctest-TestBasicPolicy-75216747-63749333 2025-11-03 16:45:56,694 - INFO - Deleted policy ctest-policy-allow-all-42282880 2025-11-03 16:45:56,694 - INFO - Deleting VN ctest-vn-50602131 2025-11-03 16:45:56,732 - DEBUG - VN 8a8a87d9-5e70-41ae-8681-12cc4a61a2df still in use: Unable to complete operation on network 8a8a87d9-5e70-41ae-8681-12cc4a61a2df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46c39dee-e5f4-45a3-a4e3-c865d2d53a72'] 2025-11-03 16:45:56,732 - WARNING - Deleting VN ctest-vn-50602131 failed..Will retry 2025-11-03 16:45:58,844 - DEBUG - Response for deleting network () 2025-11-03 16:45:58,844 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd768d60-9a70-416e-91df-2ef83c7ca759 2025-11-03 16:45:58,849 - DEBUG - Response Code: 404 2025-11-03 16:45:58,849 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:58,854 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:58,904 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:58,975 - INFO - Validated that VN ctest-vn-50602131 is not found in API Server 2025-11-03 16:45:58,983 - DEBUG - VN ctest-vn-50602131 is not present in Agent 10.0.0.242 2025-11-03 16:45:58,983 - INFO - Validated that VN ctest-vn-50602131 is not in any agent 2025-11-03 16:45:58,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50602131 info 2025-11-03 16:45:58,995 - INFO - Deleting VN ctest-vn-09639558 2025-11-03 16:45:59,084 - DEBUG - Response for deleting network () 2025-11-03 16:45:59,084 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83e59670-9cea-42cf-9291-e11d206e5c5d 2025-11-03 16:45:59,088 - DEBUG - Response Code: 404 2025-11-03 16:45:59,089 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-03 16:45:59,093 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6fb115a4-4a13-496d-8d81-8fe8d931463a 2025-11-03 16:45:59,144 - DEBUG - Requesting: http://10.0.0.242:8082/project/2e47c78b-3db6-4f78-941c-e7d63d779940 2025-11-03 16:45:59,216 - INFO - Validated that VN ctest-vn-09639558 is not found in API Server 2025-11-03 16:45:59,224 - DEBUG - VN ctest-vn-09639558 is not present in Agent 10.0.0.242 2025-11-03 16:45:59,224 - INFO - Validated that VN ctest-vn-09639558 is not in any agent 2025-11-03 16:45:59,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09639558 info 2025-11-03 16:45:59,492 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 16:45:59,492 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-03 16:45:59,492 - INFO - -------------------------------------------------------------------------------- 2025-11-03 16:46:00,140 - INFO - Deleted project: ctest-TestBasicPolicy-75216747, ID : 2e47c78b-3db6-4f78-941c-e7d63d779940