2025-10-21 12:01:04,418 - INFO - Domain Default found not creating 2025-10-21 12:01:04,557 - INFO - Project ctest-TestBasicPolicy-36238260 not found, creating it 2025-10-21 12:01:04,985 - INFO - Created Project:ctest-TestBasicPolicy-36238260, ID : 7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:06,353 - INFO - ================================================================================ 2025-10-21 12:01:06,353 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 12:01:06,353 - 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-21 12:01:06,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 12:01:06,607 - INFO - Initial checks done. Running the testcase now 2025-10-21 12:01:06,607 - INFO - 2025-10-21 12:01:07,169 - DEBUG - Response for create_network : {'network': {'id': '6bc8da8c-d73f-404b-9a5e-af73640c8d8b', 'name': 'ctest-vn-16696157', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'project_id': '7d2c06c6a15d4e099bcdffa0842312db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-vn-16696157'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 12:01:07,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '200caecc-1a06-4608-b0e8-6b76a1eb0625', 'name': '', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'network_id': '6bc8da8c-d73f-404b-9a5e-af73640c8d8b', 'ip_version': 4, 'cidr': '35.241.201.64/26', 'allocation_pools': [{'start': '35.241.201.66', 'end': '35.241.201.126'}], 'gateway_ip': '35.241.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.241.201.66', 'tags': [], 'project_id': '7d2c06c6a15d4e099bcdffa0842312db'}} 2025-10-21 12:01:07,370 - INFO - Created VN ctest-vn-16696157 2025-10-21 12:01:07,422 - DEBUG - VN ctest-vn-16696157 UUID is 6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:07,691 - DEBUG - Response for create_network : {'network': {'id': 'e6bb1409-7e54-4370-bb52-bea9c504bf93', 'name': 'ctest-vn-21775347', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'project_id': '7d2c06c6a15d4e099bcdffa0842312db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-vn-21775347'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 12:01:07,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '00a21493-33d8-489b-9831-8eb0276c7bda', 'name': '', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'network_id': 'e6bb1409-7e54-4370-bb52-bea9c504bf93', 'ip_version': 4, 'cidr': '216.201.248.64/26', 'allocation_pools': [{'start': '216.201.248.66', 'end': '216.201.248.126'}], 'gateway_ip': '216.201.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.201.248.66', 'tags': [], 'project_id': '7d2c06c6a15d4e099bcdffa0842312db'}} 2025-10-21 12:01:07,950 - INFO - Created VN ctest-vn-21775347 2025-10-21 12:01:08,002 - DEBUG - VN ctest-vn-21775347 UUID is e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:08,150 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157, 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-36238260:ctest-vn-21775347, 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-21 12:01:08,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6bc8da8c-d73f-404b-9a5e-af73640c8d8b', 'name': 'ctest-vn-16696157', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'project_id': '7d2c06c6a15d4e099bcdffa0842312db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['200caecc-1a06-4608-b0e8-6b76a1eb0625'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-vn-16696157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-policy-allow-all-20828142']], 'subnet_ipam': [{'subnet_cidr': '35.241.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 12:01:08,668 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6bb1409-7e54-4370-bb52-bea9c504bf93', 'name': 'ctest-vn-21775347', 'tenant_id': '7d2c06c6a15d4e099bcdffa0842312db', 'project_id': '7d2c06c6a15d4e099bcdffa0842312db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00a21493-33d8-489b-9831-8eb0276c7bda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-vn-21775347'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-policy-allow-all-20828142']], 'subnet_ipam': [{'subnet_cidr': '216.201.248.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 12:01:08,834 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:09,123 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:09,150 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:09,163 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:09,236 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,247 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,257 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:09,263 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:09,269 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b26df4fc-8914-4779-b2de-5ffb2fcf856f 2025-10-21 12:01:09,274 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 12:01:09,274 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,282 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:09,292 - INFO - Verified VN network id 10 for VN 6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,293 - INFO - Verifications in API Server for VN ctest-vn-16696157 passed 2025-10-21 12:01:09,293 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,300 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:09,305 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:09,311 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b26df4fc-8914-4779-b2de-5ffb2fcf856f 2025-10-21 12:01:09,321 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36238260', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7766697855841943627', 'uuid-lslong': '11123521039786347915'}, 'enable': 'true', 'created': '2025-10-21T12:01:07', 'last-modified': '2025-10-21T12:01:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905963'} 2025-10-21 12:01:09,326 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 12:01:09,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16696157 passed 2025-10-21 12:01:09,327 - DEBUG - ====Verifying policy data for ctest-vn-16696157 in API_Server ====== 2025-10-21 12:01:09,327 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:09,332 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:09,342 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:09,427 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6bc8da8c-d73f-404b-9a5e-af73640c8d8b 2025-10-21 12:01:09,436 - DEBUG - ==>Verifying data for policy with id: 159210f7-04fe-45dd-ba2e-5dbe0d975387, fqn: ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-policy-allow-all-20828142'] 2025-10-21 12:01:09,437 - INFO - VN ctest-vn-16696157 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 12:01:09,437 - DEBUG - Verifying the vn in opserver 2025-10-21 12:01:09,437 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157 virtual network link through opserver 10.0.0.242 2025-10-21 12:01:09,437 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 12:01:09,729 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 12:01:09,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157?flat'} 2025-10-21 12:01:09,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157 is found in opserver 2025-10-21 12:01:09,791 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 12:01:09,795 - DEBUG - VRF ids for VN ctest-vn-16696157: {} 2025-10-21 12:01:09,795 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:09,799 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:09,809 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:09,878 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:09,888 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:09,897 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:09,903 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:09,909 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/578ffa2f-50bc-4414-b45a-aacc56dd6508 2025-10-21 12:01:09,915 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 12:01:09,916 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:09,925 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:09,939 - INFO - Verified VN network id 11 for VN e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:09,939 - INFO - Verifications in API Server for VN ctest-vn-21775347 passed 2025-10-21 12:01:09,939 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:09,948 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:09,957 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:09,963 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/578ffa2f-50bc-4414-b45a-aacc56dd6508 2025-10-21 12:01:09,974 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-21775347', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36238260', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16625904480375030640', 'uuid-lslong': '13498060669546971027'}, 'enable': 'true', 'created': '2025-10-21T12:01:07', 'last-modified': '2025-10-21T12:01:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323948'} 2025-10-21 12:01:09,979 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 12:01:09,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21775347 passed 2025-10-21 12:01:09,979 - DEBUG - ====Verifying policy data for ctest-vn-21775347 in API_Server ====== 2025-10-21 12:01:09,979 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:09,986 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:09,996 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:10,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6bb1409-7e54-4370-bb52-bea9c504bf93 2025-10-21 12:01:10,074 - DEBUG - ==>Verifying data for policy with id: 159210f7-04fe-45dd-ba2e-5dbe0d975387, fqn: ['default-domain', 'ctest-TestBasicPolicy-36238260', 'ctest-policy-allow-all-20828142'] 2025-10-21 12:01:10,074 - INFO - VN ctest-vn-21775347 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 12:01:10,074 - DEBUG - Verifying the vn in opserver 2025-10-21 12:01:10,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-21775347 virtual network link through opserver 10.0.0.242 2025-10-21 12:01:10,074 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 12:01:10,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-21775347', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-21775347?flat'} 2025-10-21 12:01:10,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-21775347 is found in opserver 2025-10-21 12:01:10,093 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 12:01:10,097 - DEBUG - VRF ids for VN ctest-vn-21775347: {} 2025-10-21 12:01:10,155 - DEBUG - Services list from nova: [, , ] 2025-10-21 12:01:11,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 12:01:12,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 12:01:12,249 - INFO - Waiting for VM ctest-TestBasicPolicy-36238260-70347373 to be up.. 2025-10-21 12:01:12,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 12:01:17,392 - DEBUG - VM is in ACTIVE state now 2025-10-21 12:01:17,392 - INFO - VM name : ctest-TestBasicPolicy-36238260-70347373 2025-10-21 12:01:17,462 - DEBUG - VM ctest-TestBasicPolicy-36238260-70347373 ID is b140acca-f518-42ec-9380-21c7c8a0b031 2025-10-21 12:01:17,484 - DEBUG - VM ctest-TestBasicPolicy-36238260-70347373 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 12:01:17,547 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b140acca-f518-42ec-9380-21c7c8a0b031 2025-10-21 12:01:17,555 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3c913d3f-cbc3-40e2-95eb-55cde73b7957 2025-10-21 12:01:20,797 - 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-10-21 12:01:20,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36238260-70347373 failed! 2025-10-21 12:01:20,854 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36238260:ctest-vn-16696157 is 35.241.201.65 and allocation pool is NOT set 2025-10-21 12:01:22,912 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.073/5.704/10.336/4.631 ms') 2025-10-21 12:01:22,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36238260-70347373 passed 2025-10-21 12:01:23,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:01:23,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36238260-70347373, IP 35.241.201.67, Port 22 2025-10-21 12:01:23,226 - DEBUG - VM ctest-TestBasicPolicy-36238260-70347373 is ready for SSH connections 2025-10-21 12:01:23,226 - INFO - Waiting for VM ctest-TestBasicPolicy-36238260-22969995 to be up.. 2025-10-21 12:01:23,294 - DEBUG - VM is in ACTIVE state now 2025-10-21 12:01:23,294 - INFO - VM name : ctest-TestBasicPolicy-36238260-22969995 2025-10-21 12:01:23,370 - DEBUG - VM ctest-TestBasicPolicy-36238260-22969995 ID is 99aecf5e-cb5d-45af-971c-5163a3264a97 2025-10-21 12:01:23,370 - DEBUG - VM ctest-TestBasicPolicy-36238260-22969995 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 12:01:23,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/99aecf5e-cb5d-45af-971c-5163a3264a97 2025-10-21 12:01:23,451 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8193bbf4-b7d3-4fd6-aea8-ed8f2e1d1667 2025-10-21 12:01:24,686 - 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=6.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/3.683/6.929/3.246 ms') 2025-10-21 12:01:24,687 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36238260-22969995 passed 2025-10-21 12:01:24,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:01:24,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36238260-22969995, IP 216.201.248.67, Port 22 2025-10-21 12:01:24,998 - DEBUG - VM ctest-TestBasicPolicy-36238260-22969995 is ready for SSH connections 2025-10-21 12:01:24,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:01:24,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.201.248.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:01:24,998 - DEBUG - ping -s 56 -c 3 -W 1 216.201.248.67 2025-10-21 12:01:28,768 - DEBUG - PING 216.201.248.67 (216.201.248.67): 56 data bytes 64 bytes from 216.201.248.67: seq=0 ttl=63 time=3.492 ms 64 bytes from 216.201.248.67: seq=1 ttl=63 time=0.819 ms 64 bytes from 216.201.248.67: seq=2 ttl=63 time=0.979 ms --- 216.201.248.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.763/3.492 ms 2025-10-21 12:01:28,768 - INFO - Ping to IP 216.201.248.67 from VM ctest-TestBasicPolicy-36238260-70347373 passed 2025-10-21 12:01:28,954 - DEBUG - Policy Update Response {"network-policy": {"uuid": "159210f7-04fe-45dd-ba2e-5dbe0d975387", "href": "http://10.0.0.242:8082/network-policy/159210f7-04fe-45dd-ba2e-5dbe0d975387"}} 2025-10-21 12:01:28,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:01:28,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.201.248.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:01:28,955 - DEBUG - ping -s 56 -c 3 -W 1 216.201.248.67 2025-10-21 12:01:32,177 - DEBUG - PING 216.201.248.67 (216.201.248.67): 56 data bytes --- 216.201.248.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 12:01:32,178 - WARNING - Ping to IP 216.201.248.67 from VM ctest-TestBasicPolicy-36238260-70347373 failed 2025-10-21 12:01:32,178 - INFO - Deleting VM ctest-TestBasicPolicy-36238260-22969995 2025-10-21 12:01:32,243 - INFO - Deleting VM ctest-TestBasicPolicy-36238260-70347373 2025-10-21 12:01:32,601 - INFO - Deleted policy ctest-policy-allow-all-20828142 2025-10-21 12:01:32,601 - INFO - Deleting VN ctest-vn-21775347 2025-10-21 12:01:32,635 - DEBUG - VN e6bb1409-7e54-4370-bb52-bea9c504bf93 still in use: Unable to complete operation on network e6bb1409-7e54-4370-bb52-bea9c504bf93. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72aec082-cbbd-4533-ab4b-27ba36d54464'] 2025-10-21 12:01:32,635 - WARNING - Deleting VN ctest-vn-21775347 failed..Will retry 2025-10-21 12:01:34,729 - DEBUG - Response for deleting network () 2025-10-21 12:01:34,729 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5422af7f-183f-42ac-a925-c970457344c7 2025-10-21 12:01:34,739 - DEBUG - Response Code: 404 2025-10-21 12:01:34,739 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:34,745 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:34,801 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:34,872 - INFO - Validated that VN ctest-vn-21775347 is not found in API Server 2025-10-21 12:01:34,880 - DEBUG - VN ctest-vn-21775347 is not present in Agent 10.0.0.242 2025-10-21 12:01:34,880 - INFO - Validated that VN ctest-vn-21775347 is not in any agent 2025-10-21 12:01:34,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21775347 info 2025-10-21 12:01:34,894 - INFO - Deleting VN ctest-vn-16696157 2025-10-21 12:01:34,982 - DEBUG - Response for deleting network () 2025-10-21 12:01:34,982 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe11620e-6be2-4883-9da4-ea78a58069ad 2025-10-21 12:01:34,986 - DEBUG - Response Code: 404 2025-10-21 12:01:34,986 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 12:01:34,994 - DEBUG - Requesting: http://10.0.0.242:8082/domain/bbb890d8-4fdf-4a10-92e6-807a6c4b416f 2025-10-21 12:01:35,051 - DEBUG - Requesting: http://10.0.0.242:8082/project/7d2c06c6-a15d-4e09-9bcd-ffa0842312db 2025-10-21 12:01:35,124 - INFO - Validated that VN ctest-vn-16696157 is not found in API Server 2025-10-21 12:01:35,134 - DEBUG - VN ctest-vn-16696157 is not present in Agent 10.0.0.242 2025-10-21 12:01:35,134 - INFO - Validated that VN ctest-vn-16696157 is not in any agent 2025-10-21 12:01:35,148 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16696157 info 2025-10-21 12:01:35,403 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 12:01:35,403 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-21 12:01:35,403 - INFO - -------------------------------------------------------------------------------- 2025-10-21 12:01:36,063 - INFO - Deleted project: ctest-TestBasicPolicy-36238260, ID : 7d2c06c6-a15d-4e09-9bcd-ffa0842312db