2026-04-06 02:00:55,384 - INFO - Domain Default found not creating 2026-04-06 02:00:55,521 - INFO - Project ctest-TestBasicPolicy-45188229 not found, creating it 2026-04-06 02:00:55,933 - INFO - Created Project:ctest-TestBasicPolicy-45188229, ID : 79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:00:57,304 - INFO - ================================================================================ 2026-04-06 02:00:57,304 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-06 02:00:57,304 - 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-04-06 02:00:57,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-04-06 02:00:57,559 - INFO - Initial checks done. Running the testcase now 2026-04-06 02:00:57,559 - INFO - 2026-04-06 02:00:58,099 - DEBUG - Response for create_network : {'network': {'id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'name': 'ctest-vn-09338269', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-09338269'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:00:58,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '143013e6-1d43-4d0d-b419-d31ff5838ca9', 'name': '', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'network_id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'ip_version': 4, 'cidr': '22.232.39.128/26', 'allocation_pools': [{'start': '22.232.39.130', 'end': '22.232.39.190'}], 'gateway_ip': '22.232.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.232.39.130', 'tags': [], 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1'}} 2026-04-06 02:00:58,301 - INFO - Created VN ctest-vn-09338269 2026-04-06 02:00:58,351 - DEBUG - VN ctest-vn-09338269 UUID is 7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:00:58,640 - DEBUG - Response for create_network : {'network': {'id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'name': 'ctest-vn-34427464', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-34427464'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:00:58,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '30821c0f-64fd-45cd-9ddd-7429189018ef', 'name': '', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'network_id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'ip_version': 4, 'cidr': '215.238.67.0/26', 'allocation_pools': [{'start': '215.238.67.2', 'end': '215.238.67.62'}], 'gateway_ip': '215.238.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.238.67.2', 'tags': [], 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1'}} 2026-04-06 02:00:58,794 - INFO - Created VN ctest-vn-34427464 2026-04-06 02:00:58,843 - DEBUG - VN ctest-vn-34427464 UUID is 10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:00:58,987 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269, 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-45188229:ctest-vn-34427464, 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-04-06 02:00:59,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'name': 'ctest-vn-09338269', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['143013e6-1d43-4d0d-b419-d31ff5838ca9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-09338269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']], 'subnet_ipam': [{'subnet_cidr': '22.232.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:00:59,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'name': 'ctest-vn-34427464', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30821c0f-64fd-45cd-9ddd-7429189018ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-34427464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']], 'subnet_ipam': [{'subnet_cidr': '215.238.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:00:59,639 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:00:59,929 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:00:59,956 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:00:59,967 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:00,036 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,046 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,054 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:00,061 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:00,067 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/480fbe63-c450-4151-9cf8-5cf12b81b667 2026-04-06 02:01:00,074 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:01:00,074 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,082 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:00,094 - INFO - Verified VN network id 12 for VN 7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,094 - INFO - Verifications in API Server for VN ctest-vn-09338269 passed 2026-04-06 02:01:00,095 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,101 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:00,107 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:00,111 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/480fbe63-c450-4151-9cf8-5cf12b81b667 2026-04-06 02:01:00,120 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45188229', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8837530948756654820', 'uuid-lslong': '11044152914400804548'}, 'enable': 'true', 'created': '2026-04-06T02:00:58', 'last-modified': '2026-04-06T02:00:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.872189'} 2026-04-06 02:01:00,124 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:01:00,125 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09338269 passed 2026-04-06 02:01:00,125 - DEBUG - ====Verifying policy data for ctest-vn-09338269 in API_Server ====== 2026-04-06 02:01:00,125 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:01:00,129 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:01:00,138 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:00,210 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4 2026-04-06 02:01:00,217 - DEBUG - ==>Verifying data for policy with id: b8863315-b594-40ab-9915-2e9de1a62ed0, fqn: ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738'] 2026-04-06 02:01:00,217 - INFO - VN ctest-vn-09338269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:01:00,218 - DEBUG - Verifying the vn in opserver 2026-04-06 02:01:00,218 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269 virtual network link through opserver 10.0.0.41 2026-04-06 02:01:00,218 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-06 02:01:00,510 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-06 02:01:00,564 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269?flat'} 2026-04-06 02:01:00,564 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269 is found in opserver 2026-04-06 02:01:00,572 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:01:00,575 - DEBUG - VRF ids for VN ctest-vn-09338269: {} 2026-04-06 02:01:00,576 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:01:00,580 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:01:00,589 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:00,652 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,661 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,669 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:00,674 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:00,679 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0b29990f-c851-429a-afb0-462f00327644 2026-04-06 02:01:00,685 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:01:00,685 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,692 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:00,702 - INFO - Verified VN network id 13 for VN 10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,702 - INFO - Verifications in API Server for VN ctest-vn-34427464 passed 2026-04-06 02:01:00,702 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,709 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:00,714 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:00,720 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0b29990f-c851-429a-afb0-462f00327644 2026-04-06 02:01:00,730 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45188229', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1212068278540520007', 'uuid-lslong': '9667718605898758090'}, 'enable': 'true', 'created': '2026-04-06T02:00:58', 'last-modified': '2026-04-06T02:00:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.261174'} 2026-04-06 02:01:00,736 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:01:00,736 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34427464 passed 2026-04-06 02:01:00,736 - DEBUG - ====Verifying policy data for ctest-vn-34427464 in API_Server ====== 2026-04-06 02:01:00,736 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:01:00,741 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:01:00,749 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:00,814 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca 2026-04-06 02:01:00,822 - DEBUG - ==>Verifying data for policy with id: b8863315-b594-40ab-9915-2e9de1a62ed0, fqn: ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738'] 2026-04-06 02:01:00,822 - INFO - VN ctest-vn-34427464 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:01:00,822 - DEBUG - Verifying the vn in opserver 2026-04-06 02:01:00,822 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464 virtual network link through opserver 10.0.0.41 2026-04-06 02:01:00,822 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-06 02:01:00,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464?flat'} 2026-04-06 02:01:00,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464 is found in opserver 2026-04-06 02:01:00,839 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:01:00,844 - DEBUG - VRF ids for VN ctest-vn-34427464: {} 2026-04-06 02:01:00,902 - DEBUG - Services list from nova: [, , ] 2026-04-06 02:01:01,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5595-1) 2026-04-06 02:01:02,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5595-1) 2026-04-06 02:01:02,975 - INFO - Waiting for VM ctest-TestBasicPolicy-45188229-57825931 to be up.. 2026-04-06 02:01:03,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-06 02:01:08,124 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:01:08,124 - INFO - VM name : ctest-TestBasicPolicy-45188229-57825931 2026-04-06 02:01:08,205 - DEBUG - VM ctest-TestBasicPolicy-45188229-57825931 ID is 25b52e83-209a-445e-9faa-b66807b5b52c 2026-04-06 02:01:08,224 - DEBUG - VM ctest-TestBasicPolicy-45188229-57825931 launched on Node cn-jenkins-deploy-platform-ansible-os-5595-1 2026-04-06 02:01:08,302 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/25b52e83-209a-445e-9faa-b66807b5b52c 2026-04-06 02:01:08,310 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/779a9420-686d-4e0a-b0e8-6966424c65be 2026-04-06 02:01:11,562 - 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 1012ms') 2026-04-06 02:01:11,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45188229-57825931 failed! 2026-04-06 02:01:11,619 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269 is 22.232.39.129 and allocation pool is NOT set 2026-04-06 02:01:13,675 - 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.88 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.531/2.704/3.877/1.173 ms') 2026-04-06 02:01:13,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45188229-57825931 passed 2026-04-06 02:01:13,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:01:13,823 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45188229-57825931, IP 22.232.39.131, Port 22 2026-04-06 02:01:13,878 - 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-04-06 02:01:13,952 - DEBUG - VM ctest-TestBasicPolicy-45188229-57825931 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 02:01:18,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:01:18,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45188229-57825931, IP 22.232.39.131, Port 22 2026-04-06 02:01:19,106 - DEBUG - VM ctest-TestBasicPolicy-45188229-57825931 is ready for SSH connections 2026-04-06 02:01:19,106 - INFO - Waiting for VM ctest-TestBasicPolicy-45188229-36319814 to be up.. 2026-04-06 02:01:19,180 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:01:19,180 - INFO - VM name : ctest-TestBasicPolicy-45188229-36319814 2026-04-06 02:01:19,247 - DEBUG - VM ctest-TestBasicPolicy-45188229-36319814 ID is 005230e4-1d48-4662-8835-820b039c676f 2026-04-06 02:01:19,247 - DEBUG - VM ctest-TestBasicPolicy-45188229-36319814 launched on Node cn-jenkins-deploy-platform-ansible-os-5595-1 2026-04-06 02:01:19,315 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/005230e4-1d48-4662-8835-820b039c676f 2026-04-06 02:01:19,323 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e3ee30dd-07d4-45b3-9c18-c98b39784f9d 2026-04-06 02:01:20,561 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.399/1.651/2.903/1.252 ms') 2026-04-06 02:01:20,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45188229-36319814 passed 2026-04-06 02:01:20,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:01:20,707 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45188229-36319814, IP 215.238.67.3, Port 22 2026-04-06 02:01:20,872 - DEBUG - VM ctest-TestBasicPolicy-45188229-36319814 is ready for SSH connections 2026-04-06 02:01:20,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:01:20,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.238.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-06 02:01:20,872 - DEBUG - ping -s 56 -c 3 -W 1 215.238.67.3 2026-04-06 02:01:24,517 - DEBUG - PING 215.238.67.3 (215.238.67.3): 56 data bytes 64 bytes from 215.238.67.3: seq=0 ttl=63 time=3.551 ms 64 bytes from 215.238.67.3: seq=1 ttl=63 time=0.688 ms 64 bytes from 215.238.67.3: seq=2 ttl=63 time=0.674 ms --- 215.238.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.674/1.637/3.551 ms 2026-04-06 02:01:24,517 - INFO - Ping to IP 215.238.67.3 from VM ctest-TestBasicPolicy-45188229-57825931 passed 2026-04-06 02:01:24,682 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b8863315-b594-40ab-9915-2e9de1a62ed0", "href": "http://10.0.0.41:8082/network-policy/b8863315-b594-40ab-9915-2e9de1a62ed0"}} 2026-04-06 02:01:24,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:01:24,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.238.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-06 02:01:24,683 - DEBUG - ping -s 56 -c 3 -W 1 215.238.67.3 2026-04-06 02:01:27,878 - DEBUG - PING 215.238.67.3 (215.238.67.3): 56 data bytes --- 215.238.67.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-06 02:01:27,878 - WARNING - Ping to IP 215.238.67.3 from VM ctest-TestBasicPolicy-45188229-57825931 failed 2026-04-06 02:01:27,879 - INFO - Deleting VM ctest-TestBasicPolicy-45188229-36319814 2026-04-06 02:01:27,938 - INFO - Deleting VM ctest-TestBasicPolicy-45188229-57825931 2026-04-06 02:01:28,281 - INFO - Deleted policy ctest-policy-allow-all-26168738 2026-04-06 02:01:28,281 - INFO - Deleting VN ctest-vn-34427464 2026-04-06 02:01:28,317 - DEBUG - VN 10d221ad-71ed-4a47-862a-a2d9ad07b7ca still in use: Unable to complete operation on network 10d221ad-71ed-4a47-862a-a2d9ad07b7ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f2b3899-8047-404c-a980-134790aa54ad'] 2026-04-06 02:01:28,317 - WARNING - Deleting VN ctest-vn-34427464 failed..Will retry 2026-04-06 02:01:30,398 - DEBUG - Response for deleting network () 2026-04-06 02:01:30,399 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714 2026-04-06 02:01:30,404 - DEBUG - Response Code: 404 2026-04-06 02:01:30,404 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:01:30,409 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:01:30,460 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:30,532 - INFO - Validated that VN ctest-vn-34427464 is not found in API Server 2026-04-06 02:01:30,541 - DEBUG - VN ctest-vn-34427464 is not present in Agent 10.0.0.41 2026-04-06 02:01:30,541 - INFO - Validated that VN ctest-vn-34427464 is not in any agent 2026-04-06 02:01:30,552 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34427464 info 2026-04-06 02:01:30,552 - INFO - Deleting VN ctest-vn-09338269 2026-04-06 02:01:30,632 - DEBUG - Response for deleting network () 2026-04-06 02:01:30,632 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8 2026-04-06 02:01:30,637 - DEBUG - Response Code: 404 2026-04-06 02:01:30,637 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-06 02:01:30,641 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570 2026-04-06 02:01:30,691 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1 2026-04-06 02:01:30,770 - INFO - Validated that VN ctest-vn-09338269 is not found in API Server 2026-04-06 02:01:30,778 - DEBUG - VN ctest-vn-09338269 is not present in Agent 10.0.0.41 2026-04-06 02:01:30,778 - INFO - Validated that VN ctest-vn-09338269 is not in any agent 2026-04-06 02:01:30,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09338269 info 2026-04-06 02:01:31,043 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:01:31,043 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-04-06 02:01:31,043 - INFO - -------------------------------------------------------------------------------- 2026-04-06 02:01:31,701 - INFO - Deleted project: ctest-TestBasicPolicy-45188229, ID : 79270f3e-e69a-4fde-8cbe-7c6ecbad08c1