2026-09-30 13:32:33,253 - INFO - Domain Default found not creating 2026-09-30 13:32:33,462 - INFO - Project ctest-TestBasicPolicy-83339733 not found, creating it 2026-09-30 13:32:34,077 - INFO - Created Project:ctest-TestBasicPolicy-83339733, ID : 1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:32:35,538 - INFO - ================================================================================ 2026-09-30 13:32:35,539 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-30 13:32:35,539 - 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-09-30 13:32:35,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with 2026-09-30 13:32:35,794 - INFO - Initial checks done. Running the testcase now 2026-09-30 13:32:35,794 - INFO - 2026-09-30 13:32:36,362 - DEBUG - Response for create_network : {'network': {'id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'name': 'ctest-vn-72643162', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-72643162'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:32:36,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '1106cd29-8d3d-4580-b15e-73e69fa9ffe9', 'name': '', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'network_id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'ip_version': 4, 'cidr': '24.18.250.192/26', 'allocation_pools': [{'start': '24.18.250.194', 'end': '24.18.250.254'}], 'gateway_ip': '24.18.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.18.250.194', 'tags': [], 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9'}} 2026-09-30 13:32:36,577 - INFO - Created VN ctest-vn-72643162 2026-09-30 13:32:36,628 - DEBUG - VN ctest-vn-72643162 UUID is ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:36,930 - DEBUG - Response for create_network : {'network': {'id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'name': 'ctest-vn-50615662', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-50615662'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:32:37,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d64f4b8-ff5f-4621-9a7c-c7bd5b0a4f46', 'name': '', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'network_id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'ip_version': 4, 'cidr': '137.215.164.0/26', 'allocation_pools': [{'start': '137.215.164.2', 'end': '137.215.164.62'}], 'gateway_ip': '137.215.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.215.164.2', 'tags': [], 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9'}} 2026-09-30 13:32:37,160 - INFO - Created VN ctest-vn-50615662 2026-09-30 13:32:37,212 - DEBUG - VN ctest-vn-50615662 UUID is b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:37,352 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162, 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-83339733:ctest-vn-50615662, 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-09-30 13:32:37,655 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'name': 'ctest-vn-72643162', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1106cd29-8d3d-4580-b15e-73e69fa9ffe9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-72643162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']], 'subnet_ipam': [{'subnet_cidr': '24.18.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:32:37,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'name': 'ctest-vn-50615662', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4d64f4b8-ff5f-4621-9a7c-c7bd5b0a4f46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-50615662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']], 'subnet_ipam': [{'subnet_cidr': '137.215.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:32:38,048 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:32:38,365 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:32:38,393 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:32:38,405 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:32:38,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,490 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,498 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:32:38,506 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:32:38,513 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2cb29bc7-5dfa-4584-86e9-af49b40d2302 2026-09-30 13:32:38,519 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 13:32:38,519 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,527 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:32:38,539 - INFO - Verified VN network id 12 for VN ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,539 - INFO - Verifications in API Server for VN ctest-vn-72643162 passed 2026-09-30 13:32:38,539 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,547 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:32:38,552 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:32:38,559 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2cb29bc7-5dfa-4584-86e9-af49b40d2302 2026-09-30 13:32:38,569 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83339733', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13426589618992860961', 'uuid-lslong': '12893254157078603027'}, 'enable': 'true', 'created': '2026-09-30T13:32:36', 'last-modified': '2026-09-30T13:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939141'} 2026-09-30 13:32:38,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 13:32:38,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72643162 passed 2026-09-30 13:32:38,575 - DEBUG - ====Verifying policy data for ctest-vn-72643162 in API_Server ====== 2026-09-30 13:32:38,575 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:32:38,580 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:32:38,591 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:32:38,663 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513 2026-09-30 13:32:38,673 - DEBUG - ==>Verifying data for policy with id: 2a896978-82eb-4448-99d9-5e6afcba3635, fqn: ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774'] 2026-09-30 13:32:38,673 - INFO - VN ctest-vn-72643162 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 13:32:38,673 - DEBUG - Verifying the vn in opserver 2026-09-30 13:32:38,673 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162 virtual network link through opserver 10.0.0.161 2026-09-30 13:32:38,673 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-30 13:32:38,995 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-30 13:32:39,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162?flat'} 2026-09-30 13:32:39,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162 is found in opserver 2026-09-30 13:32:39,360 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 13:32:39,365 - DEBUG - VRF ids for VN ctest-vn-72643162: {} 2026-09-30 13:32:39,365 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:32:39,369 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:32:39,379 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:32:39,452 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,462 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,471 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:32:39,478 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:32:39,485 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d4d961a-68bb-4d75-a4d9-85db7e69b370 2026-09-30 13:32:39,493 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 13:32:39,494 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,502 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:32:39,514 - INFO - Verified VN network id 13 for VN b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,514 - INFO - Verifications in API Server for VN ctest-vn-50615662 passed 2026-09-30 13:32:39,515 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,523 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:32:39,530 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:32:39,536 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d4d961a-68bb-4d75-a4d9-85db7e69b370 2026-09-30 13:32:39,547 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83339733', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995515039407557958', 'uuid-lslong': '11732471580562335629'}, 'enable': 'true', 'created': '2026-09-30T13:32:36', 'last-modified': '2026-09-30T13:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686106'} 2026-09-30 13:32:39,556 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 13:32:39,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50615662 passed 2026-09-30 13:32:39,556 - DEBUG - ====Verifying policy data for ctest-vn-50615662 in API_Server ====== 2026-09-30 13:32:39,557 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:32:39,562 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:32:39,572 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:32:39,646 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d 2026-09-30 13:32:39,655 - DEBUG - ==>Verifying data for policy with id: 2a896978-82eb-4448-99d9-5e6afcba3635, fqn: ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774'] 2026-09-30 13:32:39,655 - INFO - VN ctest-vn-50615662 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 13:32:39,655 - DEBUG - Verifying the vn in opserver 2026-09-30 13:32:39,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662 virtual network link through opserver 10.0.0.161 2026-09-30 13:32:39,656 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-30 13:32:39,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662?flat'} 2026-09-30 13:32:39,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662 is found in opserver 2026-09-30 13:32:39,675 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 13:32:39,682 - DEBUG - VRF ids for VN ctest-vn-50615662: {} 2026-09-30 13:32:39,740 - DEBUG - Services list from nova: [, , ] 2026-09-30 13:32:40,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6333-1) 2026-09-30 13:32:40,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6333-1) 2026-09-30 13:32:40,507 - INFO - Waiting for VM ctest-TestBasicPolicy-83339733-82848373 to be up.. 2026-09-30 13:32:40,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:32:45,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:32:50,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:32:55,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:33:00,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:33:05,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:33:10,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:33:16,027 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:33:16,027 - INFO - VM name : ctest-TestBasicPolicy-83339733-82848373 2026-09-30 13:33:16,092 - DEBUG - VM ctest-TestBasicPolicy-83339733-82848373 ID is b36efd7b-e7f3-41e0-b284-b96bbdd025fa 2026-09-30 13:33:16,111 - DEBUG - VM ctest-TestBasicPolicy-83339733-82848373 launched on Node cn-jenkins-deploy-platform-ansible-os-6333-1 2026-09-30 13:33:16,186 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/b36efd7b-e7f3-41e0-b284-b96bbdd025fa 2026-09-30 13:33:16,194 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2218e821-5fbc-4577-bd82-f94537207ee0 2026-09-30 13:33:19,453 - 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') 2026-09-30 13:33:19,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83339733-82848373 failed! 2026-09-30 13:33:19,508 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162 is 24.18.250.193 and allocation pool is NOT set 2026-09-30 13:33:21,570 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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.484/1.752/3.021/1.268 ms') 2026-09-30 13:33:21,570 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83339733-82848373 passed 2026-09-30 13:33:21,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:33:21,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83339733-82848373, IP 24.18.250.195, Port 22 2026-09-30 13:33:21,884 - DEBUG - VM ctest-TestBasicPolicy-83339733-82848373 is ready for SSH connections 2026-09-30 13:33:21,884 - INFO - Waiting for VM ctest-TestBasicPolicy-83339733-11399785 to be up.. 2026-09-30 13:33:21,951 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:33:21,951 - INFO - VM name : ctest-TestBasicPolicy-83339733-11399785 2026-09-30 13:33:22,018 - DEBUG - VM ctest-TestBasicPolicy-83339733-11399785 ID is 1a54a770-f007-4988-aaba-658d62a12c4a 2026-09-30 13:33:22,018 - DEBUG - VM ctest-TestBasicPolicy-83339733-11399785 launched on Node cn-jenkins-deploy-platform-ansible-os-6333-1 2026-09-30 13:33:22,086 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1a54a770-f007-4988-aaba-658d62a12c4a 2026-09-30 13:33:22,096 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/4f5ccb6c-3f03-45fc-9756-35148bab782a 2026-09-30 13:33:23,342 - 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=11.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.54 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 = 2.541/7.231/11.922/4.690 ms') 2026-09-30 13:33:23,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83339733-11399785 passed 2026-09-30 13:33:23,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:33:23,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83339733-11399785, IP 137.215.164.3, Port 22 2026-09-30 13:33:23,562 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-30 13:33:23,629 - DEBUG - VM ctest-TestBasicPolicy-83339733-11399785 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-30 13:33:28,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:33:28,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83339733-11399785, IP 137.215.164.3, Port 22 2026-09-30 13:33:28,787 - DEBUG - VM ctest-TestBasicPolicy-83339733-11399785 is ready for SSH connections 2026-09-30 13:33:28,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:33:28,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.215.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-30 13:33:28,788 - DEBUG - ping -s 56 -c 3 -W 1 137.215.164.3 2026-09-30 13:33:32,660 - DEBUG - PING 137.215.164.3 (137.215.164.3): 56 data bytes 64 bytes from 137.215.164.3: seq=0 ttl=63 time=3.857 ms 64 bytes from 137.215.164.3: seq=1 ttl=63 time=1.099 ms 64 bytes from 137.215.164.3: seq=2 ttl=63 time=0.851 ms --- 137.215.164.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.935/3.857 ms 2026-09-30 13:33:32,660 - INFO - Ping to IP 137.215.164.3 from VM ctest-TestBasicPolicy-83339733-82848373 passed 2026-09-30 13:33:32,844 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a896978-82eb-4448-99d9-5e6afcba3635", "href": "http://10.0.0.161:8082/network-policy/2a896978-82eb-4448-99d9-5e6afcba3635"}} 2026-09-30 13:33:32,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:33:32,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.215.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-30 13:33:32,845 - DEBUG - ping -s 56 -c 3 -W 1 137.215.164.3 2026-09-30 13:33:35,970 - DEBUG - PING 137.215.164.3 (137.215.164.3): 56 data bytes 64 bytes from 137.215.164.3: seq=0 ttl=63 time=1.614 ms --- 137.215.164.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.614/1.614/1.614 ms 2026-09-30 13:33:35,970 - WARNING - Ping to IP 137.215.164.3 from VM ctest-TestBasicPolicy-83339733-82848373 failed 2026-09-30 13:33:35,970 - INFO - Deleting VM ctest-TestBasicPolicy-83339733-11399785 2026-09-30 13:33:36,032 - INFO - Deleting VM ctest-TestBasicPolicy-83339733-82848373 2026-09-30 13:33:36,376 - INFO - Deleted policy ctest-policy-allow-all-02233774 2026-09-30 13:33:36,376 - INFO - Deleting VN ctest-vn-50615662 2026-09-30 13:33:36,408 - DEBUG - VN b4595813-3d22-4d46-a2d2-1cbdc0c8a78d still in use: Unable to complete operation on network b4595813-3d22-4d46-a2d2-1cbdc0c8a78d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-006f94b8-72fa-46a9-98e3-a451fab09eba'] 2026-09-30 13:33:36,408 - WARNING - Deleting VN ctest-vn-50615662 failed..Will retry 2026-09-30 13:33:38,525 - DEBUG - Response for deleting network () 2026-09-30 13:33:38,525 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0 2026-09-30 13:33:38,532 - DEBUG - Response Code: 404 2026-09-30 13:33:38,532 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:33:38,541 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:33:38,597 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:33:38,669 - INFO - Validated that VN ctest-vn-50615662 is not found in API Server 2026-09-30 13:33:38,678 - DEBUG - VN ctest-vn-50615662 is not present in Agent 10.0.0.161 2026-09-30 13:33:38,678 - INFO - Validated that VN ctest-vn-50615662 is not in any agent 2026-09-30 13:33:38,694 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50615662 info 2026-09-30 13:33:38,694 - INFO - Deleting VN ctest-vn-72643162 2026-09-30 13:33:38,802 - DEBUG - Response for deleting network () 2026-09-30 13:33:38,802 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b 2026-09-30 13:33:38,807 - DEBUG - Response Code: 404 2026-09-30 13:33:38,807 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-30 13:33:38,812 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b 2026-09-30 13:33:38,865 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9 2026-09-30 13:33:38,934 - INFO - Validated that VN ctest-vn-72643162 is not found in API Server 2026-09-30 13:33:38,943 - DEBUG - VN ctest-vn-72643162 is not present in Agent 10.0.0.161 2026-09-30 13:33:38,943 - INFO - Validated that VN ctest-vn-72643162 is not in any agent 2026-09-30 13:33:38,956 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72643162 info 2026-09-30 13:33:39,209 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 13:33:39,209 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-09-30 13:33:39,209 - INFO - -------------------------------------------------------------------------------- 2026-09-30 13:33:40,293 - INFO - Deleted project: ctest-TestBasicPolicy-83339733, ID : 1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9