2025-04-08 14:29:30,870 - INFO - Domain Default found not creating 2025-04-08 14:29:31,026 - INFO - Project ctest-TestBasicPolicy-26124965 not found, creating it 2025-04-08 14:29:31,477 - INFO - Created Project:ctest-TestBasicPolicy-26124965, ID : a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:29:32,961 - INFO - ================================================================================ 2025-04-08 14:29:32,961 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 14:29:32,961 - 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-04-08 14:29:33,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.21': '0'}} with 2025-04-08 14:29:33,221 - INFO - Initial checks done. Running the testcase now 2025-04-08 14:29:33,221 - INFO - 2025-04-08 14:29:33,821 - DEBUG - Response for create_network : {'network': {'id': 'fe15f480-163d-44e8-8f04-064c1f7f1495', 'name': 'ctest-vn-50975351', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-vn-50975351'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:29:34,040 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fcabbcf-18ed-4a8c-98d7-8dcbe157ff5e', 'name': '', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'network_id': 'fe15f480-163d-44e8-8f04-064c1f7f1495', 'ip_version': 4, 'cidr': '97.91.161.192/26', 'allocation_pools': [{'start': '97.91.161.194', 'end': '97.91.161.254'}], 'gateway_ip': '97.91.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.91.161.194', 'tags': [], 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a'}} 2025-04-08 14:29:34,058 - INFO - Created VN ctest-vn-50975351 2025-04-08 14:29:34,110 - DEBUG - VN ctest-vn-50975351 UUID is fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:34,429 - DEBUG - Response for create_network : {'network': {'id': '21f4f0e9-1a40-40f8-bdda-80487e4a36f4', 'name': 'ctest-vn-80670038', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-vn-80670038'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:29:34,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1ac8086-bb1d-4989-a892-7fea8a8eb459', 'name': '', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'network_id': '21f4f0e9-1a40-40f8-bdda-80487e4a36f4', 'ip_version': 4, 'cidr': '16.233.39.192/26', 'allocation_pools': [{'start': '16.233.39.194', 'end': '16.233.39.254'}], 'gateway_ip': '16.233.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.233.39.194', 'tags': [], 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a'}} 2025-04-08 14:29:34,639 - INFO - Created VN ctest-vn-80670038 2025-04-08 14:29:34,694 - DEBUG - VN ctest-vn-80670038 UUID is 21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:34,846 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351, 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-26124965:ctest-vn-80670038, 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-04-08 14:29:35,150 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe15f480-163d-44e8-8f04-064c1f7f1495', 'name': 'ctest-vn-50975351', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fcabbcf-18ed-4a8c-98d7-8dcbe157ff5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-vn-50975351'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-policy-allow-all-45586577']], 'subnet_ipam': [{'subnet_cidr': '97.91.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:29:35,388 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21f4f0e9-1a40-40f8-bdda-80487e4a36f4', 'name': 'ctest-vn-80670038', 'tenant_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'project_id': 'a27115ef190d4fd09a152d1a728b6c9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1ac8086-bb1d-4989-a892-7fea8a8eb459'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-vn-80670038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-policy-allow-all-45586577']], 'subnet_ipam': [{'subnet_cidr': '16.233.39.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:29:35,551 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:29:35,854 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:29:35,882 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:29:35,895 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:29:35,966 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:35,977 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:35,987 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:29:35,994 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:29:36,002 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/f226ddeb-35d0-4aa5-a3fa-7b8e6e665ece 2025-04-08 14:29:36,009 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 14:29:36,009 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:36,019 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:29:36,033 - INFO - Verified VN network id 9 for VN fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:36,033 - INFO - Verifications in API Server for VN ctest-vn-50975351 passed 2025-04-08 14:29:36,033 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:36,043 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:29:36,050 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:29:36,058 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/f226ddeb-35d0-4aa5-a3fa-7b8e6e665ece 2025-04-08 14:29:36,071 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26124965', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18308808691110724840', 'uuid-lslong': '10305368771346240661'}, 'enable': 'true', 'created': '2025-04-08T14:29:33', 'last-modified': '2025-04-08T14:29:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944759'} 2025-04-08 14:29:36,079 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 14:29:36,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50975351 passed 2025-04-08 14:29:36,079 - DEBUG - ====Verifying policy data for ctest-vn-50975351 in API_Server ====== 2025-04-08 14:29:36,080 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:29:36,086 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:29:36,098 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:29:36,170 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/fe15f480-163d-44e8-8f04-064c1f7f1495 2025-04-08 14:29:36,183 - DEBUG - ==>Verifying data for policy with id: 789e93a3-64df-4d1e-a5fd-b70f805cb109, fqn: ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-policy-allow-all-45586577'] 2025-04-08 14:29:36,183 - INFO - VN ctest-vn-50975351 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 14:29:36,183 - DEBUG - Verifying the vn in opserver 2025-04-08 14:29:36,183 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351 virtual network link through opserver 10.0.0.46 2025-04-08 14:29:36,183 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-04-08 14:29:36,479 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-04-08 14:29:36,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351?flat'} 2025-04-08 14:29:36,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351 is found in opserver 2025-04-08 14:29:36,545 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 14:29:36,550 - DEBUG - VRF ids for VN ctest-vn-50975351: {} 2025-04-08 14:29:36,550 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:29:36,556 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:29:36,569 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:29:36,647 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:36,659 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:36,669 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:29:36,677 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:29:36,684 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/03ff30f6-19c4-4e60-98b5-f9355623dbbc 2025-04-08 14:29:36,691 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-08 14:29:36,691 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:36,702 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:29:36,723 - INFO - Verified VN network id 10 for VN 21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:36,723 - INFO - Verifications in API Server for VN ctest-vn-80670038 passed 2025-04-08 14:29:36,723 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:36,736 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:29:36,743 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:29:36,783 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/03ff30f6-19c4-4e60-98b5-f9355623dbbc 2025-04-08 14:29:36,810 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-80670038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26124965', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2446845381527486712', 'uuid-lslong': '13680387866936096500'}, 'enable': 'true', 'created': '2025-04-08T14:29:34', 'last-modified': '2025-04-08T14:29:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442707'} 2025-04-08 14:29:36,817 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-08 14:29:36,817 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80670038 passed 2025-04-08 14:29:36,817 - DEBUG - ====Verifying policy data for ctest-vn-80670038 in API_Server ====== 2025-04-08 14:29:36,817 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:29:36,842 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:29:36,914 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:29:37,019 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/21f4f0e9-1a40-40f8-bdda-80487e4a36f4 2025-04-08 14:29:37,035 - DEBUG - ==>Verifying data for policy with id: 789e93a3-64df-4d1e-a5fd-b70f805cb109, fqn: ['default-domain', 'ctest-TestBasicPolicy-26124965', 'ctest-policy-allow-all-45586577'] 2025-04-08 14:29:37,035 - INFO - VN ctest-vn-80670038 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 14:29:37,035 - DEBUG - Verifying the vn in opserver 2025-04-08 14:29:37,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-80670038 virtual network link through opserver 10.0.0.46 2025-04-08 14:29:37,035 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-04-08 14:29:37,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-80670038', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-80670038?flat'} 2025-04-08 14:29:37,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-80670038 is found in opserver 2025-04-08 14:29:37,071 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 14:29:37,083 - DEBUG - VRF ids for VN ctest-vn-80670038: {} 2025-04-08 14:29:37,155 - DEBUG - Services list from nova: [, , ] 2025-04-08 14:29:38,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3054-1) 2025-04-08 14:29:39,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3054-1) 2025-04-08 14:29:39,461 - INFO - Waiting for VM ctest-TestBasicPolicy-26124965-93305767 to be up.. 2025-04-08 14:29:39,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 14:29:44,633 - DEBUG - VM is in ACTIVE state now 2025-04-08 14:29:44,633 - INFO - VM name : ctest-TestBasicPolicy-26124965-93305767 2025-04-08 14:29:44,715 - DEBUG - VM ctest-TestBasicPolicy-26124965-93305767 ID is e2f32c97-5e96-428d-8859-05e7792a2b92 2025-04-08 14:29:44,735 - DEBUG - VM ctest-TestBasicPolicy-26124965-93305767 launched on Node cn-jenkins-deploy-platform-ansible-os-3054-1 2025-04-08 14:29:44,822 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/e2f32c97-5e96-428d-8859-05e7792a2b92 2025-04-08 14:29:44,833 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/03519a2b-685f-4590-bffc-e4ace9070fff 2025-04-08 14:29:48,096 - 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 1015ms') 2025-04-08 14:29:48,096 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26124965-93305767 failed! 2025-04-08 14:29:48,154 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26124965:ctest-vn-50975351 is 97.91.161.193 and allocation pool is NOT set 2025-04-08 14:29:50,229 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/2.224/3.996/1.772 ms') 2025-04-08 14:29:50,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26124965-93305767 passed 2025-04-08 14:29:50,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:29:50,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26124965-93305767, IP 97.91.161.195, Port 22 2025-04-08 14:29:50,546 - DEBUG - VM ctest-TestBasicPolicy-26124965-93305767 is ready for SSH connections 2025-04-08 14:29:50,546 - INFO - Waiting for VM ctest-TestBasicPolicy-26124965-36198193 to be up.. 2025-04-08 14:29:50,635 - DEBUG - VM is in ACTIVE state now 2025-04-08 14:29:50,635 - INFO - VM name : ctest-TestBasicPolicy-26124965-36198193 2025-04-08 14:29:50,711 - DEBUG - VM ctest-TestBasicPolicy-26124965-36198193 ID is b76ac435-352e-4dbe-b5fa-59a610e64f40 2025-04-08 14:29:50,711 - DEBUG - VM ctest-TestBasicPolicy-26124965-36198193 launched on Node cn-jenkins-deploy-platform-ansible-os-3054-1 2025-04-08 14:29:50,789 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/b76ac435-352e-4dbe-b5fa-59a610e64f40 2025-04-08 14:29:50,799 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/b7d40dfd-51fa-4af8-9d0c-ee32533aea55 2025-04-08 14:29:52,038 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.543/2.710/1.166 ms') 2025-04-08 14:29:52,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26124965-36198193 passed 2025-04-08 14:29:52,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:29:52,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26124965-36198193, IP 16.233.39.195, Port 22 2025-04-08 14:29:52,341 - DEBUG - VM ctest-TestBasicPolicy-26124965-36198193 is ready for SSH connections 2025-04-08 14:29:52,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:29:52,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.233.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-04-08 14:29:52,342 - DEBUG - ping -s 56 -c 3 -W 1 16.233.39.195 2025-04-08 14:29:56,349 - DEBUG - PING 16.233.39.195 (16.233.39.195): 56 data bytes 64 bytes from 16.233.39.195: seq=0 ttl=63 time=3.591 ms 64 bytes from 16.233.39.195: seq=1 ttl=63 time=0.808 ms 64 bytes from 16.233.39.195: seq=2 ttl=63 time=1.178 ms --- 16.233.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.859/3.591 ms 2025-04-08 14:29:56,349 - INFO - Ping to IP 16.233.39.195 from VM ctest-TestBasicPolicy-26124965-93305767 passed 2025-04-08 14:29:56,534 - DEBUG - Policy Update Response {"network-policy": {"uuid": "789e93a3-64df-4d1e-a5fd-b70f805cb109", "href": "http://10.0.0.46:8082/network-policy/789e93a3-64df-4d1e-a5fd-b70f805cb109"}} 2025-04-08 14:29:56,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:29:56,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.233.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-04-08 14:29:56,534 - DEBUG - ping -s 56 -c 3 -W 1 16.233.39.195 2025-04-08 14:29:59,741 - DEBUG - PING 16.233.39.195 (16.233.39.195): 56 data bytes --- 16.233.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-08 14:29:59,741 - WARNING - Ping to IP 16.233.39.195 from VM ctest-TestBasicPolicy-26124965-93305767 failed 2025-04-08 14:29:59,741 - INFO - Deleting VM ctest-TestBasicPolicy-26124965-36198193 2025-04-08 14:29:59,821 - INFO - Deleting VM ctest-TestBasicPolicy-26124965-93305767 2025-04-08 14:30:00,247 - INFO - Deleted policy ctest-policy-allow-all-45586577 2025-04-08 14:30:00,247 - INFO - Deleting VN ctest-vn-80670038 2025-04-08 14:30:00,285 - DEBUG - VN 21f4f0e9-1a40-40f8-bdda-80487e4a36f4 still in use: Unable to complete operation on network 21f4f0e9-1a40-40f8-bdda-80487e4a36f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcfca4ee-48ea-44c7-9f35-42df819bbbaf'] 2025-04-08 14:30:00,285 - WARNING - Deleting VN ctest-vn-80670038 failed..Will retry 2025-04-08 14:30:02,404 - DEBUG - Response for deleting network () 2025-04-08 14:30:02,404 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d5eca8bf-9f1c-4086-96cf-d7678cf72da5 2025-04-08 14:30:02,411 - DEBUG - Response Code: 404 2025-04-08 14:30:02,411 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:30:02,418 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:30:02,473 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:30:02,549 - INFO - Validated that VN ctest-vn-80670038 is not found in API Server 2025-04-08 14:30:02,561 - DEBUG - VN ctest-vn-80670038 is not present in Agent 10.0.0.46 2025-04-08 14:30:02,561 - INFO - Validated that VN ctest-vn-80670038 is not in any agent 2025-04-08 14:30:02,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80670038 info 2025-04-08 14:30:02,578 - INFO - Deleting VN ctest-vn-50975351 2025-04-08 14:30:02,697 - DEBUG - Response for deleting network () 2025-04-08 14:30:02,697 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/6999484a-9fb5-4600-9e9f-8c3d1b5da960 2025-04-08 14:30:02,705 - DEBUG - Response Code: 404 2025-04-08 14:30:02,706 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-04-08 14:30:02,712 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e 2025-04-08 14:30:02,770 - DEBUG - Requesting: http://10.0.0.46:8082/project/a27115ef-190d-4fd0-9a15-2d1a728b6c9a 2025-04-08 14:30:02,848 - INFO - Validated that VN ctest-vn-50975351 is not found in API Server 2025-04-08 14:30:02,860 - DEBUG - VN ctest-vn-50975351 is not present in Agent 10.0.0.46 2025-04-08 14:30:02,860 - INFO - Validated that VN ctest-vn-50975351 is not in any agent 2025-04-08 14:30:02,880 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50975351 info 2025-04-08 14:30:03,137 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 14:30:03,137 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-08 14:30:03,137 - INFO - -------------------------------------------------------------------------------- 2025-04-08 14:30:03,859 - INFO - Deleted project: ctest-TestBasicPolicy-26124965, ID : a27115ef-190d-4fd0-9a15-2d1a728b6c9a