2025-06-02 02:26:49,187 - INFO - Domain Default found not creating 2025-06-02 02:26:49,316 - INFO - Project ctest-TestBasicPolicy-62242900 not found, creating it 2025-06-02 02:26:49,783 - INFO - Created Project:ctest-TestBasicPolicy-62242900, ID : 5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:26:51,382 - INFO - ================================================================================ 2025-06-02 02:26:51,382 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-02 02:26:51,382 - 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-02 02:26:51,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-06-02 02:26:51,649 - INFO - Initial checks done. Running the testcase now 2025-06-02 02:26:51,649 - INFO - 2025-06-02 02:26:52,256 - DEBUG - Response for create_network : {'network': {'id': '8f4acf0b-f532-4941-b497-f467349602c1', 'name': 'ctest-vn-45933128', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-vn-45933128'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:26:52,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8b327b-2e6b-41d8-8898-60e2762927e6', 'name': '', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'network_id': '8f4acf0b-f532-4941-b497-f467349602c1', 'ip_version': 4, 'cidr': '58.97.66.0/26', 'allocation_pools': [{'start': '58.97.66.2', 'end': '58.97.66.62'}], 'gateway_ip': '58.97.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.97.66.2', 'tags': [], 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a'}} 2025-06-02 02:26:52,448 - INFO - Created VN ctest-vn-45933128 2025-06-02 02:26:52,503 - DEBUG - VN ctest-vn-45933128 UUID is 8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:52,844 - DEBUG - Response for create_network : {'network': {'id': '0bbb18bf-6da4-45ee-959d-67af812048a7', 'name': 'ctest-vn-15689255', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-vn-15689255'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:26:53,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dea93ab-3e7d-47c3-afbc-0484448f2bc2', 'name': '', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'network_id': '0bbb18bf-6da4-45ee-959d-67af812048a7', 'ip_version': 4, 'cidr': '43.2.189.0/26', 'allocation_pools': [{'start': '43.2.189.2', 'end': '43.2.189.62'}], 'gateway_ip': '43.2.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.2.189.2', 'tags': [], 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a'}} 2025-06-02 02:26:53,093 - INFO - Created VN ctest-vn-15689255 2025-06-02 02:26:53,151 - DEBUG - VN ctest-vn-15689255 UUID is 0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:53,266 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128, 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-62242900:ctest-vn-15689255, 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-02 02:26:53,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f4acf0b-f532-4941-b497-f467349602c1', 'name': 'ctest-vn-45933128', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b8b327b-2e6b-41d8-8898-60e2762927e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-vn-45933128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-policy-allow-all-47114596']], 'subnet_ipam': [{'subnet_cidr': '58.97.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:26:53,808 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0bbb18bf-6da4-45ee-959d-67af812048a7', 'name': 'ctest-vn-15689255', 'tenant_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'project_id': '5eb067fb49b54b3fa99c782b86c8e53a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6dea93ab-3e7d-47c3-afbc-0484448f2bc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-vn-15689255'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-policy-allow-all-47114596']], 'subnet_ipam': [{'subnet_cidr': '43.2.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:26:53,975 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:26:54,304 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:26:54,334 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:26:54,347 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:26:54,422 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,433 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,443 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:26:54,450 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:26:54,457 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/bc5c0439-1bfc-4fe7-bc57-03c8bc2de319 2025-06-02 02:26:54,463 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 02:26:54,463 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,472 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:26:54,486 - INFO - Verified VN network id 8 for VN 8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,486 - INFO - Verifications in API Server for VN ctest-vn-45933128 passed 2025-06-02 02:26:54,486 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,497 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:26:54,504 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:26:54,512 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/bc5c0439-1bfc-4fe7-bc57-03c8bc2de319 2025-06-02 02:26:54,525 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62242900', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10325292745965586753', 'uuid-lslong': '13013138372411392705'}, 'enable': 'true', 'created': '2025-06-02T02:26:52', 'last-modified': '2025-06-02T02:26:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983773'} 2025-06-02 02:26:54,533 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 02:26:54,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45933128 passed 2025-06-02 02:26:54,534 - DEBUG - ====Verifying policy data for ctest-vn-45933128 in API_Server ====== 2025-06-02 02:26:54,534 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:26:54,540 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:26:54,555 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:26:54,636 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8f4acf0b-f532-4941-b497-f467349602c1 2025-06-02 02:26:54,648 - DEBUG - ==>Verifying data for policy with id: 9872fe10-9f9b-4f3b-8cc3-ae480bcc4471, fqn: ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-policy-allow-all-47114596'] 2025-06-02 02:26:54,648 - INFO - VN ctest-vn-45933128 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 02:26:54,648 - DEBUG - Verifying the vn in opserver 2025-06-02 02:26:54,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128 virtual network link through opserver 10.0.0.242 2025-06-02 02:26:54,649 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-02 02:26:54,980 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-02 02:26:55,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128?flat'} 2025-06-02 02:26:55,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128 is found in opserver 2025-06-02 02:26:55,053 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 02:26:55,058 - DEBUG - VRF ids for VN ctest-vn-45933128: {} 2025-06-02 02:26:55,058 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:26:55,064 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:26:55,076 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:26:55,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,168 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,179 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:26:55,186 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:26:55,193 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/40de3cd3-ba69-45de-9396-2ba9d57c6fcf 2025-06-02 02:26:55,199 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 02:26:55,199 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,209 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:26:55,222 - INFO - Verified VN network id 9 for VN 0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,222 - INFO - Verifications in API Server for VN ctest-vn-15689255 passed 2025-06-02 02:26:55,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,232 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:26:55,239 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:26:55,247 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/40de3cd3-ba69-45de-9396-2ba9d57c6fcf 2025-06-02 02:26:55,261 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-15689255', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62242900', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '845296565519402478', 'uuid-lslong': '10780887086478149799'}, 'enable': 'true', 'created': '2025-06-02T02:26:52', 'last-modified': '2025-06-02T02:26:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479466'} 2025-06-02 02:26:55,267 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 02:26:55,268 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15689255 passed 2025-06-02 02:26:55,268 - DEBUG - ====Verifying policy data for ctest-vn-15689255 in API_Server ====== 2025-06-02 02:26:55,268 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:26:55,274 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:26:55,285 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:26:55,359 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0bbb18bf-6da4-45ee-959d-67af812048a7 2025-06-02 02:26:55,370 - DEBUG - ==>Verifying data for policy with id: 9872fe10-9f9b-4f3b-8cc3-ae480bcc4471, fqn: ['default-domain', 'ctest-TestBasicPolicy-62242900', 'ctest-policy-allow-all-47114596'] 2025-06-02 02:26:55,370 - INFO - VN ctest-vn-15689255 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 02:26:55,370 - DEBUG - Verifying the vn in opserver 2025-06-02 02:26:55,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-15689255 virtual network link through opserver 10.0.0.242 2025-06-02 02:26:55,370 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-02 02:26:55,381 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-15689255', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-15689255?flat'} 2025-06-02 02:26:55,381 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-15689255 is found in opserver 2025-06-02 02:26:55,392 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 02:26:55,397 - DEBUG - VRF ids for VN ctest-vn-15689255: {} 2025-06-02 02:26:55,452 - DEBUG - Services list from nova: [, , ] 2025-06-02 02:26:56,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3384-1) 2025-06-02 02:26:57,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3384-1) 2025-06-02 02:26:57,839 - INFO - Waiting for VM ctest-TestBasicPolicy-62242900-06235917 to be up.. 2025-06-02 02:26:57,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 02:27:03,009 - DEBUG - VM is in ACTIVE state now 2025-06-02 02:27:03,009 - INFO - VM name : ctest-TestBasicPolicy-62242900-06235917 2025-06-02 02:27:03,083 - DEBUG - VM ctest-TestBasicPolicy-62242900-06235917 ID is d415880a-bcf0-40f4-ab63-bde80287f988 2025-06-02 02:27:03,102 - DEBUG - VM ctest-TestBasicPolicy-62242900-06235917 launched on Node cn-jenkins-deploy-platform-ansible-os-3384-1 2025-06-02 02:27:03,174 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d415880a-bcf0-40f4-ab63-bde80287f988 2025-06-02 02:27:03,183 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/953970a5-864b-4d68-a091-648063585ac8 2025-06-02 02:27:06,450 - 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 1027ms') 2025-06-02 02:27:06,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62242900-06235917 failed! 2025-06-02 02:27:06,511 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62242900:ctest-vn-45933128 is 58.97.66.1 and allocation pool is NOT set 2025-06-02 02:27:08,576 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.497/5.332/10.168/4.835 ms') 2025-06-02 02:27:08,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62242900-06235917 passed 2025-06-02 02:27:08,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:27:08,727 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62242900-06235917, IP 58.97.66.3, Port 22 2025-06-02 02:27:08,882 - DEBUG - VM ctest-TestBasicPolicy-62242900-06235917 is ready for SSH connections 2025-06-02 02:27:08,882 - INFO - Waiting for VM ctest-TestBasicPolicy-62242900-21198605 to be up.. 2025-06-02 02:27:08,959 - DEBUG - VM is in ACTIVE state now 2025-06-02 02:27:08,959 - INFO - VM name : ctest-TestBasicPolicy-62242900-21198605 2025-06-02 02:27:09,034 - DEBUG - VM ctest-TestBasicPolicy-62242900-21198605 ID is e8e2b919-2031-4e1f-9a0e-d0437c737511 2025-06-02 02:27:09,034 - DEBUG - VM ctest-TestBasicPolicy-62242900-21198605 launched on Node cn-jenkins-deploy-platform-ansible-os-3384-1 2025-06-02 02:27:09,113 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e8e2b919-2031-4e1f-9a0e-d0437c737511 2025-06-02 02:27:09,122 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3ee9bf60-0e2e-4ab4-8291-9000a826814d 2025-06-02 02:27:10,365 - 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=4.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/2.858/4.810/1.952 ms') 2025-06-02 02:27:10,365 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62242900-21198605 passed 2025-06-02 02:27:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:27:10,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62242900-21198605, IP 43.2.189.3, Port 22 2025-06-02 02:27:10,683 - DEBUG - VM ctest-TestBasicPolicy-62242900-21198605 is ready for SSH connections 2025-06-02 02:27:10,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:27:10,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.2.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-02 02:27:10,683 - DEBUG - ping -s 56 -c 3 -W 1 43.2.189.3 2025-06-02 02:27:14,764 - DEBUG - PING 43.2.189.3 (43.2.189.3): 56 data bytes 64 bytes from 43.2.189.3: seq=0 ttl=63 time=3.487 ms 64 bytes from 43.2.189.3: seq=1 ttl=63 time=0.728 ms 64 bytes from 43.2.189.3: seq=2 ttl=63 time=0.926 ms --- 43.2.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.713/3.487 ms 2025-06-02 02:27:14,764 - INFO - Ping to IP 43.2.189.3 from VM ctest-TestBasicPolicy-62242900-06235917 passed 2025-06-02 02:27:14,954 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9872fe10-9f9b-4f3b-8cc3-ae480bcc4471", "href": "http://10.0.0.242:8082/network-policy/9872fe10-9f9b-4f3b-8cc3-ae480bcc4471"}} 2025-06-02 02:27:14,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:27:14,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.2.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-02 02:27:14,955 - DEBUG - ping -s 56 -c 3 -W 1 43.2.189.3 2025-06-02 02:27:18,174 - DEBUG - PING 43.2.189.3 (43.2.189.3): 56 data bytes --- 43.2.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-02 02:27:18,174 - WARNING - Ping to IP 43.2.189.3 from VM ctest-TestBasicPolicy-62242900-06235917 failed 2025-06-02 02:27:18,174 - INFO - Deleting VM ctest-TestBasicPolicy-62242900-21198605 2025-06-02 02:27:18,239 - INFO - Deleting VM ctest-TestBasicPolicy-62242900-06235917 2025-06-02 02:27:18,588 - INFO - Deleted policy ctest-policy-allow-all-47114596 2025-06-02 02:27:18,588 - INFO - Deleting VN ctest-vn-15689255 2025-06-02 02:27:18,623 - DEBUG - VN 0bbb18bf-6da4-45ee-959d-67af812048a7 still in use: Unable to complete operation on network 0bbb18bf-6da4-45ee-959d-67af812048a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af40019f-b9d9-4fa2-ac2c-8614d369afc9'] 2025-06-02 02:27:18,624 - WARNING - Deleting VN ctest-vn-15689255 failed..Will retry 2025-06-02 02:27:20,751 - DEBUG - Response for deleting network () 2025-06-02 02:27:20,751 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e95012b8-54a3-407a-af1a-b2a9425d73aa 2025-06-02 02:27:20,758 - DEBUG - Response Code: 404 2025-06-02 02:27:20,759 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:27:20,765 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:27:20,821 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:27:20,897 - INFO - Validated that VN ctest-vn-15689255 is not found in API Server 2025-06-02 02:27:20,909 - DEBUG - VN ctest-vn-15689255 is not present in Agent 10.0.0.242 2025-06-02 02:27:20,909 - INFO - Validated that VN ctest-vn-15689255 is not in any agent 2025-06-02 02:27:20,926 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15689255 info 2025-06-02 02:27:20,926 - INFO - Deleting VN ctest-vn-45933128 2025-06-02 02:27:21,024 - DEBUG - Response for deleting network () 2025-06-02 02:27:21,024 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/394c175c-92e3-4e8d-9767-b6b991a262c4 2025-06-02 02:27:21,029 - DEBUG - Response Code: 404 2025-06-02 02:27:21,029 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-02 02:27:21,036 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c1398e6d-186b-472e-80bf-1735e2faf972 2025-06-02 02:27:21,092 - DEBUG - Requesting: http://10.0.0.242:8082/project/5eb067fb-49b5-4b3f-a99c-782b86c8e53a 2025-06-02 02:27:21,165 - INFO - Validated that VN ctest-vn-45933128 is not found in API Server 2025-06-02 02:27:21,177 - DEBUG - VN ctest-vn-45933128 is not present in Agent 10.0.0.242 2025-06-02 02:27:21,177 - INFO - Validated that VN ctest-vn-45933128 is not in any agent 2025-06-02 02:27:21,194 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45933128 info 2025-06-02 02:27:21,449 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 02:27:21,449 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-02 02:27:21,450 - INFO - -------------------------------------------------------------------------------- 2025-06-02 02:27:22,171 - INFO - Deleted project: ctest-TestBasicPolicy-62242900, ID : 5eb067fb-49b5-4b3f-a99c-782b86c8e53a