2026-01-20 09:50:50,193 - INFO - Domain Default found not creating 2026-01-20 09:50:50,388 - INFO - Project ctest-TestBasicPolicy-05354138 not found, creating it 2026-01-20 09:50:50,889 - INFO - Created Project:ctest-TestBasicPolicy-05354138, ID : fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:50:52,583 - INFO - ================================================================================ 2026-01-20 09:50:52,583 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-20 09:50:52,584 - 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-01-20 09:50:52,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-20 09:50:52,851 - INFO - Initial checks done. Running the testcase now 2026-01-20 09:50:52,851 - INFO - 2026-01-20 09:50:53,476 - DEBUG - Response for create_network : {'network': {'id': '8585c0f2-aab2-409a-9aeb-ba8ffc7be968', 'name': 'ctest-vn-07110384', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'project_id': 'fb26bb31d04b4c0480c69c637df1f043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-vn-07110384'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:53,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '4db69145-8434-4ebb-a659-f9777fb929f5', 'name': '', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'network_id': '8585c0f2-aab2-409a-9aeb-ba8ffc7be968', 'ip_version': 4, 'cidr': '74.188.42.192/26', 'allocation_pools': [{'start': '74.188.42.194', 'end': '74.188.42.254'}], 'gateway_ip': '74.188.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.188.42.194', 'tags': [], 'project_id': 'fb26bb31d04b4c0480c69c637df1f043'}} 2026-01-20 09:50:53,675 - INFO - Created VN ctest-vn-07110384 2026-01-20 09:50:53,728 - DEBUG - VN ctest-vn-07110384 UUID is 8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:54,049 - DEBUG - Response for create_network : {'network': {'id': 'b40c1590-a6b5-4397-ab88-02a450c82bbe', 'name': 'ctest-vn-08849932', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'project_id': 'fb26bb31d04b4c0480c69c637df1f043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-vn-08849932'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:54,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '0373d533-5644-444b-8248-d1ee3d987e4f', 'name': '', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'network_id': 'b40c1590-a6b5-4397-ab88-02a450c82bbe', 'ip_version': 4, 'cidr': '154.110.25.0/26', 'allocation_pools': [{'start': '154.110.25.2', 'end': '154.110.25.62'}], 'gateway_ip': '154.110.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.110.25.2', 'tags': [], 'project_id': 'fb26bb31d04b4c0480c69c637df1f043'}} 2026-01-20 09:50:54,290 - INFO - Created VN ctest-vn-08849932 2026-01-20 09:50:54,344 - DEBUG - VN ctest-vn-08849932 UUID is b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:54,466 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384, 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-05354138:ctest-vn-08849932, 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-01-20 09:50:54,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8585c0f2-aab2-409a-9aeb-ba8ffc7be968', 'name': 'ctest-vn-07110384', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'project_id': 'fb26bb31d04b4c0480c69c637df1f043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4db69145-8434-4ebb-a659-f9777fb929f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-vn-07110384'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-policy-allow-all-51594857']], 'subnet_ipam': [{'subnet_cidr': '74.188.42.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:55,032 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b40c1590-a6b5-4397-ab88-02a450c82bbe', 'name': 'ctest-vn-08849932', 'tenant_id': 'fb26bb31d04b4c0480c69c637df1f043', 'project_id': 'fb26bb31d04b4c0480c69c637df1f043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0373d533-5644-444b-8248-d1ee3d987e4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-vn-08849932'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-policy-allow-all-51594857']], 'subnet_ipam': [{'subnet_cidr': '154.110.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:55,188 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:50:55,531 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:50:55,568 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:50:55,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:50:55,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:50:55,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:50:55,704 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/acd0c950-d111-4831-8ce9-46a84aa64173 2026-01-20 09:50:55,712 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-20 09:50:55,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:50:55,738 - INFO - Verified VN network id 11 for VN 8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,739 - INFO - Verifications in API Server for VN ctest-vn-07110384 passed 2026-01-20 09:50:55,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:50:55,757 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:50:55,765 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/acd0c950-d111-4831-8ce9-46a84aa64173 2026-01-20 09:50:55,780 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05354138', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9621308327425360026', 'uuid-lslong': '11163221228946975080'}, 'enable': 'true', 'created': '2026-01-20T09:50:53', 'last-modified': '2026-01-20T09:50:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015092'} 2026-01-20 09:50:55,787 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-20 09:50:55,788 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07110384 passed 2026-01-20 09:50:55,788 - DEBUG - ====Verifying policy data for ctest-vn-07110384 in API_Server ====== 2026-01-20 09:50:55,788 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:50:55,795 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:50:55,810 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:50:55,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8585c0f2-aab2-409a-9aeb-ba8ffc7be968 2026-01-20 09:50:55,894 - DEBUG - ==>Verifying data for policy with id: eb874737-30e7-432b-8d58-0265cd1f1325, fqn: ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-policy-allow-all-51594857'] 2026-01-20 09:50:55,895 - INFO - VN ctest-vn-07110384 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 09:50:55,895 - DEBUG - Verifying the vn in opserver 2026-01-20 09:50:55,895 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384 virtual network link through opserver 10.0.0.38 2026-01-20 09:50:55,895 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-20 09:50:56,234 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-20 09:50:56,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384?flat'} 2026-01-20 09:50:56,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384 is found in opserver 2026-01-20 09:50:56,318 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 09:50:56,323 - DEBUG - VRF ids for VN ctest-vn-07110384: {} 2026-01-20 09:50:56,323 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:50:56,330 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:50:56,342 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:50:56,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,446 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:50:56,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:50:56,464 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5581d62-8ee2-4550-835f-1127f8d11117 2026-01-20 09:50:56,472 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 09:50:56,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:50:56,500 - INFO - Verified VN network id 12 for VN b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,500 - INFO - Verifications in API Server for VN ctest-vn-08849932 passed 2026-01-20 09:50:56,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:50:56,518 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:50:56,528 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5581d62-8ee2-4550-835f-1127f8d11117 2026-01-20 09:50:56,541 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-08849932', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05354138', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12973768337563927447', 'uuid-lslong': '12360132082071514046'}, 'enable': 'true', 'created': '2026-01-20T09:50:54', 'last-modified': '2026-01-20T09:50:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.537170'} 2026-01-20 09:50:56,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 09:50:56,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08849932 passed 2026-01-20 09:50:56,547 - DEBUG - ====Verifying policy data for ctest-vn-08849932 in API_Server ====== 2026-01-20 09:50:56,547 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:50:56,553 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:50:56,564 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:50:56,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b40c1590-a6b5-4397-ab88-02a450c82bbe 2026-01-20 09:50:56,686 - DEBUG - ==>Verifying data for policy with id: eb874737-30e7-432b-8d58-0265cd1f1325, fqn: ['default-domain', 'ctest-TestBasicPolicy-05354138', 'ctest-policy-allow-all-51594857'] 2026-01-20 09:50:56,687 - INFO - VN ctest-vn-08849932 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 09:50:56,687 - DEBUG - Verifying the vn in opserver 2026-01-20 09:50:56,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-08849932 virtual network link through opserver 10.0.0.38 2026-01-20 09:50:56,687 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-20 09:50:56,715 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-08849932', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-08849932?flat'} 2026-01-20 09:50:56,715 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-08849932 is found in opserver 2026-01-20 09:50:56,728 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 09:50:56,734 - DEBUG - VRF ids for VN ctest-vn-08849932: {} 2026-01-20 09:50:56,833 - DEBUG - Services list from nova: [, , ] 2026-01-20 09:50:58,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5047-1) 2026-01-20 09:50:59,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5047-1) 2026-01-20 09:50:59,566 - INFO - Waiting for VM ctest-TestBasicPolicy-05354138-71881460 to be up.. 2026-01-20 09:50:59,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 09:51:04,763 - DEBUG - VM is in ACTIVE state now 2026-01-20 09:51:04,763 - INFO - VM name : ctest-TestBasicPolicy-05354138-71881460 2026-01-20 09:51:04,853 - DEBUG - VM ctest-TestBasicPolicy-05354138-71881460 ID is 2c28beb7-c75f-4102-be47-72eec9979423 2026-01-20 09:51:04,879 - DEBUG - VM ctest-TestBasicPolicy-05354138-71881460 launched on Node cn-jenkins-deploy-platform-ansible-os-5047-1 2026-01-20 09:51:04,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2c28beb7-c75f-4102-be47-72eec9979423 2026-01-20 09:51:04,984 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/243bbe8e-ce42-4703-b895-5373b7242486 2026-01-20 09:51:08,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 1001ms') 2026-01-20 09:51:08,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05354138-71881460 failed! 2026-01-20 09:51:08,288 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05354138:ctest-vn-07110384 is 74.188.42.193 and allocation pool is NOT set 2026-01-20 09:51:10,353 - 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=14.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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.157/7.654/14.151/6.497 ms') 2026-01-20 09:51:10,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05354138-71881460 passed 2026-01-20 09:51:10,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:51:10,508 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05354138-71881460, IP 74.188.42.195, Port 22 2026-01-20 09:51:10,574 - 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-01-20 09:51:10,671 - DEBUG - VM ctest-TestBasicPolicy-05354138-71881460 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 09:51:15,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:51:15,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05354138-71881460, IP 74.188.42.195, Port 22 2026-01-20 09:51:15,827 - DEBUG - VM ctest-TestBasicPolicy-05354138-71881460 is ready for SSH connections 2026-01-20 09:51:15,827 - INFO - Waiting for VM ctest-TestBasicPolicy-05354138-97158070 to be up.. 2026-01-20 09:51:15,914 - DEBUG - VM is in ACTIVE state now 2026-01-20 09:51:15,914 - INFO - VM name : ctest-TestBasicPolicy-05354138-97158070 2026-01-20 09:51:15,995 - DEBUG - VM ctest-TestBasicPolicy-05354138-97158070 ID is af4fe180-81de-4386-9b01-d659755c6ca0 2026-01-20 09:51:15,996 - DEBUG - VM ctest-TestBasicPolicy-05354138-97158070 launched on Node cn-jenkins-deploy-platform-ansible-os-5047-1 2026-01-20 09:51:16,079 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af4fe180-81de-4386-9b01-d659755c6ca0 2026-01-20 09:51:16,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d64bae6a-75f9-417c-90e8-3bd06f7ceac0 2026-01-20 09:51:17,329 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/2.335/4.177/1.842 ms') 2026-01-20 09:51:17,329 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05354138-97158070 passed 2026-01-20 09:51:17,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:51:17,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05354138-97158070, IP 154.110.25.3, Port 22 2026-01-20 09:51:17,643 - DEBUG - VM ctest-TestBasicPolicy-05354138-97158070 is ready for SSH connections 2026-01-20 09:51:17,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:51:17,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-20 09:51:17,644 - DEBUG - ping -s 56 -c 3 -W 1 154.110.25.3 2026-01-20 09:51:21,771 - DEBUG - PING 154.110.25.3 (154.110.25.3): 56 data bytes 64 bytes from 154.110.25.3: seq=0 ttl=63 time=3.925 ms 64 bytes from 154.110.25.3: seq=1 ttl=63 time=0.964 ms 64 bytes from 154.110.25.3: seq=2 ttl=63 time=1.074 ms --- 154.110.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.987/3.925 ms 2026-01-20 09:51:21,772 - INFO - Ping to IP 154.110.25.3 from VM ctest-TestBasicPolicy-05354138-71881460 passed 2026-01-20 09:51:21,947 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eb874737-30e7-432b-8d58-0265cd1f1325", "href": "http://10.0.0.38:8082/network-policy/eb874737-30e7-432b-8d58-0265cd1f1325"}} 2026-01-20 09:51:21,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:51:21,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-20 09:51:21,948 - DEBUG - ping -s 56 -c 3 -W 1 154.110.25.3 2026-01-20 09:51:25,190 - DEBUG - PING 154.110.25.3 (154.110.25.3): 56 data bytes --- 154.110.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-20 09:51:25,191 - WARNING - Ping to IP 154.110.25.3 from VM ctest-TestBasicPolicy-05354138-71881460 failed 2026-01-20 09:51:25,191 - INFO - Deleting VM ctest-TestBasicPolicy-05354138-97158070 2026-01-20 09:51:25,264 - INFO - Deleting VM ctest-TestBasicPolicy-05354138-71881460 2026-01-20 09:51:25,725 - INFO - Deleted policy ctest-policy-allow-all-51594857 2026-01-20 09:51:25,725 - INFO - Deleting VN ctest-vn-08849932 2026-01-20 09:51:25,765 - DEBUG - VN b40c1590-a6b5-4397-ab88-02a450c82bbe still in use: Unable to complete operation on network b40c1590-a6b5-4397-ab88-02a450c82bbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e594ded-d803-4d8c-8884-fbb1ae44f49e'] 2026-01-20 09:51:25,765 - WARNING - Deleting VN ctest-vn-08849932 failed..Will retry 2026-01-20 09:51:27,882 - DEBUG - Response for deleting network () 2026-01-20 09:51:27,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9bcf7b27-2661-445d-88ea-e6aaa0658cf2 2026-01-20 09:51:27,889 - DEBUG - Response Code: 404 2026-01-20 09:51:27,889 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:51:27,896 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:51:27,956 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:51:28,036 - INFO - Validated that VN ctest-vn-08849932 is not found in API Server 2026-01-20 09:51:28,048 - DEBUG - VN ctest-vn-08849932 is not present in Agent 10.0.0.38 2026-01-20 09:51:28,048 - INFO - Validated that VN ctest-vn-08849932 is not in any agent 2026-01-20 09:51:28,063 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08849932 info 2026-01-20 09:51:28,063 - INFO - Deleting VN ctest-vn-07110384 2026-01-20 09:51:28,182 - DEBUG - Response for deleting network () 2026-01-20 09:51:28,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a2a7aa2b-6078-49d8-a0cf-f43dbea067e6 2026-01-20 09:51:28,188 - DEBUG - Response Code: 404 2026-01-20 09:51:28,188 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-20 09:51:28,194 - DEBUG - Requesting: http://10.0.0.38:8082/domain/922c58e8-af30-4f1e-bda5-d2cb26aee5e7 2026-01-20 09:51:28,250 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb26bb31-d04b-4c04-80c6-9c637df1f043 2026-01-20 09:51:28,325 - INFO - Validated that VN ctest-vn-07110384 is not found in API Server 2026-01-20 09:51:28,335 - DEBUG - VN ctest-vn-07110384 is not present in Agent 10.0.0.38 2026-01-20 09:51:28,336 - INFO - Validated that VN ctest-vn-07110384 is not in any agent 2026-01-20 09:51:28,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07110384 info 2026-01-20 09:51:28,620 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 09:51:28,620 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-20 09:51:28,621 - INFO - -------------------------------------------------------------------------------- 2026-01-20 09:51:29,370 - INFO - Deleted project: ctest-TestBasicPolicy-05354138, ID : fb26bb31-d04b-4c04-80c6-9c637df1f043