2025-05-28 12:10:09,147 - INFO - Domain Default found not creating 2025-05-28 12:10:09,301 - INFO - Project ctest-TestBasicPolicy-90254995 not found, creating it 2025-05-28 12:10:09,766 - INFO - Created Project:ctest-TestBasicPolicy-90254995, ID : e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:11,432 - INFO - ================================================================================ 2025-05-28 12:10:11,432 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-28 12:10:11,432 - 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-05-28 12:10:11,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-28 12:10:11,699 - INFO - Initial checks done. Running the testcase now 2025-05-28 12:10:11,699 - INFO - 2025-05-28 12:10:12,322 - DEBUG - Response for create_network : {'network': {'id': 'f55d4348-51dc-4a8d-b287-657b7de3fc6e', 'name': 'ctest-vn-24656424', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'project_id': 'e2d89280d22a427daff14f4202d2a498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-vn-24656424'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 12:10:12,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '150b389b-d71d-4938-b7b5-c29eab7f0704', 'name': '', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'network_id': 'f55d4348-51dc-4a8d-b287-657b7de3fc6e', 'ip_version': 4, 'cidr': '201.229.182.192/26', 'allocation_pools': [{'start': '201.229.182.194', 'end': '201.229.182.254'}], 'gateway_ip': '201.229.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.229.182.194', 'tags': [], 'project_id': 'e2d89280d22a427daff14f4202d2a498'}} 2025-05-28 12:10:12,544 - INFO - Created VN ctest-vn-24656424 2025-05-28 12:10:12,599 - DEBUG - VN ctest-vn-24656424 UUID is f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:12,897 - DEBUG - Response for create_network : {'network': {'id': '8ca04cf7-727b-4fcb-a2ab-385fc7cca24f', 'name': 'ctest-vn-40309524', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'project_id': 'e2d89280d22a427daff14f4202d2a498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-vn-40309524'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 12:10:13,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9d6172e-5211-4636-b1ec-1d78ce1c78c0', 'name': '', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'network_id': '8ca04cf7-727b-4fcb-a2ab-385fc7cca24f', 'ip_version': 4, 'cidr': '132.246.10.0/26', 'allocation_pools': [{'start': '132.246.10.2', 'end': '132.246.10.62'}], 'gateway_ip': '132.246.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.246.10.2', 'tags': [], 'project_id': 'e2d89280d22a427daff14f4202d2a498'}} 2025-05-28 12:10:13,122 - INFO - Created VN ctest-vn-40309524 2025-05-28 12:10:13,175 - DEBUG - VN ctest-vn-40309524 UUID is 8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:13,291 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424, 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-90254995:ctest-vn-40309524, 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-05-28 12:10:13,600 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f55d4348-51dc-4a8d-b287-657b7de3fc6e', 'name': 'ctest-vn-24656424', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'project_id': 'e2d89280d22a427daff14f4202d2a498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['150b389b-d71d-4938-b7b5-c29eab7f0704'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-vn-24656424'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-policy-allow-all-34539307']], 'subnet_ipam': [{'subnet_cidr': '201.229.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 12:10:13,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ca04cf7-727b-4fcb-a2ab-385fc7cca24f', 'name': 'ctest-vn-40309524', 'tenant_id': 'e2d89280d22a427daff14f4202d2a498', 'project_id': 'e2d89280d22a427daff14f4202d2a498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9d6172e-5211-4636-b1ec-1d78ce1c78c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-vn-40309524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-policy-allow-all-34539307']], 'subnet_ipam': [{'subnet_cidr': '132.246.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 12:10:14,027 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:14,366 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:14,395 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:14,408 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:14,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,492 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,501 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:14,508 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:14,515 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c7ba9f83-23d5-4677-9c57-6f46bef27a71 2025-05-28 12:10:14,521 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 12:10:14,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,530 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:14,547 - INFO - Verified VN network id 8 for VN f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,547 - INFO - Verifications in API Server for VN ctest-vn-24656424 passed 2025-05-28 12:10:14,547 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:14,564 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:14,570 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c7ba9f83-23d5-4677-9c57-6f46bef27a71 2025-05-28 12:10:14,583 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90254995', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17680361690016533133', 'uuid-lslong': '12864362441674587246'}, 'enable': 'true', 'created': '2025-05-28T12:10:12', 'last-modified': '2025-05-28T12:10:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012312'} 2025-05-28 12:10:14,589 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 12:10:14,589 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24656424 passed 2025-05-28 12:10:14,590 - DEBUG - ====Verifying policy data for ctest-vn-24656424 in API_Server ====== 2025-05-28 12:10:14,590 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:14,595 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:14,606 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:14,679 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f55d4348-51dc-4a8d-b287-657b7de3fc6e 2025-05-28 12:10:14,689 - DEBUG - ==>Verifying data for policy with id: 9e3cf2df-85ed-4d59-9193-7fac166dfb7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-policy-allow-all-34539307'] 2025-05-28 12:10:14,689 - INFO - VN ctest-vn-24656424 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 12:10:14,689 - DEBUG - Verifying the vn in opserver 2025-05-28 12:10:14,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424 virtual network link through opserver 10.0.0.254 2025-05-28 12:10:14,690 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-28 12:10:15,024 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-28 12:10:15,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424?flat'} 2025-05-28 12:10:15,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424 is found in opserver 2025-05-28 12:10:15,098 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 12:10:15,104 - DEBUG - VRF ids for VN ctest-vn-24656424: {} 2025-05-28 12:10:15,104 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:15,109 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:15,123 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:15,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:15,227 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:15,235 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e194d101-4de6-411c-8d5c-697dba3220b0 2025-05-28 12:10:15,241 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 12:10:15,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,252 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:15,269 - INFO - Verified VN network id 9 for VN 8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,269 - INFO - Verifications in API Server for VN ctest-vn-40309524 passed 2025-05-28 12:10:15,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,280 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:15,287 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:15,294 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e194d101-4de6-411c-8d5c-697dba3220b0 2025-05-28 12:10:15,307 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-40309524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90254995', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10133183787244933067', 'uuid-lslong': '11721524439186973263'}, 'enable': 'true', 'created': '2025-05-28T12:10:12', 'last-modified': '2025-05-28T12:10:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483439'} 2025-05-28 12:10:15,314 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 12:10:15,314 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40309524 passed 2025-05-28 12:10:15,314 - DEBUG - ====Verifying policy data for ctest-vn-40309524 in API_Server ====== 2025-05-28 12:10:15,314 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:15,320 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:15,332 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:15,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ca04cf7-727b-4fcb-a2ab-385fc7cca24f 2025-05-28 12:10:15,418 - DEBUG - ==>Verifying data for policy with id: 9e3cf2df-85ed-4d59-9193-7fac166dfb7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-90254995', 'ctest-policy-allow-all-34539307'] 2025-05-28 12:10:15,418 - INFO - VN ctest-vn-40309524 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 12:10:15,418 - DEBUG - Verifying the vn in opserver 2025-05-28 12:10:15,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-40309524 virtual network link through opserver 10.0.0.254 2025-05-28 12:10:15,418 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-28 12:10:15,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-40309524', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-40309524?flat'} 2025-05-28 12:10:15,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-40309524 is found in opserver 2025-05-28 12:10:15,442 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 12:10:15,448 - DEBUG - VRF ids for VN ctest-vn-40309524: {} 2025-05-28 12:10:15,504 - DEBUG - Services list from nova: [, , ] 2025-05-28 12:10:16,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3350-1) 2025-05-28 12:10:17,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3350-1) 2025-05-28 12:10:17,967 - INFO - Waiting for VM ctest-TestBasicPolicy-90254995-18067651 to be up.. 2025-05-28 12:10:18,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 12:10:23,141 - DEBUG - VM is in ACTIVE state now 2025-05-28 12:10:23,141 - INFO - VM name : ctest-TestBasicPolicy-90254995-18067651 2025-05-28 12:10:23,223 - DEBUG - VM ctest-TestBasicPolicy-90254995-18067651 ID is c91b5320-e9c6-483f-9bbb-c83e2d595889 2025-05-28 12:10:23,243 - DEBUG - VM ctest-TestBasicPolicy-90254995-18067651 launched on Node cn-jenkins-deploy-platform-ansible-os-3350-1 2025-05-28 12:10:23,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c91b5320-e9c6-483f-9bbb-c83e2d595889 2025-05-28 12:10:23,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/50fda44d-9ea5-4778-befa-06b58bf5260e 2025-05-28 12:10:26,598 - 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 1010ms') 2025-05-28 12:10:26,598 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90254995-18067651 failed! 2025-05-28 12:10:26,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90254995:ctest-vn-24656424 is 201.229.182.193 and allocation pool is NOT set 2025-05-28 12:10:28,719 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.527/4.528/8.529/4.001 ms') 2025-05-28 12:10:28,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90254995-18067651 passed 2025-05-28 12:10:28,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 12:10:28,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90254995-18067651, IP 201.229.182.195, Port 22 2025-05-28 12:10:29,043 - DEBUG - VM ctest-TestBasicPolicy-90254995-18067651 is ready for SSH connections 2025-05-28 12:10:29,044 - INFO - Waiting for VM ctest-TestBasicPolicy-90254995-05080349 to be up.. 2025-05-28 12:10:29,131 - DEBUG - VM is in ACTIVE state now 2025-05-28 12:10:29,131 - INFO - VM name : ctest-TestBasicPolicy-90254995-05080349 2025-05-28 12:10:29,210 - DEBUG - VM ctest-TestBasicPolicy-90254995-05080349 ID is e2256cc3-e905-40e1-99ed-88f730e54bb2 2025-05-28 12:10:29,210 - DEBUG - VM ctest-TestBasicPolicy-90254995-05080349 launched on Node cn-jenkins-deploy-platform-ansible-os-3350-1 2025-05-28 12:10:29,293 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e2256cc3-e905-40e1-99ed-88f730e54bb2 2025-05-28 12:10:29,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c4909b89-02f5-4d33-a3fc-5bd9a9c2d1d8 2025-05-28 12:10:30,558 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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 = 1.419/3.304/5.190/1.885 ms') 2025-05-28 12:10:30,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90254995-05080349 passed 2025-05-28 12:10:30,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 12:10:30,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90254995-05080349, IP 132.246.10.3, Port 22 2025-05-28 12:10:30,876 - DEBUG - VM ctest-TestBasicPolicy-90254995-05080349 is ready for SSH connections 2025-05-28 12:10:30,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 12:10:30,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.246.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-28 12:10:30,876 - DEBUG - ping -s 56 -c 3 -W 1 132.246.10.3 2025-05-28 12:10:34,591 - DEBUG - PING 132.246.10.3 (132.246.10.3): 56 data bytes 64 bytes from 132.246.10.3: seq=0 ttl=63 time=3.918 ms 64 bytes from 132.246.10.3: seq=1 ttl=63 time=0.986 ms 64 bytes from 132.246.10.3: seq=2 ttl=63 time=0.827 ms --- 132.246.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.910/3.918 ms 2025-05-28 12:10:34,591 - INFO - Ping to IP 132.246.10.3 from VM ctest-TestBasicPolicy-90254995-18067651 passed 2025-05-28 12:10:34,771 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9e3cf2df-85ed-4d59-9193-7fac166dfb7a", "href": "http://10.0.0.254:8082/network-policy/9e3cf2df-85ed-4d59-9193-7fac166dfb7a"}} 2025-05-28 12:10:34,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 12:10:34,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.246.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-28 12:10:34,772 - DEBUG - ping -s 56 -c 3 -W 1 132.246.10.3 2025-05-28 12:10:37,996 - DEBUG - PING 132.246.10.3 (132.246.10.3): 56 data bytes --- 132.246.10.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-28 12:10:37,996 - WARNING - Ping to IP 132.246.10.3 from VM ctest-TestBasicPolicy-90254995-18067651 failed 2025-05-28 12:10:37,997 - INFO - Deleting VM ctest-TestBasicPolicy-90254995-05080349 2025-05-28 12:10:38,067 - INFO - Deleting VM ctest-TestBasicPolicy-90254995-18067651 2025-05-28 12:10:38,458 - INFO - Deleted policy ctest-policy-allow-all-34539307 2025-05-28 12:10:38,458 - INFO - Deleting VN ctest-vn-40309524 2025-05-28 12:10:38,495 - DEBUG - VN 8ca04cf7-727b-4fcb-a2ab-385fc7cca24f still in use: Unable to complete operation on network 8ca04cf7-727b-4fcb-a2ab-385fc7cca24f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-955c83b4-25bd-4c84-bd87-732976df5c6b'] 2025-05-28 12:10:38,495 - WARNING - Deleting VN ctest-vn-40309524 failed..Will retry 2025-05-28 12:10:40,613 - DEBUG - Response for deleting network () 2025-05-28 12:10:40,613 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6c4c2a2a-1f31-4df6-b515-d61981a83ba3 2025-05-28 12:10:40,619 - DEBUG - Response Code: 404 2025-05-28 12:10:40,619 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:40,626 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:40,682 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:40,758 - INFO - Validated that VN ctest-vn-40309524 is not found in API Server 2025-05-28 12:10:40,771 - DEBUG - VN ctest-vn-40309524 is not present in Agent 10.0.0.254 2025-05-28 12:10:40,771 - INFO - Validated that VN ctest-vn-40309524 is not in any agent 2025-05-28 12:10:40,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40309524 info 2025-05-28 12:10:40,790 - INFO - Deleting VN ctest-vn-24656424 2025-05-28 12:10:40,914 - DEBUG - Response for deleting network () 2025-05-28 12:10:40,914 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7eb4e199-4527-4046-a5a4-6b3c95329cfb 2025-05-28 12:10:40,923 - DEBUG - Response Code: 404 2025-05-28 12:10:40,923 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-28 12:10:40,933 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3b9f3d8d-9c90-4e8f-beb7-906a36c758a1 2025-05-28 12:10:40,990 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2d89280-d22a-427d-aff1-4f4202d2a498 2025-05-28 12:10:41,066 - INFO - Validated that VN ctest-vn-24656424 is not found in API Server 2025-05-28 12:10:41,079 - DEBUG - VN ctest-vn-24656424 is not present in Agent 10.0.0.254 2025-05-28 12:10:41,079 - INFO - Validated that VN ctest-vn-24656424 is not in any agent 2025-05-28 12:10:41,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24656424 info 2025-05-28 12:10:41,358 - DEBUG - No XMPP flaps were noticed during the test
2025-05-28 12:10:41,358 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-28 12:10:41,358 - INFO - -------------------------------------------------------------------------------- 2025-05-28 12:10:42,104 - INFO - Deleted project: ctest-TestBasicPolicy-90254995, ID : e2d89280-d22a-427d-aff1-4f4202d2a498