2025-06-14 19:43:58,452 - INFO - Domain Default found not creating 2025-06-14 19:43:58,594 - INFO - Project ctest-TestBasicPolicy-81236524 not found, creating it 2025-06-14 19:43:59,067 - INFO - Created Project:ctest-TestBasicPolicy-81236524, ID : e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:00,638 - INFO - ================================================================================ 2025-06-14 19:44:00,638 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-14 19:44:00,638 - 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-14 19:44:00,897 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-06-14 19:44:00,898 - INFO - Initial checks done. Running the testcase now 2025-06-14 19:44:00,898 - INFO - 2025-06-14 19:44:01,499 - DEBUG - Response for create_network : {'network': {'id': '1cffe7ba-c91d-4323-8e54-e5d45c11ecc7', 'name': 'ctest-vn-18159024', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-vn-18159024'], 'port_security_enabled': True, 'description': ''}} 2025-06-14 19:44:01,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '7753b22b-2578-48ea-8165-d90690a975f3', 'name': '', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'network_id': '1cffe7ba-c91d-4323-8e54-e5d45c11ecc7', 'ip_version': 4, 'cidr': '105.122.105.128/26', 'allocation_pools': [{'start': '105.122.105.130', 'end': '105.122.105.190'}], 'gateway_ip': '105.122.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.122.105.130', 'tags': [], 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573'}} 2025-06-14 19:44:01,743 - INFO - Created VN ctest-vn-18159024 2025-06-14 19:44:01,802 - DEBUG - VN ctest-vn-18159024 UUID is 1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:02,115 - DEBUG - Response for create_network : {'network': {'id': '4f29a340-eba9-4ff5-a083-8f2a74922c2c', 'name': 'ctest-vn-65327644', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-vn-65327644'], 'port_security_enabled': True, 'description': ''}} 2025-06-14 19:44:02,354 - DEBUG - Response for create_subnet : {'subnet': {'id': '10fbe528-f66e-4e46-a535-4fbd84092907', 'name': '', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'network_id': '4f29a340-eba9-4ff5-a083-8f2a74922c2c', 'ip_version': 4, 'cidr': '94.136.18.128/26', 'allocation_pools': [{'start': '94.136.18.130', 'end': '94.136.18.190'}], 'gateway_ip': '94.136.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.136.18.130', 'tags': [], 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573'}} 2025-06-14 19:44:02,373 - INFO - Created VN ctest-vn-65327644 2025-06-14 19:44:02,426 - DEBUG - VN ctest-vn-65327644 UUID is 4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:02,545 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024, 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-81236524:ctest-vn-65327644, 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-14 19:44:02,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1cffe7ba-c91d-4323-8e54-e5d45c11ecc7', 'name': 'ctest-vn-18159024', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7753b22b-2578-48ea-8165-d90690a975f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-vn-18159024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-policy-allow-all-39322724']], 'subnet_ipam': [{'subnet_cidr': '105.122.105.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-14 19:44:03,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f29a340-eba9-4ff5-a083-8f2a74922c2c', 'name': 'ctest-vn-65327644', 'tenant_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'project_id': 'e16ae0bc5bd9419284c1d375c2d64573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10fbe528-f66e-4e46-a535-4fbd84092907'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-vn-65327644'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-policy-allow-all-39322724']], 'subnet_ipam': [{'subnet_cidr': '94.136.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-14 19:44:03,251 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:03,605 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:03,634 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:03,650 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:03,725 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,737 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,748 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:03,756 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:03,764 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/356e7e93-c9f6-453f-ad34-1c2f5a47e680 2025-06-14 19:44:03,772 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-14 19:44:03,772 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,783 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:03,798 - INFO - Verified VN network id 8 for VN 1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,798 - INFO - Verifications in API Server for VN ctest-vn-18159024 passed 2025-06-14 19:44:03,798 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,809 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:03,817 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:03,825 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/356e7e93-c9f6-453f-ad34-1c2f5a47e680 2025-06-14 19:44:03,841 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81236524', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2089643541547270947', 'uuid-lslong': '10256074951669968071'}, 'enable': 'true', 'created': '2025-06-14T19:44:01', 'last-modified': '2025-06-14T19:44:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018837'} 2025-06-14 19:44:03,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-14 19:44:03,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18159024 passed 2025-06-14 19:44:03,850 - DEBUG - ====Verifying policy data for ctest-vn-18159024 in API_Server ====== 2025-06-14 19:44:03,850 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:03,858 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:03,870 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:03,943 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1cffe7ba-c91d-4323-8e54-e5d45c11ecc7 2025-06-14 19:44:03,954 - DEBUG - ==>Verifying data for policy with id: 93b50214-823f-477c-8d63-9ac3cfa142e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-policy-allow-all-39322724'] 2025-06-14 19:44:03,954 - INFO - VN ctest-vn-18159024 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-14 19:44:03,954 - DEBUG - Verifying the vn in opserver 2025-06-14 19:44:03,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024 virtual network link through opserver 10.0.0.49 2025-06-14 19:44:03,954 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-14 19:44:04,292 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-14 19:44:04,350 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024?flat'} 2025-06-14 19:44:04,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024 is found in opserver 2025-06-14 19:44:04,362 - DEBUG - Do not have enough data to verify VN in agent 2025-06-14 19:44:04,368 - DEBUG - VRF ids for VN ctest-vn-18159024: {} 2025-06-14 19:44:04,368 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:04,375 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:04,388 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:04,467 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,481 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,494 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:04,503 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:04,514 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7f3f7d2b-3a9d-47be-9176-684c23b23c0b 2025-06-14 19:44:04,522 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-14 19:44:04,522 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,533 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:04,554 - INFO - Verified VN network id 9 for VN 4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,554 - INFO - Verifications in API Server for VN ctest-vn-65327644 passed 2025-06-14 19:44:04,554 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,567 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:04,577 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:04,587 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7f3f7d2b-3a9d-47be-9176-684c23b23c0b 2025-06-14 19:44:04,602 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-65327644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81236524', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5704269902268420085', 'uuid-lslong': '11566245680524700716'}, 'enable': 'true', 'created': '2025-06-14T19:44:02', 'last-modified': '2025-06-14T19:44:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.540403'} 2025-06-14 19:44:04,611 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-14 19:44:04,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65327644 passed 2025-06-14 19:44:04,612 - DEBUG - ====Verifying policy data for ctest-vn-65327644 in API_Server ====== 2025-06-14 19:44:04,612 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:04,618 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:04,632 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:04,719 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4f29a340-eba9-4ff5-a083-8f2a74922c2c 2025-06-14 19:44:04,731 - DEBUG - ==>Verifying data for policy with id: 93b50214-823f-477c-8d63-9ac3cfa142e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-81236524', 'ctest-policy-allow-all-39322724'] 2025-06-14 19:44:04,731 - INFO - VN ctest-vn-65327644 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-14 19:44:04,731 - DEBUG - Verifying the vn in opserver 2025-06-14 19:44:04,731 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-65327644 virtual network link through opserver 10.0.0.49 2025-06-14 19:44:04,731 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-14 19:44:04,743 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-65327644', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-65327644?flat'} 2025-06-14 19:44:04,743 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-65327644 is found in opserver 2025-06-14 19:44:04,755 - DEBUG - Do not have enough data to verify VN in agent 2025-06-14 19:44:04,761 - DEBUG - VRF ids for VN ctest-vn-65327644: {} 2025-06-14 19:44:04,819 - DEBUG - Services list from nova: [, , ] 2025-06-14 19:44:05,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3451-1) 2025-06-14 19:44:07,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3451-1) 2025-06-14 19:44:07,286 - INFO - Waiting for VM ctest-TestBasicPolicy-81236524-93632900 to be up.. 2025-06-14 19:44:07,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-14 19:44:12,466 - DEBUG - VM is in ACTIVE state now 2025-06-14 19:44:12,466 - INFO - VM name : ctest-TestBasicPolicy-81236524-93632900 2025-06-14 19:44:12,551 - DEBUG - VM ctest-TestBasicPolicy-81236524-93632900 ID is 5affcba8-6737-4ad7-996c-93d21421ce77 2025-06-14 19:44:12,579 - DEBUG - VM ctest-TestBasicPolicy-81236524-93632900 launched on Node cn-jenkins-deploy-platform-ansible-os-3451-1 2025-06-14 19:44:12,667 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5affcba8-6737-4ad7-996c-93d21421ce77 2025-06-14 19:44:12,676 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/dfa46c40-9c62-4fbe-9df5-602bf23da07f 2025-06-14 19:44:15,955 - 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 1030ms') 2025-06-14 19:44:15,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81236524-93632900 failed! 2025-06-14 19:44:16,016 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81236524:ctest-vn-18159024 is 105.122.105.129 and allocation pool is NOT set 2025-06-14 19:44:18,081 - 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=8.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.563/5.141/8.720/3.578 ms') 2025-06-14 19:44:18,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81236524-93632900 passed 2025-06-14 19:44:18,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-14 19:44:18,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81236524-93632900, IP 105.122.105.131, Port 22 2025-06-14 19:44:18,398 - DEBUG - VM ctest-TestBasicPolicy-81236524-93632900 is ready for SSH connections 2025-06-14 19:44:18,399 - INFO - Waiting for VM ctest-TestBasicPolicy-81236524-40295962 to be up.. 2025-06-14 19:44:18,480 - DEBUG - VM is in ACTIVE state now 2025-06-14 19:44:18,480 - INFO - VM name : ctest-TestBasicPolicy-81236524-40295962 2025-06-14 19:44:18,554 - DEBUG - VM ctest-TestBasicPolicy-81236524-40295962 ID is b4f3ca28-9579-4d0e-b5fd-7a71d7e967cd 2025-06-14 19:44:18,554 - DEBUG - VM ctest-TestBasicPolicy-81236524-40295962 launched on Node cn-jenkins-deploy-platform-ansible-os-3451-1 2025-06-14 19:44:18,631 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b4f3ca28-9579-4d0e-b5fd-7a71d7e967cd 2025-06-14 19:44:18,640 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6cf69ae9-7a6d-4ecf-8b5d-60f96869292b 2025-06-14 19:44:19,888 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/2.548/4.490/1.942 ms') 2025-06-14 19:44:19,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81236524-40295962 passed 2025-06-14 19:44:20,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-14 19:44:20,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81236524-40295962, IP 94.136.18.131, Port 22 2025-06-14 19:44:20,206 - DEBUG - VM ctest-TestBasicPolicy-81236524-40295962 is ready for SSH connections 2025-06-14 19:44:20,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-14 19:44:20,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.136.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-14 19:44:20,206 - DEBUG - ping -s 56 -c 3 -W 1 94.136.18.131 2025-06-14 19:44:23,928 - DEBUG - PING 94.136.18.131 (94.136.18.131): 56 data bytes 64 bytes from 94.136.18.131: seq=0 ttl=63 time=6.088 ms 64 bytes from 94.136.18.131: seq=1 ttl=63 time=0.771 ms 64 bytes from 94.136.18.131: seq=2 ttl=63 time=0.745 ms --- 94.136.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/2.534/6.088 ms 2025-06-14 19:44:23,928 - INFO - Ping to IP 94.136.18.131 from VM ctest-TestBasicPolicy-81236524-93632900 passed 2025-06-14 19:44:24,110 - DEBUG - Policy Update Response {"network-policy": {"uuid": "93b50214-823f-477c-8d63-9ac3cfa142e3", "href": "http://10.0.0.49:8082/network-policy/93b50214-823f-477c-8d63-9ac3cfa142e3"}} 2025-06-14 19:44:24,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-14 19:44:24,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.136.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-14 19:44:24,111 - DEBUG - ping -s 56 -c 3 -W 1 94.136.18.131 2025-06-14 19:44:27,331 - DEBUG - PING 94.136.18.131 (94.136.18.131): 56 data bytes --- 94.136.18.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-14 19:44:27,331 - WARNING - Ping to IP 94.136.18.131 from VM ctest-TestBasicPolicy-81236524-93632900 failed 2025-06-14 19:44:27,331 - INFO - Deleting VM ctest-TestBasicPolicy-81236524-40295962 2025-06-14 19:44:27,397 - INFO - Deleting VM ctest-TestBasicPolicy-81236524-93632900 2025-06-14 19:44:27,775 - INFO - Deleted policy ctest-policy-allow-all-39322724 2025-06-14 19:44:27,775 - INFO - Deleting VN ctest-vn-65327644 2025-06-14 19:44:27,814 - DEBUG - VN 4f29a340-eba9-4ff5-a083-8f2a74922c2c still in use: Unable to complete operation on network 4f29a340-eba9-4ff5-a083-8f2a74922c2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef878800-1d0a-4f66-a903-a6d7ca4f6804'] 2025-06-14 19:44:27,815 - WARNING - Deleting VN ctest-vn-65327644 failed..Will retry 2025-06-14 19:44:29,932 - DEBUG - Response for deleting network () 2025-06-14 19:44:29,932 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13afb849-c460-4a6e-af9d-6a81a71e2031 2025-06-14 19:44:29,938 - DEBUG - Response Code: 404 2025-06-14 19:44:29,938 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:29,943 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:30,000 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:30,074 - INFO - Validated that VN ctest-vn-65327644 is not found in API Server 2025-06-14 19:44:30,087 - DEBUG - VN ctest-vn-65327644 is not present in Agent 10.0.0.49 2025-06-14 19:44:30,087 - INFO - Validated that VN ctest-vn-65327644 is not in any agent 2025-06-14 19:44:30,106 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65327644 info 2025-06-14 19:44:30,106 - INFO - Deleting VN ctest-vn-18159024 2025-06-14 19:44:30,205 - DEBUG - Response for deleting network () 2025-06-14 19:44:30,205 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/6eaacf61-bf95-4478-9197-f423ff98a3d4 2025-06-14 19:44:30,213 - DEBUG - Response Code: 404 2025-06-14 19:44:30,213 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-14 19:44:30,219 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4abd1b0e-204a-48d2-b556-0e1d2f8727c5 2025-06-14 19:44:30,272 - DEBUG - Requesting: http://10.0.0.49:8082/project/e16ae0bc-5bd9-4192-84c1-d375c2d64573 2025-06-14 19:44:30,344 - INFO - Validated that VN ctest-vn-18159024 is not found in API Server 2025-06-14 19:44:30,356 - DEBUG - VN ctest-vn-18159024 is not present in Agent 10.0.0.49 2025-06-14 19:44:30,356 - INFO - Validated that VN ctest-vn-18159024 is not in any agent 2025-06-14 19:44:30,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18159024 info 2025-06-14 19:44:30,633 - DEBUG - No XMPP flaps were noticed during the test
2025-06-14 19:44:30,633 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-14 19:44:30,633 - INFO - -------------------------------------------------------------------------------- 2025-06-14 19:44:31,409 - INFO - Deleted project: ctest-TestBasicPolicy-81236524, ID : e16ae0bc-5bd9-4192-84c1-d375c2d64573