2025-10-06 01:54:13,534 - INFO - Domain Default found not creating 2025-10-06 01:54:13,672 - INFO - Project ctest-TestBasicPolicy-46223598 not found, creating it 2025-10-06 01:54:14,118 - INFO - Created Project:ctest-TestBasicPolicy-46223598, ID : 66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:15,680 - INFO - ================================================================================ 2025-10-06 01:54:15,681 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 01:54:15,681 - 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-10-06 01:54:15,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with 2025-10-06 01:54:15,937 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:54:15,937 - INFO - 2025-10-06 01:54:16,512 - DEBUG - Response for create_network : {'network': {'id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'name': 'ctest-vn-90253436', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-90253436'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:54:16,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a42542f8-6d38-45c2-a437-eda13f42f79e', 'name': '', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'network_id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'ip_version': 4, 'cidr': '79.142.88.192/26', 'allocation_pools': [{'start': '79.142.88.194', 'end': '79.142.88.254'}], 'gateway_ip': '79.142.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.142.88.194', 'tags': [], 'project_id': '66828843afea4c2ab689bce7cd61f65c'}} 2025-10-06 01:54:16,723 - INFO - Created VN ctest-vn-90253436 2025-10-06 01:54:16,780 - DEBUG - VN ctest-vn-90253436 UUID is cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:17,122 - DEBUG - Response for create_network : {'network': {'id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'name': 'ctest-vn-35613634', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-35613634'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:54:17,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '48e28677-e80f-4765-a2b2-f9c6897e8db2', 'name': '', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'network_id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'ip_version': 4, 'cidr': '32.188.194.128/26', 'allocation_pools': [{'start': '32.188.194.130', 'end': '32.188.194.190'}], 'gateway_ip': '32.188.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.188.194.130', 'tags': [], 'project_id': '66828843afea4c2ab689bce7cd61f65c'}} 2025-10-06 01:54:17,325 - INFO - Created VN ctest-vn-35613634 2025-10-06 01:54:17,375 - DEBUG - VN ctest-vn-35613634 UUID is b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:17,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436, 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-46223598:ctest-vn-35613634, 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-10-06 01:54:17,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'name': 'ctest-vn-90253436', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a42542f8-6d38-45c2-a437-eda13f42f79e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-90253436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']], 'subnet_ipam': [{'subnet_cidr': '79.142.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:54:18,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'name': 'ctest-vn-35613634', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48e28677-e80f-4765-a2b2-f9c6897e8db2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-35613634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']], 'subnet_ipam': [{'subnet_cidr': '32.188.194.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:54:18,232 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:18,567 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:18,596 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:18,609 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:18,685 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,696 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,705 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:18,712 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:18,719 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eed39bb7-a3ae-4dcb-801e-aa7d6f8d7cd7 2025-10-06 01:54:18,725 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 01:54:18,725 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,733 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:18,746 - INFO - Verified VN network id 11 for VN cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,746 - INFO - Verifications in API Server for VN ctest-vn-90253436 passed 2025-10-06 01:54:18,746 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,754 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:18,760 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:18,767 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eed39bb7-a3ae-4dcb-801e-aa7d6f8d7cd7 2025-10-06 01:54:18,780 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46223598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14707558748163885582', 'uuid-lslong': '11819733561919409433'}, 'enable': 'true', 'created': '2025-10-06T01:54:16', 'last-modified': '2025-10-06T01:54:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988317'} 2025-10-06 01:54:18,788 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 01:54:18,788 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90253436 passed 2025-10-06 01:54:18,789 - DEBUG - ====Verifying policy data for ctest-vn-90253436 in API_Server ====== 2025-10-06 01:54:18,789 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:18,795 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:18,809 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:18,882 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19 2025-10-06 01:54:18,891 - DEBUG - ==>Verifying data for policy with id: c154196a-f846-43c6-8fa4-066d9d34e6fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643'] 2025-10-06 01:54:18,891 - INFO - VN ctest-vn-90253436 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 01:54:18,891 - DEBUG - Verifying the vn in opserver 2025-10-06 01:54:18,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436 virtual network link through opserver 10.0.0.131 2025-10-06 01:54:18,891 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-06 01:54:19,223 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-06 01:54:19,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436?flat'} 2025-10-06 01:54:19,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436 is found in opserver 2025-10-06 01:54:19,285 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 01:54:19,289 - DEBUG - VRF ids for VN ctest-vn-90253436: {} 2025-10-06 01:54:19,289 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:19,297 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:19,311 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:19,384 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,396 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,406 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:19,413 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:19,420 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ac00cc4-281d-4476-bd8e-c00898f92993 2025-10-06 01:54:19,428 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 01:54:19,428 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,437 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:19,452 - INFO - Verified VN network id 12 for VN b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,452 - INFO - Verifications in API Server for VN ctest-vn-35613634 passed 2025-10-06 01:54:19,452 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,462 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:19,469 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:19,475 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ac00cc4-281d-4476-bd8e-c00898f92993 2025-10-06 01:54:19,487 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46223598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13343502011253604726', 'uuid-lslong': '10105054732546970355'}, 'enable': 'true', 'created': '2025-10-06T01:54:17', 'last-modified': '2025-10-06T01:54:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468539'} 2025-10-06 01:54:19,493 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 01:54:19,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35613634 passed 2025-10-06 01:54:19,493 - DEBUG - ====Verifying policy data for ctest-vn-35613634 in API_Server ====== 2025-10-06 01:54:19,493 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:19,498 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:19,508 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:19,580 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3 2025-10-06 01:54:19,590 - DEBUG - ==>Verifying data for policy with id: c154196a-f846-43c6-8fa4-066d9d34e6fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643'] 2025-10-06 01:54:19,590 - INFO - VN ctest-vn-35613634 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 01:54:19,590 - DEBUG - Verifying the vn in opserver 2025-10-06 01:54:19,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634 virtual network link through opserver 10.0.0.131 2025-10-06 01:54:19,590 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-06 01:54:19,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634?flat'} 2025-10-06 01:54:19,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634 is found in opserver 2025-10-06 01:54:19,610 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 01:54:19,614 - DEBUG - VRF ids for VN ctest-vn-35613634: {} 2025-10-06 01:54:19,674 - DEBUG - Services list from nova: [, , ] 2025-10-06 01:54:20,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:54:21,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:54:21,986 - INFO - Waiting for VM ctest-TestBasicPolicy-46223598-34765194 to be up.. 2025-10-06 01:54:22,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 01:54:27,151 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:54:27,152 - INFO - VM name : ctest-TestBasicPolicy-46223598-34765194 2025-10-06 01:54:27,226 - DEBUG - VM ctest-TestBasicPolicy-46223598-34765194 ID is a13e81fc-b63b-4879-8159-4fecbd0fdedb 2025-10-06 01:54:27,245 - DEBUG - VM ctest-TestBasicPolicy-46223598-34765194 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:54:27,317 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a13e81fc-b63b-4879-8159-4fecbd0fdedb 2025-10-06 01:54:27,325 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d5fce1e6-9069-4790-be62-260a10a8dab7 2025-10-06 01:54:30,590 - 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 1026ms') 2025-10-06 01:54:30,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46223598-34765194 failed! 2025-10-06 01:54:30,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436 is 79.142.88.193 and allocation pool is NOT set 2025-10-06 01:54:32,705 - 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=7.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/3.975/7.516/3.540 ms') 2025-10-06 01:54:32,705 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46223598-34765194 passed 2025-10-06 01:54:32,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:54:32,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46223598-34765194, IP 79.142.88.195, Port 22 2025-10-06 01:54:33,023 - DEBUG - VM ctest-TestBasicPolicy-46223598-34765194 is ready for SSH connections 2025-10-06 01:54:33,023 - INFO - Waiting for VM ctest-TestBasicPolicy-46223598-69691053 to be up.. 2025-10-06 01:54:33,103 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:54:33,103 - INFO - VM name : ctest-TestBasicPolicy-46223598-69691053 2025-10-06 01:54:33,183 - DEBUG - VM ctest-TestBasicPolicy-46223598-69691053 ID is 8663b854-1195-4865-a919-6c86a29d7156 2025-10-06 01:54:33,183 - DEBUG - VM ctest-TestBasicPolicy-46223598-69691053 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:54:33,259 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8663b854-1195-4865-a919-6c86a29d7156 2025-10-06 01:54:33,268 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e8ffd6ea-3829-4cf4-96da-39a25eec8bc7 2025-10-06 01:54:34,511 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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 = 1.371/3.107/4.843/1.736 ms') 2025-10-06 01:54:34,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46223598-69691053 passed 2025-10-06 01:54:34,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:54:34,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46223598-69691053, IP 32.188.194.131, Port 22 2025-10-06 01:54:34,837 - DEBUG - VM ctest-TestBasicPolicy-46223598-69691053 is ready for SSH connections 2025-10-06 01:54:34,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:54:34,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.188.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:54:34,837 - DEBUG - ping -s 56 -c 3 -W 1 32.188.194.131 2025-10-06 01:54:38,933 - DEBUG - PING 32.188.194.131 (32.188.194.131): 56 data bytes 64 bytes from 32.188.194.131: seq=0 ttl=63 time=4.893 ms 64 bytes from 32.188.194.131: seq=1 ttl=63 time=0.799 ms 64 bytes from 32.188.194.131: seq=2 ttl=63 time=0.975 ms --- 32.188.194.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/2.222/4.893 ms 2025-10-06 01:54:38,933 - INFO - Ping to IP 32.188.194.131 from VM ctest-TestBasicPolicy-46223598-34765194 passed 2025-10-06 01:54:39,111 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c154196a-f846-43c6-8fa4-066d9d34e6fd", "href": "http://10.0.0.131:8082/network-policy/c154196a-f846-43c6-8fa4-066d9d34e6fd"}} 2025-10-06 01:54:39,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:54:39,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.188.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:54:39,112 - DEBUG - ping -s 56 -c 3 -W 1 32.188.194.131 2025-10-06 01:54:42,331 - DEBUG - PING 32.188.194.131 (32.188.194.131): 56 data bytes --- 32.188.194.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 01:54:42,332 - WARNING - Ping to IP 32.188.194.131 from VM ctest-TestBasicPolicy-46223598-34765194 failed 2025-10-06 01:54:42,332 - INFO - Deleting VM ctest-TestBasicPolicy-46223598-69691053 2025-10-06 01:54:42,406 - INFO - Deleting VM ctest-TestBasicPolicy-46223598-34765194 2025-10-06 01:54:42,793 - INFO - Deleted policy ctest-policy-allow-all-45346643 2025-10-06 01:54:42,793 - INFO - Deleting VN ctest-vn-35613634 2025-10-06 01:54:42,831 - DEBUG - VN b92da461-e07b-4176-8c3c-5dbd895792f3 still in use: Unable to complete operation on network b92da461-e07b-4176-8c3c-5dbd895792f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c245e737-ca84-4116-9972-379078452c00'] 2025-10-06 01:54:42,831 - WARNING - Deleting VN ctest-vn-35613634 failed..Will retry 2025-10-06 01:54:44,930 - DEBUG - Response for deleting network () 2025-10-06 01:54:44,930 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f 2025-10-06 01:54:44,939 - DEBUG - Response Code: 404 2025-10-06 01:54:44,939 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:44,944 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:44,998 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:45,072 - INFO - Validated that VN ctest-vn-35613634 is not found in API Server 2025-10-06 01:54:45,083 - DEBUG - VN ctest-vn-35613634 is not present in Agent 10.0.0.131 2025-10-06 01:54:45,083 - INFO - Validated that VN ctest-vn-35613634 is not in any agent 2025-10-06 01:54:45,096 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35613634 info 2025-10-06 01:54:45,096 - INFO - Deleting VN ctest-vn-90253436 2025-10-06 01:54:45,191 - DEBUG - Response for deleting network () 2025-10-06 01:54:45,191 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e 2025-10-06 01:54:45,200 - DEBUG - Response Code: 404 2025-10-06 01:54:45,200 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-06 01:54:45,205 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7 2025-10-06 01:54:45,256 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c 2025-10-06 01:54:45,327 - INFO - Validated that VN ctest-vn-90253436 is not found in API Server 2025-10-06 01:54:45,336 - DEBUG - VN ctest-vn-90253436 is not present in Agent 10.0.0.131 2025-10-06 01:54:45,336 - INFO - Validated that VN ctest-vn-90253436 is not in any agent 2025-10-06 01:54:45,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90253436 info 2025-10-06 01:54:45,604 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 01:54:45,604 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-06 01:54:45,604 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:54:46,360 - INFO - Deleted project: ctest-TestBasicPolicy-46223598, ID : 66828843-afea-4c2a-b689-bce7cd61f65c