2025-06-12 02:06:01,544 - INFO - Reading existing Domain with UUID bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:01,560 - INFO - Using existing domain ['admin_domain'](bdbe3031-7e2d-440d-9beb-999b09a0498c) 2025-06-12 02:06:01,755 - INFO - Project ctest-TestBasicPolicy-14631470 not found, creating it 2025-06-12 02:06:02,265 - INFO - Created Project:ctest-TestBasicPolicy-14631470, ID : 179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:03,953 - INFO - ================================================================================ 2025-06-12 02:06:03,954 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-12 02:06:03,954 - 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-12 02:06:04,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.0.0.56': '0'}} with 2025-06-12 02:06:04,319 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:06:04,319 - INFO - 2025-06-12 02:06:05,310 - DEBUG - Response for create_network : {'network': {'id': 'ebbcc628-e394-4b45-9b0e-ffd3d7407b1e', 'name': 'ctest-vn-56695935', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'project_id': '179c70e5e4d440e498652dde522eb774', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-vn-56695935'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-12 02:06:05,566 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1ec3964-9fe9-4e77-be9f-2d25d418f914', 'name': '', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'network_id': 'ebbcc628-e394-4b45-9b0e-ffd3d7407b1e', 'ip_version': 4, 'cidr': '103.63.142.192/26', 'allocation_pools': [{'start': '103.63.142.194', 'end': '103.63.142.254'}], 'gateway_ip': '103.63.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-12T02:06:05.440226', 'updated_at': '2025-06-12T02:06:05.440226', 'dns_server_address': '103.63.142.194', 'tags': [], 'project_id': '179c70e5e4d440e498652dde522eb774'}} 2025-06-12 02:06:05,632 - INFO - Created VN ctest-vn-56695935 2025-06-12 02:06:05,686 - DEBUG - VN ctest-vn-56695935 UUID is ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:06,250 - DEBUG - Response for create_network : {'network': {'id': '811f0189-89c2-4ec8-9999-d3ad86ca88ec', 'name': 'ctest-vn-48124814', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'project_id': '179c70e5e4d440e498652dde522eb774', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-vn-48124814'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-12 02:06:06,510 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cea577de-2054-498c-8354-bcdd2174f15b', 'name': '', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'network_id': '811f0189-89c2-4ec8-9999-d3ad86ca88ec', 'ip_version': 4, 'cidr': '162.117.201.64/26', 'allocation_pools': [{'start': '162.117.201.66', 'end': '162.117.201.126'}], 'gateway_ip': '162.117.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-12T02:06:06.356710', 'updated_at': '2025-06-12T02:06:06.356710', 'dns_server_address': '162.117.201.66', 'tags': [], 'project_id': '179c70e5e4d440e498652dde522eb774'}} 2025-06-12 02:06:06,576 - INFO - Created VN ctest-vn-48124814 2025-06-12 02:06:06,638 - DEBUG - VN ctest-vn-48124814 UUID is 811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:06,851 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814, 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-12 02:06:07,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ebbcc628-e394-4b45-9b0e-ffd3d7407b1e', 'name': 'ctest-vn-56695935', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'project_id': '179c70e5e4d440e498652dde522eb774', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1ec3964-9fe9-4e77-be9f-2d25d418f914'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-vn-56695935'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-policy-allow-all-76438562']], 'subnet_ipam': [{'subnet_cidr': '103.63.142.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-12T02:06:05.042646', 'updated_at': '2025-06-12T02:06:05.454756'}} 2025-06-12 02:06:07,617 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '811f0189-89c2-4ec8-9999-d3ad86ca88ec', 'name': 'ctest-vn-48124814', 'tenant_id': '179c70e5e4d440e498652dde522eb774', 'project_id': '179c70e5e4d440e498652dde522eb774', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cea577de-2054-498c-8354-bcdd2174f15b'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-vn-48124814'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-policy-allow-all-76438562']], 'subnet_ipam': [{'subnet_cidr': '162.117.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-12T02:06:06.170683', 'updated_at': '2025-06-12T02:06:06.368906'}} 2025-06-12 02:06:07,838 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:08,188 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:08,270 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:08,327 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:08,407 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:08,464 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:08,524 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:08,583 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:08,635 - DEBUG - Requesting: https://10.0.0.56:8082/route-target/79b78073-732e-44a4-bfd4-21858f29cfdf 2025-06-12 02:06:08,687 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:06:08,687 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:08,744 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:08,807 - INFO - Verified VN network id 7 for VN ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:08,807 - INFO - Verifications in API Server for VN ctest-vn-56695935 passed 2025-06-12 02:06:08,807 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:08,864 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:08,919 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:08,975 - DEBUG - Requesting: https://10.0.0.56:8082/route-target/79b78073-732e-44a4-bfd4-21858f29cfdf 2025-06-12 02:06:09,079 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14631470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16986669773453806405', 'uuid-lslong': '11173149010867288862'}, 'enable': 'true', 'created': '2025-06-12T02:06:05', 'last-modified': '2025-06-12T02:06:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.854478'} 2025-06-12 02:06:09,128 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:06:09,128 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56695935 passed 2025-06-12 02:06:09,128 - DEBUG - ====Verifying policy data for ctest-vn-56695935 in API_Server ====== 2025-06-12 02:06:09,128 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:09,178 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:09,286 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:09,368 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/ebbcc628-e394-4b45-9b0e-ffd3d7407b1e 2025-06-12 02:06:09,424 - DEBUG - ==>Verifying data for policy with id: 117e5b0f-5ad6-4ec1-a2a5-595fdf84b443, fqn: ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-policy-allow-all-76438562'] 2025-06-12 02:06:09,424 - INFO - VN ctest-vn-56695935 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:06:09,424 - DEBUG - Verifying the vn in opserver 2025-06-12 02:06:09,424 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935 virtual network link through opserver 10.0.0.56 2025-06-12 02:06:09,424 - DEBUG - Requesting: https://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-12 02:06:09,774 - DEBUG - Requesting: https://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-12 02:06:09,882 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935', 'href': 'https://10.0.0.56:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935?flat'} 2025-06-12 02:06:09,882 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935 is found in opserver 2025-06-12 02:06:09,978 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:06:10,026 - DEBUG - VRF ids for VN ctest-vn-56695935: {} 2025-06-12 02:06:10,026 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:10,078 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:10,135 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:10,219 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:10,276 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:10,332 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:10,387 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:10,439 - DEBUG - Requesting: https://10.0.0.56:8082/route-target/410f9ff5-02a6-4c32-8a63-19b5b00f3745 2025-06-12 02:06:10,491 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:06:10,491 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:10,548 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:10,616 - INFO - Verified VN network id 8 for VN 811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:10,616 - INFO - Verifications in API Server for VN ctest-vn-48124814 passed 2025-06-12 02:06:10,616 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:10,672 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:10,727 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:10,783 - DEBUG - Requesting: https://10.0.0.56:8082/route-target/410f9ff5-02a6-4c32-8a63-19b5b00f3745 2025-06-12 02:06:10,887 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14631470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9304157045404094152', 'uuid-lslong': '11068110301483927788'}, 'enable': 'true', 'created': '2025-06-12T02:06:06', 'last-modified': '2025-06-12T02:06:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.310686'} 2025-06-12 02:06:10,940 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:06:10,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48124814 passed 2025-06-12 02:06:10,941 - DEBUG - ====Verifying policy data for ctest-vn-48124814 in API_Server ====== 2025-06-12 02:06:10,941 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:10,998 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:11,059 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:11,147 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-network/811f0189-89c2-4ec8-9999-d3ad86ca88ec 2025-06-12 02:06:11,206 - DEBUG - ==>Verifying data for policy with id: 117e5b0f-5ad6-4ec1-a2a5-595fdf84b443, fqn: ['admin_domain', 'ctest-TestBasicPolicy-14631470', 'ctest-policy-allow-all-76438562'] 2025-06-12 02:06:11,206 - INFO - VN ctest-vn-48124814 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:06:11,206 - DEBUG - Verifying the vn in opserver 2025-06-12 02:06:11,207 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814 virtual network link through opserver 10.0.0.56 2025-06-12 02:06:11,207 - DEBUG - Requesting: https://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-12 02:06:11,263 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814', 'href': 'https://10.0.0.56:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814?flat'} 2025-06-12 02:06:11,263 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-48124814 is found in opserver 2025-06-12 02:06:11,366 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:06:11,418 - DEBUG - VRF ids for VN ctest-vn-48124814: {} 2025-06-12 02:06:11,482 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:06:12,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-545-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-545-1) 2025-06-12 02:06:13,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-545-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-545-1) 2025-06-12 02:06:13,863 - INFO - Waiting for VM ctest-TestBasicPolicy-14631470-82515771 to be up.. 2025-06-12 02:06:14,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:06:19,152 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:06:19,153 - INFO - VM name : ctest-TestBasicPolicy-14631470-82515771 2025-06-12 02:06:19,292 - DEBUG - VM ctest-TestBasicPolicy-14631470-82515771 ID is f4a6cfee-14b8-44f8-873f-bd8b2ccb3dac 2025-06-12 02:06:19,424 - DEBUG - VM ctest-TestBasicPolicy-14631470-82515771 launched on Node cn-jenkins-deploy-platform-juju-os-545-1 2025-06-12 02:06:19,564 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/f4a6cfee-14b8-44f8-873f-bd8b2ccb3dac 2025-06-12 02:06:19,623 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/06d04be0-ad1c-4420-9cfb-cdcdf0c82d45 2025-06-12 02:06:23,105 - 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-12 02:06:23,105 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14631470-82515771 failed! 2025-06-12 02:06:23,162 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-14631470:ctest-vn-56695935 is 103.63.142.193 and allocation pool is NOT set 2025-06-12 02:06:25,247 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.945/3.684/4.423/0.739 ms') 2025-06-12 02:06:25,247 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14631470-82515771 passed 2025-06-12 02:06:25,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:06:25,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14631470-82515771, IP 103.63.142.195, Port 22 2025-06-12 02:06:25,604 - DEBUG - VM ctest-TestBasicPolicy-14631470-82515771 is ready for SSH connections 2025-06-12 02:06:25,604 - INFO - Waiting for VM ctest-TestBasicPolicy-14631470-13998419 to be up.. 2025-06-12 02:06:25,734 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:06:25,734 - INFO - VM name : ctest-TestBasicPolicy-14631470-13998419 2025-06-12 02:06:25,866 - DEBUG - VM ctest-TestBasicPolicy-14631470-13998419 ID is 3808b00d-b7bf-4695-979d-37c88856f9a9 2025-06-12 02:06:25,866 - DEBUG - VM ctest-TestBasicPolicy-14631470-13998419 launched on Node cn-jenkins-deploy-platform-juju-os-545-1 2025-06-12 02:06:25,997 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/3808b00d-b7bf-4695-979d-37c88856f9a9 2025-06-12 02:06:26,051 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/508bddf2-6028-4198-9e43-8e842a2dc7d8 2025-06-12 02:06:27,504 - 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=3.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/2.096/3.750/1.654 ms') 2025-06-12 02:06:27,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14631470-13998419 passed 2025-06-12 02:06:27,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:06:27,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14631470-13998419, IP 162.117.201.67, Port 22 2025-06-12 02:06:27,864 - DEBUG - VM ctest-TestBasicPolicy-14631470-13998419 is ready for SSH connections 2025-06-12 02:06:27,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:06:27,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.117.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-12 02:06:27,865 - DEBUG - ping -s 56 -c 3 -W 1 162.117.201.67 2025-06-12 02:06:31,878 - DEBUG - PING 162.117.201.67 (162.117.201.67): 56 data bytes 64 bytes from 162.117.201.67: seq=0 ttl=63 time=3.308 ms 64 bytes from 162.117.201.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 162.117.201.67: seq=2 ttl=63 time=0.805 ms --- 162.117.201.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.640/3.308 ms 2025-06-12 02:06:31,878 - INFO - Ping to IP 162.117.201.67 from VM ctest-TestBasicPolicy-14631470-82515771 passed 2025-06-12 02:06:32,065 - DEBUG - Policy Update Response {"network-policy": {"uuid": "117e5b0f-5ad6-4ec1-a2a5-595fdf84b443", "href": "https://10.0.0.56:8082/network-policy/117e5b0f-5ad6-4ec1-a2a5-595fdf84b443"}} 2025-06-12 02:06:32,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:06:32,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.117.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-12 02:06:32,066 - DEBUG - ping -s 56 -c 3 -W 1 162.117.201.67 2025-06-12 02:06:35,270 - DEBUG - PING 162.117.201.67 (162.117.201.67): 56 data bytes --- 162.117.201.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-12 02:06:35,271 - WARNING - Ping to IP 162.117.201.67 from VM ctest-TestBasicPolicy-14631470-82515771 failed 2025-06-12 02:06:35,271 - INFO - Deleting VM ctest-TestBasicPolicy-14631470-13998419 2025-06-12 02:06:35,512 - INFO - Deleting VM ctest-TestBasicPolicy-14631470-82515771 2025-06-12 02:06:36,323 - INFO - Deleted policy ctest-policy-allow-all-76438562 2025-06-12 02:06:36,324 - INFO - Deleting VN ctest-vn-48124814 2025-06-12 02:06:36,558 - DEBUG - Response for deleting network () 2025-06-12 02:06:36,558 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/9530a969-b958-49eb-bfd2-44802822ffc4 2025-06-12 02:06:36,614 - DEBUG - Response Code: 404 2025-06-12 02:06:36,614 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:36,674 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:36,743 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:36,823 - INFO - Validated that VN ctest-vn-48124814 is not found in API Server 2025-06-12 02:06:36,922 - DEBUG - VN ctest-vn-48124814 is not present in Agent 10.0.0.56 2025-06-12 02:06:36,922 - INFO - Validated that VN ctest-vn-48124814 is not in any agent 2025-06-12 02:06:37,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48124814 info 2025-06-12 02:06:37,074 - INFO - Deleting VN ctest-vn-56695935 2025-06-12 02:06:37,238 - DEBUG - Response for deleting network () 2025-06-12 02:06:37,238 - DEBUG - Requesting: https://10.0.0.56:8082/routing-instance/85fedeac-1cf2-45e7-89a9-042df809f73e 2025-06-12 02:06:37,290 - DEBUG - Response Code: 404 2025-06-12 02:06:37,290 - DEBUG - Requesting: https://10.0.0.56:8082/domains 2025-06-12 02:06:37,342 - DEBUG - Requesting: https://10.0.0.56:8082/domain/bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:06:37,399 - DEBUG - Requesting: https://10.0.0.56:8082/project/179c70e5-e4d4-40e4-9865-2dde522eb774 2025-06-12 02:06:37,539 - INFO - Validated that VN ctest-vn-56695935 is not found in API Server 2025-06-12 02:06:37,643 - DEBUG - VN ctest-vn-56695935 is not present in Agent 10.0.0.56 2025-06-12 02:06:37,643 - INFO - Validated that VN ctest-vn-56695935 is not in any agent 2025-06-12 02:06:37,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56695935 info 2025-06-12 02:06:38,195 - DEBUG - No XMPP flaps were noticed during the test
2025-06-12 02:06:38,195 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-06-12 02:06:38,195 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:06:38,900 - INFO - Deleted project: ctest-TestBasicPolicy-14631470, ID : 179c70e5-e4d4-40e4-9865-2dde522eb774