2026-02-04 10:20:56,906 - INFO - Domain Default found not creating 2026-02-04 10:20:57,080 - INFO - Project ctest-TestBasicPolicy-08802709 not found, creating it 2026-02-04 10:20:57,542 - INFO - Created Project:ctest-TestBasicPolicy-08802709, ID : 68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:20:59,050 - INFO - ================================================================================ 2026-02-04 10:20:59,050 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 10:20:59,050 - 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-02-04 10:20:59,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.25': '0'}} with 2026-02-04 10:20:59,304 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:20:59,304 - INFO - 2026-02-04 10:20:59,859 - DEBUG - Response for create_network : {'network': {'id': 'd581e09b-1eb7-4d54-adfc-8e58a526b7fc', 'name': 'ctest-vn-85372321', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-vn-85372321'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:21:00,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '0889a6b1-26a0-43c3-a095-737a575a7ab1', 'name': '', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'network_id': 'd581e09b-1eb7-4d54-adfc-8e58a526b7fc', 'ip_version': 4, 'cidr': '118.67.130.0/26', 'allocation_pools': [{'start': '118.67.130.2', 'end': '118.67.130.62'}], 'gateway_ip': '118.67.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.67.130.2', 'tags': [], 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad'}} 2026-02-04 10:21:00,028 - INFO - Created VN ctest-vn-85372321 2026-02-04 10:21:00,082 - DEBUG - VN ctest-vn-85372321 UUID is d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:00,388 - DEBUG - Response for create_network : {'network': {'id': '82938114-b31c-4f3e-aae6-1411ca4c1c80', 'name': 'ctest-vn-05969551', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-vn-05969551'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:21:00,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '60d22cd0-2b47-43aa-a318-a5530c8949e7', 'name': '', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'network_id': '82938114-b31c-4f3e-aae6-1411ca4c1c80', 'ip_version': 4, 'cidr': '62.255.246.64/26', 'allocation_pools': [{'start': '62.255.246.66', 'end': '62.255.246.126'}], 'gateway_ip': '62.255.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.255.246.66', 'tags': [], 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad'}} 2026-02-04 10:21:00,632 - INFO - Created VN ctest-vn-05969551 2026-02-04 10:21:00,686 - DEBUG - VN ctest-vn-05969551 UUID is 82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:00,803 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321, 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-08802709:ctest-vn-05969551, 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-02-04 10:21:01,100 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd581e09b-1eb7-4d54-adfc-8e58a526b7fc', 'name': 'ctest-vn-85372321', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0889a6b1-26a0-43c3-a095-737a575a7ab1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-vn-85372321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-policy-allow-all-41752624']], 'subnet_ipam': [{'subnet_cidr': '118.67.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:21:01,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82938114-b31c-4f3e-aae6-1411ca4c1c80', 'name': 'ctest-vn-05969551', 'tenant_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'project_id': '68ed46614dbe4e6291fcb66b41ba44ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60d22cd0-2b47-43aa-a318-a5530c8949e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-vn-05969551'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-policy-allow-all-41752624']], 'subnet_ipam': [{'subnet_cidr': '62.255.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:21:01,530 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:01,855 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:01,888 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:01,900 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:01,970 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:01,980 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:01,991 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:01,998 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:02,006 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/42053683-87f8-4445-9f9a-7d8e15d88568 2026-02-04 10:21:02,013 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:21:02,013 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:02,022 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:02,039 - INFO - Verified VN network id 12 for VN d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:02,039 - INFO - Verifications in API Server for VN ctest-vn-85372321 passed 2026-02-04 10:21:02,039 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:02,049 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:02,056 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:02,063 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/42053683-87f8-4445-9f9a-7d8e15d88568 2026-02-04 10:21:02,077 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08802709', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15384824758914207060', 'uuid-lslong': '12537051974071662588'}, 'enable': 'true', 'created': '2026-02-04T10:20:59', 'last-modified': '2026-02-04T10:21:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002525'} 2026-02-04 10:21:02,083 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:21:02,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85372321 passed 2026-02-04 10:21:02,083 - DEBUG - ====Verifying policy data for ctest-vn-85372321 in API_Server ====== 2026-02-04 10:21:02,083 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:02,089 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:02,100 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:02,170 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/d581e09b-1eb7-4d54-adfc-8e58a526b7fc 2026-02-04 10:21:02,180 - DEBUG - ==>Verifying data for policy with id: 9c87573f-b85a-43c6-8d64-52172cce9b87, fqn: ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-policy-allow-all-41752624'] 2026-02-04 10:21:02,180 - INFO - VN ctest-vn-85372321 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:21:02,180 - DEBUG - Verifying the vn in opserver 2026-02-04 10:21:02,180 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321 virtual network link through opserver 10.0.0.240 2026-02-04 10:21:02,180 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-04 10:21:02,472 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-04 10:21:02,550 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321?flat'} 2026-02-04 10:21:02,550 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321 is found in opserver 2026-02-04 10:21:02,560 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:21:02,565 - DEBUG - VRF ids for VN ctest-vn-85372321: {} 2026-02-04 10:21:02,565 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:02,570 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:02,582 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:02,650 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,663 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,673 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:02,680 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:02,687 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/33b3bf69-e367-4348-92bf-b4f092ef49b8 2026-02-04 10:21:02,695 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:21:02,695 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,705 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:02,718 - INFO - Verified VN network id 13 for VN 82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,719 - INFO - Verifications in API Server for VN ctest-vn-05969551 passed 2026-02-04 10:21:02,719 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,728 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:02,735 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:02,742 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/33b3bf69-e367-4348-92bf-b4f092ef49b8 2026-02-04 10:21:02,754 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-05969551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08802709', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9409005972411404094', 'uuid-lslong': '12314552297732185216'}, 'enable': 'true', 'created': '2026-02-04T10:21:00', 'last-modified': '2026-02-04T10:21:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442089'} 2026-02-04 10:21:02,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:21:02,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05969551 passed 2026-02-04 10:21:02,760 - DEBUG - ====Verifying policy data for ctest-vn-05969551 in API_Server ====== 2026-02-04 10:21:02,760 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:02,766 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:02,777 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:02,858 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/82938114-b31c-4f3e-aae6-1411ca4c1c80 2026-02-04 10:21:02,868 - DEBUG - ==>Verifying data for policy with id: 9c87573f-b85a-43c6-8d64-52172cce9b87, fqn: ['default-domain', 'ctest-TestBasicPolicy-08802709', 'ctest-policy-allow-all-41752624'] 2026-02-04 10:21:02,868 - INFO - VN ctest-vn-05969551 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:21:02,868 - DEBUG - Verifying the vn in opserver 2026-02-04 10:21:02,868 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-05969551 virtual network link through opserver 10.0.0.240 2026-02-04 10:21:02,868 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-04 10:21:02,878 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-05969551', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-05969551?flat'} 2026-02-04 10:21:02,878 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-05969551 is found in opserver 2026-02-04 10:21:02,889 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:21:02,895 - DEBUG - VRF ids for VN ctest-vn-05969551: {} 2026-02-04 10:21:02,972 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:21:04,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5203-1) 2026-02-04 10:21:05,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5203-1) 2026-02-04 10:21:05,219 - INFO - Waiting for VM ctest-TestBasicPolicy-08802709-08907772 to be up.. 2026-02-04 10:21:05,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:21:10,400 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:21:10,400 - INFO - VM name : ctest-TestBasicPolicy-08802709-08907772 2026-02-04 10:21:10,494 - DEBUG - VM ctest-TestBasicPolicy-08802709-08907772 ID is f563dd7e-4ab0-4b21-8bb2-523feb1c3767 2026-02-04 10:21:10,518 - DEBUG - VM ctest-TestBasicPolicy-08802709-08907772 launched on Node cn-jenkins-deploy-platform-ansible-os-5203-1 2026-02-04 10:21:10,609 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/f563dd7e-4ab0-4b21-8bb2-523feb1c3767 2026-02-04 10:21:10,618 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/b9bfd022-1106-4612-ad76-0cdd1a997b58 2026-02-04 10:21:13,877 - 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 1009ms') 2026-02-04 10:21:13,877 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08802709-08907772 failed! 2026-02-04 10:21:13,930 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08802709:ctest-vn-85372321 is 118.67.130.1 and allocation pool is NOT set 2026-02-04 10:21:15,994 - 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=6.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.97 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 = 2.966/4.567/6.169/1.601 ms') 2026-02-04 10:21:15,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08802709-08907772 passed 2026-02-04 10:21:16,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:21:16,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08802709-08907772, IP 118.67.130.3, Port 22 2026-02-04 10:21:16,206 - 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-02-04 10:21:16,285 - DEBUG - VM ctest-TestBasicPolicy-08802709-08907772 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-04 10:21:21,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:21:21,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08802709-08907772, IP 118.67.130.3, Port 22 2026-02-04 10:21:21,442 - DEBUG - VM ctest-TestBasicPolicy-08802709-08907772 is ready for SSH connections 2026-02-04 10:21:21,442 - INFO - Waiting for VM ctest-TestBasicPolicy-08802709-36710141 to be up.. 2026-02-04 10:21:21,523 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:21:21,523 - INFO - VM name : ctest-TestBasicPolicy-08802709-36710141 2026-02-04 10:21:21,598 - DEBUG - VM ctest-TestBasicPolicy-08802709-36710141 ID is 743e59b0-916a-4f02-a09f-418947136142 2026-02-04 10:21:21,599 - DEBUG - VM ctest-TestBasicPolicy-08802709-36710141 launched on Node cn-jenkins-deploy-platform-ansible-os-5203-1 2026-02-04 10:21:21,673 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/743e59b0-916a-4f02-a09f-418947136142 2026-02-04 10:21:21,683 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/1adb831d-bf7a-42a3-80c0-e6da794ae90c 2026-02-04 10:21:22,924 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.818/3.208/1.390 ms') 2026-02-04 10:21:22,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08802709-36710141 passed 2026-02-04 10:21:23,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:21:23,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08802709-36710141, IP 62.255.246.67, Port 22 2026-02-04 10:21:23,234 - DEBUG - VM ctest-TestBasicPolicy-08802709-36710141 is ready for SSH connections 2026-02-04 10:21:23,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:21:23,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.255.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-02-04 10:21:23,234 - DEBUG - ping -s 56 -c 3 -W 1 62.255.246.67 2026-02-04 10:21:27,296 - DEBUG - PING 62.255.246.67 (62.255.246.67): 56 data bytes 64 bytes from 62.255.246.67: seq=0 ttl=63 time=3.415 ms 64 bytes from 62.255.246.67: seq=1 ttl=63 time=0.981 ms 64 bytes from 62.255.246.67: seq=2 ttl=63 time=0.822 ms --- 62.255.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.739/3.415 ms 2026-02-04 10:21:27,296 - INFO - Ping to IP 62.255.246.67 from VM ctest-TestBasicPolicy-08802709-08907772 passed 2026-02-04 10:21:27,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c87573f-b85a-43c6-8d64-52172cce9b87", "href": "http://10.0.0.240:8082/network-policy/9c87573f-b85a-43c6-8d64-52172cce9b87"}} 2026-02-04 10:21:27,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:21:27,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.255.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-02-04 10:21:27,482 - DEBUG - ping -s 56 -c 3 -W 1 62.255.246.67 2026-02-04 10:21:30,693 - DEBUG - PING 62.255.246.67 (62.255.246.67): 56 data bytes --- 62.255.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 10:21:30,694 - WARNING - Ping to IP 62.255.246.67 from VM ctest-TestBasicPolicy-08802709-08907772 failed 2026-02-04 10:21:30,694 - INFO - Deleting VM ctest-TestBasicPolicy-08802709-36710141 2026-02-04 10:21:30,768 - INFO - Deleting VM ctest-TestBasicPolicy-08802709-08907772 2026-02-04 10:21:31,120 - INFO - Deleted policy ctest-policy-allow-all-41752624 2026-02-04 10:21:31,120 - INFO - Deleting VN ctest-vn-05969551 2026-02-04 10:21:31,161 - DEBUG - VN 82938114-b31c-4f3e-aae6-1411ca4c1c80 still in use: Unable to complete operation on network 82938114-b31c-4f3e-aae6-1411ca4c1c80. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1f68697-6720-4f77-9aea-f445a2610c00'] 2026-02-04 10:21:31,161 - WARNING - Deleting VN ctest-vn-05969551 failed..Will retry 2026-02-04 10:21:33,263 - DEBUG - Response for deleting network () 2026-02-04 10:21:33,263 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/94de59f2-7833-4500-b6d7-a8a9a85be6ed 2026-02-04 10:21:33,268 - DEBUG - Response Code: 404 2026-02-04 10:21:33,268 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:33,273 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:33,328 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:33,401 - INFO - Validated that VN ctest-vn-05969551 is not found in API Server 2026-02-04 10:21:33,411 - DEBUG - VN ctest-vn-05969551 is not present in Agent 10.0.0.240 2026-02-04 10:21:33,411 - INFO - Validated that VN ctest-vn-05969551 is not in any agent 2026-02-04 10:21:33,425 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05969551 info 2026-02-04 10:21:33,425 - INFO - Deleting VN ctest-vn-85372321 2026-02-04 10:21:33,527 - DEBUG - Response for deleting network () 2026-02-04 10:21:33,527 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5e08f80d-a6ce-4e53-9f87-4497f7454b2c 2026-02-04 10:21:33,535 - DEBUG - Response Code: 404 2026-02-04 10:21:33,535 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-04 10:21:33,542 - DEBUG - Requesting: http://10.0.0.240:8082/domain/07992f34-d864-4485-90a8-93c3905f5493 2026-02-04 10:21:33,595 - DEBUG - Requesting: http://10.0.0.240:8082/project/68ed4661-4dbe-4e62-91fc-b66b41ba44ad 2026-02-04 10:21:33,671 - INFO - Validated that VN ctest-vn-85372321 is not found in API Server 2026-02-04 10:21:33,681 - DEBUG - VN ctest-vn-85372321 is not present in Agent 10.0.0.240 2026-02-04 10:21:33,681 - INFO - Validated that VN ctest-vn-85372321 is not in any agent 2026-02-04 10:21:33,695 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85372321 info 2026-02-04 10:21:33,946 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 10:21:33,947 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-02-04 10:21:33,947 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:21:34,656 - INFO - Deleted project: ctest-TestBasicPolicy-08802709, ID : 68ed4661-4dbe-4e62-91fc-b66b41ba44ad