2026-10-02 04:51:35,090 - INFO - Domain Default found not creating 2026-10-02 04:51:35,301 - INFO - Project ctest-TestBasicPolicy-91423942 not found, creating it 2026-10-02 04:51:35,832 - INFO - Created Project:ctest-TestBasicPolicy-91423942, ID : 7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:51:37,698 - INFO - ================================================================================ 2026-10-02 04:51:37,698 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-02 04:51:37,699 - 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 2026-10-02 04:51:37,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with 2026-10-02 04:51:37,971 - INFO - Initial checks done. Running the testcase now 2026-10-02 04:51:37,971 - INFO - 2026-10-02 04:51:38,727 - DEBUG - Response for create_network : {'network': {'id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'name': 'ctest-vn-04239338', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-04239338'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 04:51:38,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e86e68e7-0e2d-4f52-91ef-43b2c878895e', 'name': '', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'network_id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'ip_version': 4, 'cidr': '223.198.238.128/26', 'allocation_pools': [{'start': '223.198.238.130', 'end': '223.198.238.190'}], 'gateway_ip': '223.198.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.198.238.130', 'tags': [], 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803'}} 2026-10-02 04:51:38,945 - INFO - Created VN ctest-vn-04239338 2026-10-02 04:51:39,000 - DEBUG - VN ctest-vn-04239338 UUID is d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:39,358 - DEBUG - Response for create_network : {'network': {'id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'name': 'ctest-vn-34489753', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-34489753'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 04:51:39,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '525484ea-f4a2-455c-9cbd-79297cd2e8fc', 'name': '', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'network_id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'ip_version': 4, 'cidr': '197.232.157.128/26', 'allocation_pools': [{'start': '197.232.157.130', 'end': '197.232.157.190'}], 'gateway_ip': '197.232.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.232.157.130', 'tags': [], 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803'}} 2026-10-02 04:51:39,618 - INFO - Created VN ctest-vn-34489753 2026-10-02 04:51:39,672 - DEBUG - VN ctest-vn-34489753 UUID is 78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:39,799 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338, 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-91423942:ctest-vn-34489753, 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] 2026-10-02 04:51:40,136 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'name': 'ctest-vn-04239338', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e86e68e7-0e2d-4f52-91ef-43b2c878895e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-04239338'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']], 'subnet_ipam': [{'subnet_cidr': '223.198.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-02 04:51:40,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'name': 'ctest-vn-34489753', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['525484ea-f4a2-455c-9cbd-79297cd2e8fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-34489753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']], 'subnet_ipam': [{'subnet_cidr': '197.232.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-02 04:51:40,572 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:51:40,959 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:51:40,999 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:51:41,015 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:51:41,106 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,121 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,133 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:51:41,144 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:51:41,154 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/f437acb8-aace-4314-8cb4-37e2432f4c8b 2026-10-02 04:51:41,162 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-02 04:51:41,163 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,175 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:51:41,194 - INFO - Verified VN network id 12 for VN d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,194 - INFO - Verifications in API Server for VN ctest-vn-04239338 passed 2026-10-02 04:51:41,195 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,208 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:51:41,217 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:51:41,227 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/f437acb8-aace-4314-8cb4-37e2432f4c8b 2026-10-02 04:51:41,244 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91423942', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15375817836632229522', 'uuid-lslong': '9758944845262138021'}, 'enable': 'true', 'created': '2026-10-02T04:51:38', 'last-modified': '2026-10-02T04:51:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138199'} 2026-10-02 04:51:41,253 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-02 04:51:41,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04239338 passed 2026-10-02 04:51:41,254 - DEBUG - ====Verifying policy data for ctest-vn-04239338 in API_Server ====== 2026-10-02 04:51:41,254 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:51:41,261 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:51:41,277 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:51:41,357 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5 2026-10-02 04:51:41,369 - DEBUG - ==>Verifying data for policy with id: 2cc3421f-2989-4b78-a6b0-28d37a9e3db8, fqn: ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978'] 2026-10-02 04:51:41,369 - INFO - VN ctest-vn-04239338 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-02 04:51:41,369 - DEBUG - Verifying the vn in opserver 2026-10-02 04:51:41,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338 virtual network link through opserver 10.0.0.190 2026-10-02 04:51:41,369 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-02 04:51:41,756 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-02 04:51:41,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338?flat'} 2026-10-02 04:51:41,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338 is found in opserver 2026-10-02 04:51:41,839 - DEBUG - Do not have enough data to verify VN in agent 2026-10-02 04:51:41,845 - DEBUG - VRF ids for VN ctest-vn-04239338: {} 2026-10-02 04:51:41,845 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:51:41,852 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:51:41,865 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:51:41,946 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:41,961 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:41,972 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:51:41,981 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:51:41,990 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/fd099336-e8ca-4a87-a97d-08aae73671a2 2026-10-02 04:51:42,000 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-02 04:51:42,000 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:42,012 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:51:42,029 - INFO - Verified VN network id 13 for VN 78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:42,030 - INFO - Verifications in API Server for VN ctest-vn-34489753 passed 2026-10-02 04:51:42,030 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:42,043 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:51:42,052 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:51:42,061 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/fd099336-e8ca-4a87-a97d-08aae73671a2 2026-10-02 04:51:42,077 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91423942', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8707808003069856621', 'uuid-lslong': '10133440661819169177'}, 'enable': 'true', 'created': '2026-10-02T04:51:39', 'last-modified': '2026-10-02T04:51:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.708463'} 2026-10-02 04:51:42,086 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-02 04:51:42,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34489753 passed 2026-10-02 04:51:42,087 - DEBUG - ====Verifying policy data for ctest-vn-34489753 in API_Server ====== 2026-10-02 04:51:42,087 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:51:42,097 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:51:42,111 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:51:42,192 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999 2026-10-02 04:51:42,204 - DEBUG - ==>Verifying data for policy with id: 2cc3421f-2989-4b78-a6b0-28d37a9e3db8, fqn: ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978'] 2026-10-02 04:51:42,204 - INFO - VN ctest-vn-34489753 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-02 04:51:42,204 - DEBUG - Verifying the vn in opserver 2026-10-02 04:51:42,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753 virtual network link through opserver 10.0.0.190 2026-10-02 04:51:42,205 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-02 04:51:42,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753?flat'} 2026-10-02 04:51:42,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753 is found in opserver 2026-10-02 04:51:42,230 - DEBUG - Do not have enough data to verify VN in agent 2026-10-02 04:51:42,235 - DEBUG - VRF ids for VN ctest-vn-34489753: {} 2026-10-02 04:51:42,312 - DEBUG - Services list from nova: [, , ] 2026-10-02 04:51:42,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6338-1) 2026-10-02 04:51:43,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6338-1) 2026-10-02 04:51:43,180 - INFO - Waiting for VM ctest-TestBasicPolicy-91423942-66182931 to be up.. 2026-10-02 04:51:43,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:51:48,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:51:53,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:51:58,538 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:52:03,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:52:08,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:52:13,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:52:18,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 04:52:24,031 - DEBUG - VM is in ACTIVE state now 2026-10-02 04:52:24,032 - INFO - VM name : ctest-TestBasicPolicy-91423942-66182931 2026-10-02 04:52:24,125 - DEBUG - VM ctest-TestBasicPolicy-91423942-66182931 ID is ab4aa570-3e25-4950-9f4e-a289e62fad2d 2026-10-02 04:52:24,152 - DEBUG - VM ctest-TestBasicPolicy-91423942-66182931 launched on Node cn-jenkins-deploy-platform-ansible-os-6338-1 2026-10-02 04:52:24,272 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/ab4aa570-3e25-4950-9f4e-a289e62fad2d 2026-10-02 04:52:24,282 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/53c3a08c-b774-428c-ac8d-c40f255fd7ef 2026-10-02 04:52:27,570 - 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 1020ms') 2026-10-02 04:52:27,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91423942-66182931 failed! 2026-10-02 04:52:27,628 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338 is 223.198.238.129 and allocation pool is NOT set 2026-10-02 04:52:29,696 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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.533/2.834/4.136/1.301 ms') 2026-10-02 04:52:29,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91423942-66182931 passed 2026-10-02 04:52:29,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 04:52:29,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91423942-66182931, IP 223.198.238.131, Port 22 2026-10-02 04:52:29,922 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-02 04:52:30,042 - DEBUG - VM ctest-TestBasicPolicy-91423942-66182931 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-02 04:52:35,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 04:52:35,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91423942-66182931, IP 223.198.238.131, Port 22 2026-10-02 04:52:35,214 - DEBUG - VM ctest-TestBasicPolicy-91423942-66182931 is ready for SSH connections 2026-10-02 04:52:35,214 - INFO - Waiting for VM ctest-TestBasicPolicy-91423942-40439847 to be up.. 2026-10-02 04:52:35,316 - DEBUG - VM is in ACTIVE state now 2026-10-02 04:52:35,316 - INFO - VM name : ctest-TestBasicPolicy-91423942-40439847 2026-10-02 04:52:35,411 - DEBUG - VM ctest-TestBasicPolicy-91423942-40439847 ID is be876278-d35f-4343-b3a3-3c62bd00a592 2026-10-02 04:52:35,412 - DEBUG - VM ctest-TestBasicPolicy-91423942-40439847 launched on Node cn-jenkins-deploy-platform-ansible-os-6338-1 2026-10-02 04:52:35,511 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/be876278-d35f-4343-b3a3-3c62bd00a592 2026-10-02 04:52:35,521 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/a6ab8e6a-0448-4115-8736-76f8cfe64efc 2026-10-02 04:52:36,772 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/2.291/4.055/1.763 ms') 2026-10-02 04:52:36,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91423942-40439847 passed 2026-10-02 04:52:36,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 04:52:36,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91423942-40439847, IP 197.232.157.131, Port 22 2026-10-02 04:52:37,140 - DEBUG - VM ctest-TestBasicPolicy-91423942-40439847 is ready for SSH connections 2026-10-02 04:52:37,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 04:52:37,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.232.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-02 04:52:37,141 - DEBUG - ping -s 56 -c 3 -W 1 197.232.157.131 2026-10-02 04:52:41,230 - DEBUG - PING 197.232.157.131 (197.232.157.131): 56 data bytes 64 bytes from 197.232.157.131: seq=0 ttl=63 time=5.593 ms 64 bytes from 197.232.157.131: seq=1 ttl=63 time=1.202 ms 64 bytes from 197.232.157.131: seq=2 ttl=63 time=1.133 ms --- 197.232.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.133/2.642/5.593 ms 2026-10-02 04:52:41,230 - INFO - Ping to IP 197.232.157.131 from VM ctest-TestBasicPolicy-91423942-66182931 passed 2026-10-02 04:52:41,416 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2cc3421f-2989-4b78-a6b0-28d37a9e3db8", "href": "http://10.0.0.190:8082/network-policy/2cc3421f-2989-4b78-a6b0-28d37a9e3db8"}} 2026-10-02 04:52:41,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 04:52:41,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.232.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-02 04:52:41,416 - DEBUG - ping -s 56 -c 3 -W 1 197.232.157.131 2026-10-02 04:52:44,548 - DEBUG - PING 197.232.157.131 (197.232.157.131): 56 data bytes 64 bytes from 197.232.157.131: seq=0 ttl=63 time=1.718 ms --- 197.232.157.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.718/1.718/1.718 ms 2026-10-02 04:52:44,548 - WARNING - Ping to IP 197.232.157.131 from VM ctest-TestBasicPolicy-91423942-66182931 failed 2026-10-02 04:52:44,548 - INFO - Deleting VM ctest-TestBasicPolicy-91423942-40439847 2026-10-02 04:52:44,641 - INFO - Deleting VM ctest-TestBasicPolicy-91423942-66182931 2026-10-02 04:52:45,135 - INFO - Deleted policy ctest-policy-allow-all-99884978 2026-10-02 04:52:45,135 - INFO - Deleting VN ctest-vn-34489753 2026-10-02 04:52:45,189 - DEBUG - VN 78d8593e-2b48-4b6d-8ca1-3697b83b1999 still in use: Unable to complete operation on network 78d8593e-2b48-4b6d-8ca1-3697b83b1999. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c53f595-38af-4a50-9871-eac4f56b2210'] 2026-10-02 04:52:45,189 - WARNING - Deleting VN ctest-vn-34489753 failed..Will retry 2026-10-02 04:52:47,336 - DEBUG - Response for deleting network () 2026-10-02 04:52:47,336 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a 2026-10-02 04:52:47,346 - DEBUG - Response Code: 404 2026-10-02 04:52:47,346 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:52:47,353 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:52:47,418 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:52:47,504 - INFO - Validated that VN ctest-vn-34489753 is not found in API Server 2026-10-02 04:52:47,517 - DEBUG - VN ctest-vn-34489753 is not present in Agent 10.0.0.190 2026-10-02 04:52:47,517 - INFO - Validated that VN ctest-vn-34489753 is not in any agent 2026-10-02 04:52:47,538 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34489753 info 2026-10-02 04:52:47,538 - INFO - Deleting VN ctest-vn-04239338 2026-10-02 04:52:47,669 - DEBUG - Response for deleting network () 2026-10-02 04:52:47,669 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b 2026-10-02 04:52:47,679 - DEBUG - Response Code: 404 2026-10-02 04:52:47,679 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-02 04:52:47,686 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688 2026-10-02 04:52:47,742 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803 2026-10-02 04:52:47,824 - INFO - Validated that VN ctest-vn-04239338 is not found in API Server 2026-10-02 04:52:47,836 - DEBUG - VN ctest-vn-04239338 is not present in Agent 10.0.0.190 2026-10-02 04:52:47,836 - INFO - Validated that VN ctest-vn-04239338 is not in any agent 2026-10-02 04:52:47,854 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04239338 info 2026-10-02 04:52:48,134 - DEBUG - No XMPP flaps were noticed during the test
2026-10-02 04:52:48,134 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-10-02 04:52:48,134 - INFO - -------------------------------------------------------------------------------- 2026-10-02 04:52:48,986 - INFO - Deleted project: ctest-TestBasicPolicy-91423942, ID : 7a08c9fa-242c-4ed4-949d-d0304dcc3803