2025-08-07 14:23:36,011 - INFO - Domain Default found not creating 2025-08-07 14:23:36,185 - INFO - Project ctest-TestBasicPolicy-35582163 not found, creating it 2025-08-07 14:23:36,663 - INFO - Created Project:ctest-TestBasicPolicy-35582163, ID : a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:23:38,331 - INFO - ================================================================================ 2025-08-07 14:23:38,331 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 14:23:38,331 - 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-08-07 14:23:38,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-07 14:23:38,613 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:23:38,613 - INFO - 2025-08-07 14:23:39,258 - DEBUG - Response for create_network : {'network': {'id': 'fe455aa2-5112-43d9-812c-e1214ac158bf', 'name': 'ctest-vn-85741531', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'project_id': 'a157568d1210405798d38fffc073c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-vn-85741531'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:39,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3a635f9-b440-40ea-9219-c6e502d3c4ba', 'name': '', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'network_id': 'fe455aa2-5112-43d9-812c-e1214ac158bf', 'ip_version': 4, 'cidr': '197.170.39.0/26', 'allocation_pools': [{'start': '197.170.39.2', 'end': '197.170.39.62'}], 'gateway_ip': '197.170.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.170.39.2', 'tags': [], 'project_id': 'a157568d1210405798d38fffc073c9da'}} 2025-08-07 14:23:39,486 - INFO - Created VN ctest-vn-85741531 2025-08-07 14:23:39,541 - DEBUG - VN ctest-vn-85741531 UUID is fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:39,908 - DEBUG - Response for create_network : {'network': {'id': '0ebe8015-6677-43bf-b79f-c834fdf7ddc5', 'name': 'ctest-vn-38553061', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'project_id': 'a157568d1210405798d38fffc073c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-vn-38553061'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:40,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eef939e-ae8b-4bad-a90e-52d73a1a6211', 'name': '', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'network_id': '0ebe8015-6677-43bf-b79f-c834fdf7ddc5', 'ip_version': 4, 'cidr': '75.79.64.64/26', 'allocation_pools': [{'start': '75.79.64.66', 'end': '75.79.64.126'}], 'gateway_ip': '75.79.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.79.64.66', 'tags': [], 'project_id': 'a157568d1210405798d38fffc073c9da'}} 2025-08-07 14:23:40,164 - INFO - Created VN ctest-vn-38553061 2025-08-07 14:23:40,225 - DEBUG - VN ctest-vn-38553061 UUID is 0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:40,363 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531, 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-35582163:ctest-vn-38553061, 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-08-07 14:23:40,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe455aa2-5112-43d9-812c-e1214ac158bf', 'name': 'ctest-vn-85741531', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'project_id': 'a157568d1210405798d38fffc073c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f3a635f9-b440-40ea-9219-c6e502d3c4ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-vn-85741531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-policy-allow-all-44066569']], 'subnet_ipam': [{'subnet_cidr': '197.170.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:41,031 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ebe8015-6677-43bf-b79f-c834fdf7ddc5', 'name': 'ctest-vn-38553061', 'tenant_id': 'a157568d1210405798d38fffc073c9da', 'project_id': 'a157568d1210405798d38fffc073c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eef939e-ae8b-4bad-a90e-52d73a1a6211'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-vn-38553061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-policy-allow-all-44066569']], 'subnet_ipam': [{'subnet_cidr': '75.79.64.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:41,201 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:23:41,576 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:23:41,611 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:23:41,628 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:23:41,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:23:41,743 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:23:41,751 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f251067-64ff-400e-a34c-cd1ee751a813 2025-08-07 14:23:41,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 14:23:41,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:23:41,790 - INFO - Verified VN network id 11 for VN fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,790 - INFO - Verifications in API Server for VN ctest-vn-85741531 passed 2025-08-07 14:23:41,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:23:41,816 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:23:41,825 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f251067-64ff-400e-a34c-cd1ee751a813 2025-08-07 14:23:41,844 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35582163', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18322150312218084313', 'uuid-lslong': '9308062062972328127'}, 'enable': 'true', 'created': '2025-08-07T14:23:39', 'last-modified': '2025-08-07T14:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.173640'} 2025-08-07 14:23:41,853 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 14:23:41,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85741531 passed 2025-08-07 14:23:41,854 - DEBUG - ====Verifying policy data for ctest-vn-85741531 in API_Server ====== 2025-08-07 14:23:41,854 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:23:41,861 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:23:41,876 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:23:41,953 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fe455aa2-5112-43d9-812c-e1214ac158bf 2025-08-07 14:23:41,966 - DEBUG - ==>Verifying data for policy with id: fa9cf5b1-2fec-49d6-ad2a-3b9d69037abf, fqn: ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-policy-allow-all-44066569'] 2025-08-07 14:23:41,966 - INFO - VN ctest-vn-85741531 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 14:23:41,966 - DEBUG - Verifying the vn in opserver 2025-08-07 14:23:41,966 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531 virtual network link through opserver 10.0.0.38 2025-08-07 14:23:41,966 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 14:23:42,325 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 14:23:42,397 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531?flat'} 2025-08-07 14:23:42,397 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531 is found in opserver 2025-08-07 14:23:42,416 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 14:23:42,424 - DEBUG - VRF ids for VN ctest-vn-85741531: {} 2025-08-07 14:23:42,424 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:23:42,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:23:42,449 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:23:42,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:23:42,574 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:23:42,584 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9cd6a4ad-47c0-421b-87c5-8ad8163b50c3 2025-08-07 14:23:42,594 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 14:23:42,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:23:42,627 - INFO - Verified VN network id 12 for VN 0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,627 - INFO - Verifications in API Server for VN ctest-vn-38553061 passed 2025-08-07 14:23:42,627 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:23:42,650 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:23:42,662 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9cd6a4ad-47c0-421b-87c5-8ad8163b50c3 2025-08-07 14:23:42,679 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-38553061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35582163', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1062427391507776447', 'uuid-lslong': '13231514360162540997'}, 'enable': 'true', 'created': '2025-08-07T14:23:39', 'last-modified': '2025-08-07T14:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.722841'} 2025-08-07 14:23:42,689 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 14:23:42,689 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38553061 passed 2025-08-07 14:23:42,689 - DEBUG - ====Verifying policy data for ctest-vn-38553061 in API_Server ====== 2025-08-07 14:23:42,689 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:23:42,697 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:23:42,711 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:23:42,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ebe8015-6677-43bf-b79f-c834fdf7ddc5 2025-08-07 14:23:42,808 - DEBUG - ==>Verifying data for policy with id: fa9cf5b1-2fec-49d6-ad2a-3b9d69037abf, fqn: ['default-domain', 'ctest-TestBasicPolicy-35582163', 'ctest-policy-allow-all-44066569'] 2025-08-07 14:23:42,808 - INFO - VN ctest-vn-38553061 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 14:23:42,808 - DEBUG - Verifying the vn in opserver 2025-08-07 14:23:42,808 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-38553061 virtual network link through opserver 10.0.0.38 2025-08-07 14:23:42,808 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 14:23:42,821 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-38553061', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-38553061?flat'} 2025-08-07 14:23:42,821 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-38553061 is found in opserver 2025-08-07 14:23:42,834 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 14:23:42,841 - DEBUG - VRF ids for VN ctest-vn-38553061: {} 2025-08-07 14:23:42,913 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:23:44,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:23:45,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:23:45,528 - INFO - Waiting for VM ctest-TestBasicPolicy-35582163-69882846 to be up.. 2025-08-07 14:23:45,613 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:23:50,710 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:23:50,710 - INFO - VM name : ctest-TestBasicPolicy-35582163-69882846 2025-08-07 14:23:50,816 - DEBUG - VM ctest-TestBasicPolicy-35582163-69882846 ID is 3fdba08b-4bc7-4fbc-9964-606b024dfed7 2025-08-07 14:23:50,842 - DEBUG - VM ctest-TestBasicPolicy-35582163-69882846 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:23:50,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3fdba08b-4bc7-4fbc-9964-606b024dfed7 2025-08-07 14:23:50,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/deabf362-9e40-4bc2-9683-10aac955c514 2025-08-07 14:23:54,230 - 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 1028ms') 2025-08-07 14:23:54,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35582163-69882846 failed! 2025-08-07 14:23:54,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35582163:ctest-vn-85741531 is 197.170.39.1 and allocation pool is NOT set 2025-08-07 14:23:58,355 - 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=2 ttl=63 time=3.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 3.104/3.104/3.104/0.000 ms') 2025-08-07 14:23:58,355 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35582163-69882846 passed 2025-08-07 14:23:58,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:23:58,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35582163-69882846, IP 197.170.39.3, Port 22 2025-08-07 14:23:58,672 - DEBUG - VM ctest-TestBasicPolicy-35582163-69882846 is ready for SSH connections 2025-08-07 14:23:58,673 - INFO - Waiting for VM ctest-TestBasicPolicy-35582163-85308705 to be up.. 2025-08-07 14:23:58,781 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:23:58,781 - INFO - VM name : ctest-TestBasicPolicy-35582163-85308705 2025-08-07 14:23:58,872 - DEBUG - VM ctest-TestBasicPolicy-35582163-85308705 ID is 81c693aa-2ed2-4595-8562-62adc4261609 2025-08-07 14:23:58,872 - DEBUG - VM ctest-TestBasicPolicy-35582163-85308705 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:23:58,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81c693aa-2ed2-4595-8562-62adc4261609 2025-08-07 14:23:58,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53273ebc-bf10-495d-8472-8f95adf443c1 2025-08-07 14:24:00,233 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.158/3.064/4.971/1.906 ms') 2025-08-07 14:24:00,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35582163-85308705 passed 2025-08-07 14:24:00,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:00,394 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35582163-85308705, IP 75.79.64.67, Port 22 2025-08-07 14:24:00,567 - DEBUG - VM ctest-TestBasicPolicy-35582163-85308705 is ready for SSH connections 2025-08-07 14:24:00,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:00,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.79.64.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:24:00,567 - DEBUG - ping -s 56 -c 3 -W 1 75.79.64.67 2025-08-07 14:24:04,739 - DEBUG - PING 75.79.64.67 (75.79.64.67): 56 data bytes 64 bytes from 75.79.64.67: seq=0 ttl=63 time=5.279 ms 64 bytes from 75.79.64.67: seq=1 ttl=63 time=1.010 ms 64 bytes from 75.79.64.67: seq=2 ttl=63 time=1.205 ms --- 75.79.64.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/2.498/5.279 ms 2025-08-07 14:24:04,739 - INFO - Ping to IP 75.79.64.67 from VM ctest-TestBasicPolicy-35582163-69882846 passed 2025-08-07 14:24:04,929 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa9cf5b1-2fec-49d6-ad2a-3b9d69037abf", "href": "http://10.0.0.38:8082/network-policy/fa9cf5b1-2fec-49d6-ad2a-3b9d69037abf"}} 2025-08-07 14:24:04,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:04,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.79.64.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:24:04,929 - DEBUG - ping -s 56 -c 3 -W 1 75.79.64.67 2025-08-07 14:24:08,171 - DEBUG - PING 75.79.64.67 (75.79.64.67): 56 data bytes --- 75.79.64.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 14:24:08,172 - WARNING - Ping to IP 75.79.64.67 from VM ctest-TestBasicPolicy-35582163-69882846 failed 2025-08-07 14:24:08,172 - INFO - Deleting VM ctest-TestBasicPolicy-35582163-85308705 2025-08-07 14:24:08,250 - INFO - Deleting VM ctest-TestBasicPolicy-35582163-69882846 2025-08-07 14:24:08,720 - INFO - Deleted policy ctest-policy-allow-all-44066569 2025-08-07 14:24:08,720 - INFO - Deleting VN ctest-vn-38553061 2025-08-07 14:24:08,776 - DEBUG - VN 0ebe8015-6677-43bf-b79f-c834fdf7ddc5 still in use: Unable to complete operation on network 0ebe8015-6677-43bf-b79f-c834fdf7ddc5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ca97c5c-49e5-4142-ac16-7dbc1cf4fd71'] 2025-08-07 14:24:08,777 - WARNING - Deleting VN ctest-vn-38553061 failed..Will retry 2025-08-07 14:24:10,916 - DEBUG - Response for deleting network () 2025-08-07 14:24:10,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e720872d-9204-42d7-8916-ab22f4c6e1a5 2025-08-07 14:24:10,929 - DEBUG - Response Code: 404 2025-08-07 14:24:10,929 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:24:10,936 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:24:10,997 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:24:11,080 - INFO - Validated that VN ctest-vn-38553061 is not found in API Server 2025-08-07 14:24:11,094 - DEBUG - VN ctest-vn-38553061 is not present in Agent 10.0.0.38 2025-08-07 14:24:11,094 - INFO - Validated that VN ctest-vn-38553061 is not in any agent 2025-08-07 14:24:11,116 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38553061 info 2025-08-07 14:24:11,116 - INFO - Deleting VN ctest-vn-85741531 2025-08-07 14:24:11,280 - DEBUG - Response for deleting network () 2025-08-07 14:24:11,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3038518-199f-4101-b859-2c754ebb5044 2025-08-07 14:24:11,287 - DEBUG - Response Code: 404 2025-08-07 14:24:11,287 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 14:24:11,296 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b8a0d0b8-4c65-4c5d-a22f-785df37aa8fa 2025-08-07 14:24:11,355 - DEBUG - Requesting: http://10.0.0.38:8082/project/a157568d-1210-4057-98d3-8fffc073c9da 2025-08-07 14:24:11,436 - INFO - Validated that VN ctest-vn-85741531 is not found in API Server 2025-08-07 14:24:11,451 - DEBUG - VN ctest-vn-85741531 is not present in Agent 10.0.0.38 2025-08-07 14:24:11,451 - INFO - Validated that VN ctest-vn-85741531 is not in any agent 2025-08-07 14:24:11,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85741531 info 2025-08-07 14:24:11,740 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 14:24:11,740 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-08-07 14:24:11,740 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:24:12,463 - INFO - Deleted project: ctest-TestBasicPolicy-35582163, ID : a157568d-1210-4057-98d3-8fffc073c9da