2025-11-24 18:29:41,840 - INFO - Domain Default found not creating 2025-11-24 18:29:42,022 - INFO - Project ctest-TestBasicPolicy-55904996 not found, creating it 2025-11-24 18:29:42,486 - INFO - Created Project:ctest-TestBasicPolicy-55904996, ID : 5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:29:43,915 - INFO - ================================================================================ 2025-11-24 18:29:43,915 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 18:29:43,916 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-24 18:29:44,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-24 18:29:44,170 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:29:44,170 - INFO - 2025-11-24 18:29:44,758 - DEBUG - Response for create_network : {'network': {'id': 'aefd3649-f6b5-4bce-b2ad-0edd74e70fe2', 'name': 'ctest-vn-72926008', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'project_id': '5bf6168912714b0ca14dd88724156cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-vn-72926008'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:44,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c9d8ee5-a00c-4137-86b4-5d4b34913ead', 'name': '', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'network_id': 'aefd3649-f6b5-4bce-b2ad-0edd74e70fe2', 'ip_version': 4, 'cidr': '114.91.176.64/26', 'allocation_pools': [{'start': '114.91.176.66', 'end': '114.91.176.126'}], 'gateway_ip': '114.91.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.91.176.66', 'tags': [], 'project_id': '5bf6168912714b0ca14dd88724156cf1'}} 2025-11-24 18:29:44,966 - INFO - Created VN ctest-vn-72926008 2025-11-24 18:29:45,018 - DEBUG - VN ctest-vn-72926008 UUID is aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:45,323 - DEBUG - Response for create_network : {'network': {'id': 'cfd4113c-c07b-4434-ae0c-0b9617e4a709', 'name': 'ctest-vn-08873199', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'project_id': '5bf6168912714b0ca14dd88724156cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-vn-08873199'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:45,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '62dd8cd0-bc3d-46e7-955d-8a360999429c', 'name': '', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'network_id': 'cfd4113c-c07b-4434-ae0c-0b9617e4a709', 'ip_version': 4, 'cidr': '144.228.44.64/26', 'allocation_pools': [{'start': '144.228.44.66', 'end': '144.228.44.126'}], 'gateway_ip': '144.228.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.228.44.66', 'tags': [], 'project_id': '5bf6168912714b0ca14dd88724156cf1'}} 2025-11-24 18:29:45,522 - INFO - Created VN ctest-vn-08873199 2025-11-24 18:29:45,573 - DEBUG - VN ctest-vn-08873199 UUID is cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:45,717 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008, 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-55904996:ctest-vn-08873199, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-24 18:29:46,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aefd3649-f6b5-4bce-b2ad-0edd74e70fe2', 'name': 'ctest-vn-72926008', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'project_id': '5bf6168912714b0ca14dd88724156cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1c9d8ee5-a00c-4137-86b4-5d4b34913ead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-vn-72926008'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-policy-allow-all-94331100']], 'subnet_ipam': [{'subnet_cidr': '114.91.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:46,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cfd4113c-c07b-4434-ae0c-0b9617e4a709', 'name': 'ctest-vn-08873199', 'tenant_id': '5bf6168912714b0ca14dd88724156cf1', 'project_id': '5bf6168912714b0ca14dd88724156cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62dd8cd0-bc3d-46e7-955d-8a360999429c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-vn-08873199'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-policy-allow-all-94331100']], 'subnet_ipam': [{'subnet_cidr': '144.228.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:46,398 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:29:46,694 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:29:46,722 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:29:46,733 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:29:46,804 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,813 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,823 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:29:46,830 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:29:46,836 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/dfa37a01-3be9-473b-93ee-1efbaf6c27e3 2025-11-24 18:29:46,842 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:29:46,842 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,850 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:29:46,864 - INFO - Verified VN network id 11 for VN aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,864 - INFO - Verifications in API Server for VN ctest-vn-72926008 passed 2025-11-24 18:29:46,864 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,872 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:29:46,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:29:46,884 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/dfa37a01-3be9-473b-93ee-1efbaf6c27e3 2025-11-24 18:29:46,893 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55904996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12609294223006845902', 'uuid-lslong': '12874963254033977314'}, 'enable': 'true', 'created': '2025-11-24T18:29:44', 'last-modified': '2025-11-24T18:29:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909044'} 2025-11-24 18:29:46,899 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:29:46,901 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72926008 passed 2025-11-24 18:29:46,901 - DEBUG - ====Verifying policy data for ctest-vn-72926008 in API_Server ====== 2025-11-24 18:29:46,901 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:29:46,906 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:29:46,916 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:29:46,983 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aefd3649-f6b5-4bce-b2ad-0edd74e70fe2 2025-11-24 18:29:46,991 - DEBUG - ==>Verifying data for policy with id: 9f29e745-c243-4bf3-834d-0d861a67124e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-policy-allow-all-94331100'] 2025-11-24 18:29:46,991 - INFO - VN ctest-vn-72926008 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:29:46,991 - DEBUG - Verifying the vn in opserver 2025-11-24 18:29:46,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008 virtual network link through opserver 10.0.0.33 2025-11-24 18:29:46,992 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 18:29:47,283 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 18:29:47,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008?flat'} 2025-11-24 18:29:47,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008 is found in opserver 2025-11-24 18:29:47,354 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:29:47,358 - DEBUG - VRF ids for VN ctest-vn-72926008: {} 2025-11-24 18:29:47,358 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:29:47,363 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:29:47,372 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:29:47,440 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,457 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:29:47,463 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:29:47,468 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3849db59-3ade-486d-806f-4531877747e3 2025-11-24 18:29:47,473 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:29:47,473 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,481 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:29:47,492 - INFO - Verified VN network id 12 for VN cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,492 - INFO - Verifications in API Server for VN ctest-vn-08873199 passed 2025-11-24 18:29:47,492 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,499 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:29:47,505 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:29:47,511 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3849db59-3ade-486d-806f-4531877747e3 2025-11-24 18:29:47,520 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-08873199', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55904996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14975613613538755636', 'uuid-lslong': '12541411801593849609'}, 'enable': 'true', 'created': '2025-11-24T18:29:45', 'last-modified': '2025-11-24T18:29:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316370'} 2025-11-24 18:29:47,527 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:29:47,527 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08873199 passed 2025-11-24 18:29:47,527 - DEBUG - ====Verifying policy data for ctest-vn-08873199 in API_Server ====== 2025-11-24 18:29:47,527 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:29:47,532 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:29:47,543 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:29:47,610 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cfd4113c-c07b-4434-ae0c-0b9617e4a709 2025-11-24 18:29:47,618 - DEBUG - ==>Verifying data for policy with id: 9f29e745-c243-4bf3-834d-0d861a67124e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55904996', 'ctest-policy-allow-all-94331100'] 2025-11-24 18:29:47,618 - INFO - VN ctest-vn-08873199 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:29:47,618 - DEBUG - Verifying the vn in opserver 2025-11-24 18:29:47,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-08873199 virtual network link through opserver 10.0.0.33 2025-11-24 18:29:47,618 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 18:29:47,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-08873199', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-08873199?flat'} 2025-11-24 18:29:47,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-08873199 is found in opserver 2025-11-24 18:29:47,635 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:29:47,639 - DEBUG - VRF ids for VN ctest-vn-08873199: {} 2025-11-24 18:29:47,705 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:29:48,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1) 2025-11-24 18:29:49,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1) 2025-11-24 18:29:49,820 - INFO - Waiting for VM ctest-TestBasicPolicy-55904996-80900863 to be up.. 2025-11-24 18:29:49,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:29:54,965 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:29:54,966 - INFO - VM name : ctest-TestBasicPolicy-55904996-80900863 2025-11-24 18:29:55,036 - DEBUG - VM ctest-TestBasicPolicy-55904996-80900863 ID is 34256a4b-3a4a-45ab-898e-098bd758de32 2025-11-24 18:29:55,054 - DEBUG - VM ctest-TestBasicPolicy-55904996-80900863 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1 2025-11-24 18:29:55,114 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/34256a4b-3a4a-45ab-898e-098bd758de32 2025-11-24 18:29:55,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bee8cf22-7675-4fe1-92ae-3c457f803452 2025-11-24 18:29:58,366 - 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 1011ms') 2025-11-24 18:29:58,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55904996-80900863 failed! 2025-11-24 18:29:58,418 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55904996:ctest-vn-72926008 is 114.91.176.65 and allocation pool is NOT set 2025-11-24 18:30:00,476 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.138/2.751/4.365/1.613 ms') 2025-11-24 18:30:00,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55904996-80900863 passed 2025-11-24 18:30:00,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:30:00,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55904996-80900863, IP 114.91.176.67, Port 22 2025-11-24 18:30:00,777 - DEBUG - VM ctest-TestBasicPolicy-55904996-80900863 is ready for SSH connections 2025-11-24 18:30:00,777 - INFO - Waiting for VM ctest-TestBasicPolicy-55904996-56634611 to be up.. 2025-11-24 18:30:00,858 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:30:00,858 - INFO - VM name : ctest-TestBasicPolicy-55904996-56634611 2025-11-24 18:30:00,928 - DEBUG - VM ctest-TestBasicPolicy-55904996-56634611 ID is 9a5897f0-cdb8-4ca4-85d4-31c9868b9077 2025-11-24 18:30:00,928 - DEBUG - VM ctest-TestBasicPolicy-55904996-56634611 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1 2025-11-24 18:30:01,000 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9a5897f0-cdb8-4ca4-85d4-31c9868b9077 2025-11-24 18:30:01,008 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6b2c89e6-b445-4782-8d99-58777fb7cbe2 2025-11-24 18:30:02,241 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.642/2.858/1.216 ms') 2025-11-24 18:30:02,241 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55904996-56634611 passed 2025-11-24 18:30:02,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:30:02,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55904996-56634611, IP 144.228.44.67, Port 22 2025-11-24 18:30:02,545 - DEBUG - VM ctest-TestBasicPolicy-55904996-56634611 is ready for SSH connections 2025-11-24 18:30:02,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:30:02,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.228.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 18:30:02,545 - DEBUG - ping -s 56 -c 3 -W 1 144.228.44.67 2025-11-24 18:30:06,550 - DEBUG - PING 144.228.44.67 (144.228.44.67): 56 data bytes 64 bytes from 144.228.44.67: seq=0 ttl=63 time=4.160 ms 64 bytes from 144.228.44.67: seq=1 ttl=63 time=0.822 ms 64 bytes from 144.228.44.67: seq=2 ttl=63 time=1.007 ms --- 144.228.44.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.996/4.160 ms 2025-11-24 18:30:06,550 - INFO - Ping to IP 144.228.44.67 from VM ctest-TestBasicPolicy-55904996-80900863 passed 2025-11-24 18:30:06,725 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9f29e745-c243-4bf3-834d-0d861a67124e", "href": "http://10.0.0.33:8082/network-policy/9f29e745-c243-4bf3-834d-0d861a67124e"}} 2025-11-24 18:30:06,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:30:06,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.228.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 18:30:06,726 - DEBUG - ping -s 56 -c 3 -W 1 144.228.44.67 2025-11-24 18:30:09,940 - DEBUG - PING 144.228.44.67 (144.228.44.67): 56 data bytes --- 144.228.44.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 18:30:09,940 - WARNING - Ping to IP 144.228.44.67 from VM ctest-TestBasicPolicy-55904996-80900863 failed 2025-11-24 18:30:09,940 - INFO - Deleting VM ctest-TestBasicPolicy-55904996-56634611 2025-11-24 18:30:10,004 - INFO - Deleting VM ctest-TestBasicPolicy-55904996-80900863 2025-11-24 18:30:10,360 - INFO - Deleted policy ctest-policy-allow-all-94331100 2025-11-24 18:30:10,360 - INFO - Deleting VN ctest-vn-08873199 2025-11-24 18:30:10,398 - DEBUG - VN cfd4113c-c07b-4434-ae0c-0b9617e4a709 still in use: Unable to complete operation on network cfd4113c-c07b-4434-ae0c-0b9617e4a709. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0c79049-87f3-4fc7-9cb9-b88c3d5a9777'] 2025-11-24 18:30:10,398 - WARNING - Deleting VN ctest-vn-08873199 failed..Will retry 2025-11-24 18:30:12,496 - DEBUG - Response for deleting network () 2025-11-24 18:30:12,496 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57bd0a0d-b319-45f2-b090-f89ca5baf541 2025-11-24 18:30:12,500 - DEBUG - Response Code: 404 2025-11-24 18:30:12,500 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:30:12,505 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:30:12,558 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:30:12,625 - INFO - Validated that VN ctest-vn-08873199 is not found in API Server 2025-11-24 18:30:12,634 - DEBUG - VN ctest-vn-08873199 is not present in Agent 10.0.0.33 2025-11-24 18:30:12,634 - INFO - Validated that VN ctest-vn-08873199 is not in any agent 2025-11-24 18:30:12,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08873199 info 2025-11-24 18:30:12,645 - INFO - Deleting VN ctest-vn-72926008 2025-11-24 18:30:12,742 - DEBUG - Response for deleting network () 2025-11-24 18:30:12,742 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7428e1a2-39f7-43b1-9a02-0f08d7bc7c07 2025-11-24 18:30:12,755 - DEBUG - Response Code: 404 2025-11-24 18:30:12,755 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 18:30:12,764 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2a6be0fc-0f68-4791-a0ad-065344cbbca4 2025-11-24 18:30:12,818 - DEBUG - Requesting: http://10.0.0.33:8082/project/5bf61689-1271-4b0c-a14d-d88724156cf1 2025-11-24 18:30:12,886 - INFO - Validated that VN ctest-vn-72926008 is not found in API Server 2025-11-24 18:30:12,894 - DEBUG - VN ctest-vn-72926008 is not present in Agent 10.0.0.33 2025-11-24 18:30:12,894 - INFO - Validated that VN ctest-vn-72926008 is not in any agent 2025-11-24 18:30:12,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72926008 info 2025-11-24 18:30:13,162 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:30:13,162 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-24 18:30:13,162 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:30:13,814 - INFO - Deleted project: ctest-TestBasicPolicy-55904996, ID : 5bf61689-1271-4b0c-a14d-d88724156cf1