2025-05-06 10:29:59,905 - INFO - Domain Default found not creating 2025-05-06 10:30:00,067 - INFO - Project ctest-TestBasicPolicy-56864922 not found, creating it 2025-05-06 10:30:00,546 - INFO - Created Project:ctest-TestBasicPolicy-56864922, ID : 442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:02,161 - INFO - ================================================================================ 2025-05-06 10:30:02,162 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-06 10:30:02,162 - 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-06 10:30:02,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-05-06 10:30:02,416 - INFO - Initial checks done. Running the testcase now 2025-05-06 10:30:02,416 - INFO - 2025-05-06 10:30:03,024 - DEBUG - Response for create_network : {'network': {'id': '47f2243e-f3c9-4c74-9a15-15426f167349', 'name': 'ctest-vn-09680259', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'project_id': '442dd16b20a345a6991e64b482937979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-vn-09680259'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 10:30:03,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b3f883-f3c9-4b9e-af10-aaa392fa7fc1', 'name': '', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'network_id': '47f2243e-f3c9-4c74-9a15-15426f167349', 'ip_version': 4, 'cidr': '105.230.141.0/26', 'allocation_pools': [{'start': '105.230.141.2', 'end': '105.230.141.62'}], 'gateway_ip': '105.230.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.230.141.2', 'tags': [], 'project_id': '442dd16b20a345a6991e64b482937979'}} 2025-05-06 10:30:03,217 - INFO - Created VN ctest-vn-09680259 2025-05-06 10:30:03,270 - DEBUG - VN ctest-vn-09680259 UUID is 47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:03,564 - DEBUG - Response for create_network : {'network': {'id': '08683c8a-c967-4ce2-a757-09a80061350b', 'name': 'ctest-vn-10848045', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'project_id': '442dd16b20a345a6991e64b482937979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-vn-10848045'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 10:30:03,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b528bdb3-03ea-4e7c-b111-7543e059d5a8', 'name': '', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'network_id': '08683c8a-c967-4ce2-a757-09a80061350b', 'ip_version': 4, 'cidr': '115.231.152.128/26', 'allocation_pools': [{'start': '115.231.152.130', 'end': '115.231.152.190'}], 'gateway_ip': '115.231.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.231.152.130', 'tags': [], 'project_id': '442dd16b20a345a6991e64b482937979'}} 2025-05-06 10:30:03,791 - INFO - Created VN ctest-vn-10848045 2025-05-06 10:30:03,846 - DEBUG - VN ctest-vn-10848045 UUID is 08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:03,958 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259, 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-56864922:ctest-vn-10848045, 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-06 10:30:04,274 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47f2243e-f3c9-4c74-9a15-15426f167349', 'name': 'ctest-vn-09680259', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'project_id': '442dd16b20a345a6991e64b482937979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51b3f883-f3c9-4b9e-af10-aaa392fa7fc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-vn-09680259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-policy-allow-all-38391624']], 'subnet_ipam': [{'subnet_cidr': '105.230.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 10:30:04,515 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08683c8a-c967-4ce2-a757-09a80061350b', 'name': 'ctest-vn-10848045', 'tenant_id': '442dd16b20a345a6991e64b482937979', 'project_id': '442dd16b20a345a6991e64b482937979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b528bdb3-03ea-4e7c-b111-7543e059d5a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-vn-10848045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-policy-allow-all-38391624']], 'subnet_ipam': [{'subnet_cidr': '115.231.152.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 10:30:04,686 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:05,032 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:05,067 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:05,083 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:05,161 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,175 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,187 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:05,196 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:05,204 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/3fc2c65c-c651-468b-af8a-debe16370a97 2025-05-06 10:30:05,211 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 10:30:05,211 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,222 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:05,237 - INFO - Verified VN network id 8 for VN 47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,237 - INFO - Verifications in API Server for VN ctest-vn-09680259 passed 2025-05-06 10:30:05,237 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,248 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:05,256 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:05,263 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/3fc2c65c-c651-468b-af8a-debe16370a97 2025-05-06 10:30:05,277 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56864922', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5184245973853490292', 'uuid-lslong': '11102803831427593033'}, 'enable': 'true', 'created': '2025-05-06T10:30:02', 'last-modified': '2025-05-06T10:30:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033266'} 2025-05-06 10:30:05,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 10:30:05,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09680259 passed 2025-05-06 10:30:05,285 - DEBUG - ====Verifying policy data for ctest-vn-09680259 in API_Server ====== 2025-05-06 10:30:05,285 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:05,292 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:05,309 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:05,391 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/47f2243e-f3c9-4c74-9a15-15426f167349 2025-05-06 10:30:05,403 - DEBUG - ==>Verifying data for policy with id: 9ae1af90-5d18-4750-8269-381231c27fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-policy-allow-all-38391624'] 2025-05-06 10:30:05,403 - INFO - VN ctest-vn-09680259 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 10:30:05,403 - DEBUG - Verifying the vn in opserver 2025-05-06 10:30:05,403 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259 virtual network link through opserver 10.0.0.56 2025-05-06 10:30:05,403 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-06 10:30:05,742 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-06 10:30:05,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259?flat'} 2025-05-06 10:30:05,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259 is found in opserver 2025-05-06 10:30:05,817 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 10:30:05,824 - DEBUG - VRF ids for VN ctest-vn-09680259: {} 2025-05-06 10:30:05,824 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:05,831 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:05,847 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:05,927 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:05,941 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:05,952 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:05,959 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:05,967 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0bee59b-e234-4b00-8d11-c375215cdc76 2025-05-06 10:30:05,976 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 10:30:05,976 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:05,988 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:06,006 - INFO - Verified VN network id 9 for VN 08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:06,006 - INFO - Verifications in API Server for VN ctest-vn-10848045 passed 2025-05-06 10:30:06,006 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:06,018 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:06,027 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:06,035 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0bee59b-e234-4b00-8d11-c375215cdc76 2025-05-06 10:30:06,050 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-10848045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56864922', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '605800716663475426', 'uuid-lslong': '12058117144473318667'}, 'enable': 'true', 'created': '2025-05-06T10:30:03', 'last-modified': '2025-05-06T10:30:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.563645'} 2025-05-06 10:30:06,058 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 10:30:06,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10848045 passed 2025-05-06 10:30:06,058 - DEBUG - ====Verifying policy data for ctest-vn-10848045 in API_Server ====== 2025-05-06 10:30:06,058 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:06,065 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:06,078 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:06,158 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/08683c8a-c967-4ce2-a757-09a80061350b 2025-05-06 10:30:06,170 - DEBUG - ==>Verifying data for policy with id: 9ae1af90-5d18-4750-8269-381231c27fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-56864922', 'ctest-policy-allow-all-38391624'] 2025-05-06 10:30:06,170 - INFO - VN ctest-vn-10848045 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 10:30:06,170 - DEBUG - Verifying the vn in opserver 2025-05-06 10:30:06,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-10848045 virtual network link through opserver 10.0.0.56 2025-05-06 10:30:06,170 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-06 10:30:06,183 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-10848045', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-10848045?flat'} 2025-05-06 10:30:06,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-10848045 is found in opserver 2025-05-06 10:30:06,196 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 10:30:06,202 - DEBUG - VRF ids for VN ctest-vn-10848045: {} 2025-05-06 10:30:06,263 - DEBUG - Services list from nova: [, , ] 2025-05-06 10:30:07,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3276-1) 2025-05-06 10:30:08,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3276-1) 2025-05-06 10:30:08,793 - INFO - Waiting for VM ctest-TestBasicPolicy-56864922-73504020 to be up.. 2025-05-06 10:30:08,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 10:30:13,977 - DEBUG - VM is in ACTIVE state now 2025-05-06 10:30:13,978 - INFO - VM name : ctest-TestBasicPolicy-56864922-73504020 2025-05-06 10:30:14,058 - DEBUG - VM ctest-TestBasicPolicy-56864922-73504020 ID is 6639da89-76c5-4856-9d08-37876e3af040 2025-05-06 10:30:14,079 - DEBUG - VM ctest-TestBasicPolicy-56864922-73504020 launched on Node cn-jenkins-deploy-platform-ansible-os-3276-1 2025-05-06 10:30:14,164 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/6639da89-76c5-4856-9d08-37876e3af040 2025-05-06 10:30:14,175 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/1bc6e9e5-0fc9-4eaf-8fd2-59e3695a7298 2025-05-06 10:30:17,462 - 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 1031ms') 2025-05-06 10:30:17,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56864922-73504020 failed! 2025-05-06 10:30:17,518 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56864922:ctest-vn-09680259 is 105.230.141.1 and allocation pool is NOT set 2025-05-06 10:30:19,574 - 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=9.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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 = 0.411/4.807/9.204/4.396 ms') 2025-05-06 10:30:19,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56864922-73504020 passed 2025-05-06 10:30:19,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 10:30:19,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56864922-73504020, IP 105.230.141.3, Port 22 2025-05-06 10:30:19,898 - DEBUG - VM ctest-TestBasicPolicy-56864922-73504020 is ready for SSH connections 2025-05-06 10:30:19,898 - INFO - Waiting for VM ctest-TestBasicPolicy-56864922-13537502 to be up.. 2025-05-06 10:30:19,996 - DEBUG - VM is in ACTIVE state now 2025-05-06 10:30:19,996 - INFO - VM name : ctest-TestBasicPolicy-56864922-13537502 2025-05-06 10:30:20,089 - DEBUG - VM ctest-TestBasicPolicy-56864922-13537502 ID is c390eb91-1623-4385-b27b-f6d2186f0be1 2025-05-06 10:30:20,089 - DEBUG - VM ctest-TestBasicPolicy-56864922-13537502 launched on Node cn-jenkins-deploy-platform-ansible-os-3276-1 2025-05-06 10:30:20,184 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/c390eb91-1623-4385-b27b-f6d2186f0be1 2025-05-06 10:30:20,194 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/2ff04e1b-e4a7-46b2-a232-64e3efc97686 2025-05-06 10:30:21,434 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.679 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.679/2.673/4.667/1.994 ms') 2025-05-06 10:30:21,434 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56864922-13537502 passed 2025-05-06 10:30:21,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 10:30:21,586 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56864922-13537502, IP 115.231.152.131, Port 22 2025-05-06 10:30:21,741 - DEBUG - VM ctest-TestBasicPolicy-56864922-13537502 is ready for SSH connections 2025-05-06 10:30:21,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 10:30:21,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.231.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-06 10:30:21,742 - DEBUG - ping -s 56 -c 3 -W 1 115.231.152.131 2025-05-06 10:30:25,488 - DEBUG - PING 115.231.152.131 (115.231.152.131): 56 data bytes 64 bytes from 115.231.152.131: seq=0 ttl=63 time=4.280 ms 64 bytes from 115.231.152.131: seq=1 ttl=63 time=0.879 ms 64 bytes from 115.231.152.131: seq=2 ttl=63 time=0.802 ms --- 115.231.152.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.987/4.280 ms 2025-05-06 10:30:25,488 - INFO - Ping to IP 115.231.152.131 from VM ctest-TestBasicPolicy-56864922-73504020 passed 2025-05-06 10:30:25,742 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9ae1af90-5d18-4750-8269-381231c27fbf", "href": "http://10.0.0.56:8082/network-policy/9ae1af90-5d18-4750-8269-381231c27fbf"}} 2025-05-06 10:30:25,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 10:30:25,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.231.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-06 10:30:25,742 - DEBUG - ping -s 56 -c 3 -W 1 115.231.152.131 2025-05-06 10:30:28,970 - DEBUG - PING 115.231.152.131 (115.231.152.131): 56 data bytes 64 bytes from 115.231.152.131: seq=0 ttl=63 time=1.434 ms --- 115.231.152.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.434/1.434/1.434 ms 2025-05-06 10:30:28,971 - WARNING - Ping to IP 115.231.152.131 from VM ctest-TestBasicPolicy-56864922-73504020 failed 2025-05-06 10:30:28,971 - INFO - Deleting VM ctest-TestBasicPolicy-56864922-13537502 2025-05-06 10:30:29,039 - INFO - Deleting VM ctest-TestBasicPolicy-56864922-73504020 2025-05-06 10:30:29,451 - INFO - Deleted policy ctest-policy-allow-all-38391624 2025-05-06 10:30:29,451 - INFO - Deleting VN ctest-vn-10848045 2025-05-06 10:30:29,496 - DEBUG - VN 08683c8a-c967-4ce2-a757-09a80061350b still in use: Unable to complete operation on network 08683c8a-c967-4ce2-a757-09a80061350b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e8a864b-8b23-4b05-b28b-026fbaf45fac'] 2025-05-06 10:30:29,496 - WARNING - Deleting VN ctest-vn-10848045 failed..Will retry 2025-05-06 10:30:31,627 - DEBUG - Response for deleting network () 2025-05-06 10:30:31,627 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e25977a7-f5e2-4695-b44a-8a26f91499af 2025-05-06 10:30:31,633 - DEBUG - Response Code: 404 2025-05-06 10:30:31,633 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:31,642 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:31,697 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:31,772 - INFO - Validated that VN ctest-vn-10848045 is not found in API Server 2025-05-06 10:30:31,785 - DEBUG - VN ctest-vn-10848045 is not present in Agent 10.0.0.56 2025-05-06 10:30:31,785 - INFO - Validated that VN ctest-vn-10848045 is not in any agent 2025-05-06 10:30:31,802 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10848045 info 2025-05-06 10:30:31,802 - INFO - Deleting VN ctest-vn-09680259 2025-05-06 10:30:31,923 - DEBUG - Response for deleting network () 2025-05-06 10:30:31,923 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e4d8d59-72c8-47f4-92fc-2d941ae2e310 2025-05-06 10:30:31,930 - DEBUG - Response Code: 404 2025-05-06 10:30:31,930 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-06 10:30:31,936 - DEBUG - Requesting: http://10.0.0.56:8082/domain/733ed326-45ab-4e4f-9280-ffcea071bf8e 2025-05-06 10:30:31,992 - DEBUG - Requesting: http://10.0.0.56:8082/project/442dd16b-20a3-45a6-991e-64b482937979 2025-05-06 10:30:32,070 - INFO - Validated that VN ctest-vn-09680259 is not found in API Server 2025-05-06 10:30:32,083 - DEBUG - VN ctest-vn-09680259 is not present in Agent 10.0.0.56 2025-05-06 10:30:32,083 - INFO - Validated that VN ctest-vn-09680259 is not in any agent 2025-05-06 10:30:32,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09680259 info 2025-05-06 10:30:32,357 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 10:30:32,357 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-06 10:30:32,357 - INFO - -------------------------------------------------------------------------------- 2025-05-06 10:30:33,116 - INFO - Deleted project: ctest-TestBasicPolicy-56864922, ID : 442dd16b-20a3-45a6-991e-64b482937979