2026-04-28 14:57:00,287 - INFO - Domain Default found not creating 2026-04-28 14:57:00,478 - INFO - Project ctest-TestBasicPolicy-64976671 not found, creating it 2026-04-28 14:57:01,004 - INFO - Created Project:ctest-TestBasicPolicy-64976671, ID : 5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:02,585 - INFO - ================================================================================ 2026-04-28 14:57:02,585 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 14:57:02,585 - 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-28 14:57:02,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 14:57:02,838 - INFO - Initial checks done. Running the testcase now 2026-04-28 14:57:02,838 - INFO - 2026-04-28 14:57:03,414 - DEBUG - Response for create_network : {'network': {'id': '99277b4e-913a-4454-aca2-4f610845d361', 'name': 'ctest-vn-88341003', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'project_id': '5fb60face14b4fbfac30e4963d2157b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-vn-88341003'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:57:03,589 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ed7b359-af2e-4817-b7bb-305ec6ff12f6', 'name': '', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'network_id': '99277b4e-913a-4454-aca2-4f610845d361', 'ip_version': 4, 'cidr': '211.0.168.128/26', 'allocation_pools': [{'start': '211.0.168.130', 'end': '211.0.168.190'}], 'gateway_ip': '211.0.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.0.168.130', 'tags': [], 'project_id': '5fb60face14b4fbfac30e4963d2157b8'}} 2026-04-28 14:57:03,608 - INFO - Created VN ctest-vn-88341003 2026-04-28 14:57:03,660 - DEBUG - VN ctest-vn-88341003 UUID is 99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:03,976 - DEBUG - Response for create_network : {'network': {'id': 'c25c755f-4b2b-4315-90b8-e881484e507b', 'name': 'ctest-vn-56691878', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'project_id': '5fb60face14b4fbfac30e4963d2157b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-vn-56691878'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:57:04,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '29ceb7c1-eb64-4334-98f4-e47f0eda2d89', 'name': '', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'network_id': 'c25c755f-4b2b-4315-90b8-e881484e507b', 'ip_version': 4, 'cidr': '109.161.112.64/26', 'allocation_pools': [{'start': '109.161.112.66', 'end': '109.161.112.126'}], 'gateway_ip': '109.161.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.161.112.66', 'tags': [], 'project_id': '5fb60face14b4fbfac30e4963d2157b8'}} 2026-04-28 14:57:04,250 - INFO - Created VN ctest-vn-56691878 2026-04-28 14:57:04,304 - DEBUG - VN ctest-vn-56691878 UUID is c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:04,436 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003, 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-64976671:ctest-vn-56691878, 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-28 14:57:04,754 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99277b4e-913a-4454-aca2-4f610845d361', 'name': 'ctest-vn-88341003', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'project_id': '5fb60face14b4fbfac30e4963d2157b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ed7b359-af2e-4817-b7bb-305ec6ff12f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-vn-88341003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-policy-allow-all-38420949']], 'subnet_ipam': [{'subnet_cidr': '211.0.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:57:04,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c25c755f-4b2b-4315-90b8-e881484e507b', 'name': 'ctest-vn-56691878', 'tenant_id': '5fb60face14b4fbfac30e4963d2157b8', 'project_id': '5fb60face14b4fbfac30e4963d2157b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29ceb7c1-eb64-4334-98f4-e47f0eda2d89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-vn-56691878'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-policy-allow-all-38420949']], 'subnet_ipam': [{'subnet_cidr': '109.161.112.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:57:05,144 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:05,441 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:05,476 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:05,488 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:05,560 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:05,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:05,597 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8f5ec1af-a746-4d23-babf-48dc1e2dff65 2026-04-28 14:57:05,604 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 14:57:05,604 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,614 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:05,629 - INFO - Verified VN network id 12 for VN 99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,629 - INFO - Verifications in API Server for VN ctest-vn-88341003 passed 2026-04-28 14:57:05,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,640 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:05,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:05,656 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8f5ec1af-a746-4d23-babf-48dc1e2dff65 2026-04-28 14:57:05,671 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64976671', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11035924989268870228', 'uuid-lslong': '12439592398919947105'}, 'enable': 'true', 'created': '2026-04-28T14:57:03', 'last-modified': '2026-04-28T14:57:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945807'} 2026-04-28 14:57:05,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 14:57:05,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88341003 passed 2026-04-28 14:57:05,680 - DEBUG - ====Verifying policy data for ctest-vn-88341003 in API_Server ====== 2026-04-28 14:57:05,680 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:05,686 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:05,698 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:05,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99277b4e-913a-4454-aca2-4f610845d361 2026-04-28 14:57:05,781 - DEBUG - ==>Verifying data for policy with id: 4c2a9891-6712-4857-8f10-7fad25a6f88b, fqn: ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-policy-allow-all-38420949'] 2026-04-28 14:57:05,781 - INFO - VN ctest-vn-88341003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 14:57:05,781 - DEBUG - Verifying the vn in opserver 2026-04-28 14:57:05,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003 virtual network link through opserver 10.0.0.50 2026-04-28 14:57:05,781 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 14:57:06,077 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 14:57:06,142 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003?flat'} 2026-04-28 14:57:06,142 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003 is found in opserver 2026-04-28 14:57:06,152 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 14:57:06,157 - DEBUG - VRF ids for VN ctest-vn-88341003: {} 2026-04-28 14:57:06,157 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:06,163 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:06,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:06,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:06,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:06,283 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1d5782d6-e772-4b5e-9c5a-82d49bd151ad 2026-04-28 14:57:06,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 14:57:06,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:06,314 - INFO - Verified VN network id 13 for VN c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,315 - INFO - Verifications in API Server for VN ctest-vn-56691878 passed 2026-04-28 14:57:06,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,325 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:06,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:06,339 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1d5782d6-e772-4b5e-9c5a-82d49bd151ad 2026-04-28 14:57:06,352 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-56691878', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64976671', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14005197993358869269', 'uuid-lslong': '10428340579137900667'}, 'enable': 'true', 'created': '2026-04-28T14:57:03', 'last-modified': '2026-04-28T14:57:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.394346'} 2026-04-28 14:57:06,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 14:57:06,358 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56691878 passed 2026-04-28 14:57:06,358 - DEBUG - ====Verifying policy data for ctest-vn-56691878 in API_Server ====== 2026-04-28 14:57:06,358 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:06,364 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:06,374 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:06,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c25c755f-4b2b-4315-90b8-e881484e507b 2026-04-28 14:57:06,458 - DEBUG - ==>Verifying data for policy with id: 4c2a9891-6712-4857-8f10-7fad25a6f88b, fqn: ['default-domain', 'ctest-TestBasicPolicy-64976671', 'ctest-policy-allow-all-38420949'] 2026-04-28 14:57:06,458 - INFO - VN ctest-vn-56691878 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 14:57:06,458 - DEBUG - Verifying the vn in opserver 2026-04-28 14:57:06,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-56691878 virtual network link through opserver 10.0.0.50 2026-04-28 14:57:06,458 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 14:57:06,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-56691878', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-56691878?flat'} 2026-04-28 14:57:06,469 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-56691878 is found in opserver 2026-04-28 14:57:06,478 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 14:57:06,483 - DEBUG - VRF ids for VN ctest-vn-56691878: {} 2026-04-28 14:57:06,547 - DEBUG - Services list from nova: [, , ] 2026-04-28 14:57:07,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5704-1) 2026-04-28 14:57:08,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5704-1) 2026-04-28 14:57:08,673 - INFO - Waiting for VM ctest-TestBasicPolicy-64976671-75414273 to be up.. 2026-04-28 14:57:08,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 14:57:13,859 - DEBUG - VM is in ACTIVE state now 2026-04-28 14:57:13,859 - INFO - VM name : ctest-TestBasicPolicy-64976671-75414273 2026-04-28 14:57:13,936 - DEBUG - VM ctest-TestBasicPolicy-64976671-75414273 ID is b1b77faa-6b85-431b-8884-0a7ef2e20294 2026-04-28 14:57:13,958 - DEBUG - VM ctest-TestBasicPolicy-64976671-75414273 launched on Node cn-jenkins-deploy-platform-ansible-os-5704-1 2026-04-28 14:57:14,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b1b77faa-6b85-431b-8884-0a7ef2e20294 2026-04-28 14:57:14,049 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0f7bedaf-058c-4857-9b0e-e2449ddaa31e 2026-04-28 14:57:17,308 - 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-04-28 14:57:17,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64976671-75414273 failed! 2026-04-28 14:57:17,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64976671:ctest-vn-88341003 is 211.0.168.129 and allocation pool is NOT set 2026-04-28 14:57:19,433 - 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=9.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.743/5.664/9.585/3.921 ms') 2026-04-28 14:57:19,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64976671-75414273 passed 2026-04-28 14:57:19,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:57:19,584 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64976671-75414273, IP 211.0.168.131, Port 22 2026-04-28 14:57:19,639 - 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-28 14:57:19,717 - DEBUG - VM ctest-TestBasicPolicy-64976671-75414273 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 14:57:24,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:57:24,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64976671-75414273, IP 211.0.168.131, Port 22 2026-04-28 14:57:24,876 - DEBUG - VM ctest-TestBasicPolicy-64976671-75414273 is ready for SSH connections 2026-04-28 14:57:24,876 - INFO - Waiting for VM ctest-TestBasicPolicy-64976671-51498632 to be up.. 2026-04-28 14:57:24,948 - DEBUG - VM is in ACTIVE state now 2026-04-28 14:57:24,948 - INFO - VM name : ctest-TestBasicPolicy-64976671-51498632 2026-04-28 14:57:25,023 - DEBUG - VM ctest-TestBasicPolicy-64976671-51498632 ID is 9e89c8c9-9a69-461d-8bc2-1b0d87ad102b 2026-04-28 14:57:25,023 - DEBUG - VM ctest-TestBasicPolicy-64976671-51498632 launched on Node cn-jenkins-deploy-platform-ansible-os-5704-1 2026-04-28 14:57:25,093 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9e89c8c9-9a69-461d-8bc2-1b0d87ad102b 2026-04-28 14:57:25,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0726a7cb-a49c-43dd-bcd5-cbb364b48b16 2026-04-28 14:57:26,346 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.894/3.279/1.385 ms') 2026-04-28 14:57:26,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64976671-51498632 passed 2026-04-28 14:57:26,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:57:26,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64976671-51498632, IP 109.161.112.67, Port 22 2026-04-28 14:57:26,671 - DEBUG - VM ctest-TestBasicPolicy-64976671-51498632 is ready for SSH connections 2026-04-28 14:57:26,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:57:26,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.161.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 14:57:26,671 - DEBUG - ping -s 56 -c 3 -W 1 109.161.112.67 2026-04-28 14:57:30,700 - DEBUG - PING 109.161.112.67 (109.161.112.67): 56 data bytes 64 bytes from 109.161.112.67: seq=0 ttl=63 time=3.568 ms 64 bytes from 109.161.112.67: seq=1 ttl=63 time=0.964 ms 64 bytes from 109.161.112.67: seq=2 ttl=63 time=1.007 ms --- 109.161.112.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.846/3.568 ms 2026-04-28 14:57:30,701 - INFO - Ping to IP 109.161.112.67 from VM ctest-TestBasicPolicy-64976671-75414273 passed 2026-04-28 14:57:30,884 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c2a9891-6712-4857-8f10-7fad25a6f88b", "href": "http://10.0.0.50:8082/network-policy/4c2a9891-6712-4857-8f10-7fad25a6f88b"}} 2026-04-28 14:57:30,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:57:30,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.161.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 14:57:30,884 - DEBUG - ping -s 56 -c 3 -W 1 109.161.112.67 2026-04-28 14:57:34,114 - DEBUG - PING 109.161.112.67 (109.161.112.67): 56 data bytes --- 109.161.112.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 14:57:34,114 - WARNING - Ping to IP 109.161.112.67 from VM ctest-TestBasicPolicy-64976671-75414273 failed 2026-04-28 14:57:34,114 - INFO - Deleting VM ctest-TestBasicPolicy-64976671-51498632 2026-04-28 14:57:34,181 - INFO - Deleting VM ctest-TestBasicPolicy-64976671-75414273 2026-04-28 14:57:34,581 - INFO - Deleted policy ctest-policy-allow-all-38420949 2026-04-28 14:57:34,581 - INFO - Deleting VN ctest-vn-56691878 2026-04-28 14:57:34,619 - DEBUG - VN c25c755f-4b2b-4315-90b8-e881484e507b still in use: Unable to complete operation on network c25c755f-4b2b-4315-90b8-e881484e507b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84de55e8-7d7d-4135-bc77-d2a5c3f1c566'] 2026-04-28 14:57:34,619 - WARNING - Deleting VN ctest-vn-56691878 failed..Will retry 2026-04-28 14:57:36,717 - DEBUG - Response for deleting network () 2026-04-28 14:57:36,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24ea29bf-d472-479b-95eb-0bac32c303ca 2026-04-28 14:57:36,722 - DEBUG - Response Code: 404 2026-04-28 14:57:36,722 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:36,728 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:36,783 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:36,856 - INFO - Validated that VN ctest-vn-56691878 is not found in API Server 2026-04-28 14:57:36,865 - DEBUG - VN ctest-vn-56691878 is not present in Agent 10.0.0.50 2026-04-28 14:57:36,865 - INFO - Validated that VN ctest-vn-56691878 is not in any agent 2026-04-28 14:57:36,879 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56691878 info 2026-04-28 14:57:36,879 - INFO - Deleting VN ctest-vn-88341003 2026-04-28 14:57:36,987 - DEBUG - Response for deleting network () 2026-04-28 14:57:36,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eb6db167-525d-49d7-8d3e-fb21a2960405 2026-04-28 14:57:36,993 - DEBUG - Response Code: 404 2026-04-28 14:57:36,993 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 14:57:37,002 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b4ccab4-0a8d-4512-af6f-d7e959bacc86 2026-04-28 14:57:37,056 - DEBUG - Requesting: http://10.0.0.50:8082/project/5fb60fac-e14b-4fbf-ac30-e4963d2157b8 2026-04-28 14:57:37,125 - INFO - Validated that VN ctest-vn-88341003 is not found in API Server 2026-04-28 14:57:37,134 - DEBUG - VN ctest-vn-88341003 is not present in Agent 10.0.0.50 2026-04-28 14:57:37,134 - INFO - Validated that VN ctest-vn-88341003 is not in any agent 2026-04-28 14:57:37,150 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88341003 info 2026-04-28 14:57:37,411 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 14:57:37,411 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-04-28 14:57:37,411 - INFO - -------------------------------------------------------------------------------- 2026-04-28 14:57:38,095 - INFO - Deleted project: ctest-TestBasicPolicy-64976671, ID : 5fb60fac-e14b-4fbf-ac30-e4963d2157b8