2026-01-30 11:17:05,083 - INFO - Domain Default found not creating 2026-01-30 11:17:05,278 - INFO - Project ctest-TestBasicPolicy-41988816 not found, creating it 2026-01-30 11:17:05,777 - INFO - Created Project:ctest-TestBasicPolicy-41988816, ID : 81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:07,269 - INFO - ================================================================================ 2026-01-30 11:17:07,269 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 11:17:07,269 - 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-30 11:17:07,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.152': {'10.20.0.17': '0'}} with 2026-01-30 11:17:07,522 - INFO - Initial checks done. Running the testcase now 2026-01-30 11:17:07,522 - INFO - 2026-01-30 11:17:08,079 - DEBUG - Response for create_network : {'network': {'id': '3c8499c3-efa5-433a-a3ba-e8439ce9cd48', 'name': 'ctest-vn-37003921', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'project_id': '81d9eaffbdec433da02384e4ee78194b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-vn-37003921'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 11:17:08,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '69f5d515-5e83-4a8f-9411-a06d1f76d102', 'name': '', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'network_id': '3c8499c3-efa5-433a-a3ba-e8439ce9cd48', 'ip_version': 4, 'cidr': '79.192.224.192/26', 'allocation_pools': [{'start': '79.192.224.194', 'end': '79.192.224.254'}], 'gateway_ip': '79.192.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.192.224.194', 'tags': [], 'project_id': '81d9eaffbdec433da02384e4ee78194b'}} 2026-01-30 11:17:08,263 - INFO - Created VN ctest-vn-37003921 2026-01-30 11:17:08,316 - DEBUG - VN ctest-vn-37003921 UUID is 3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:08,858 - DEBUG - Response for create_network : {'network': {'id': '4f043e22-29c9-4c70-a761-359e23e49a09', 'name': 'ctest-vn-12809980', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'project_id': '81d9eaffbdec433da02384e4ee78194b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-vn-12809980'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 11:17:09,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d7fdd1e-7ac3-4aec-a58f-07d83e24d1fc', 'name': '', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'network_id': '4f043e22-29c9-4c70-a761-359e23e49a09', 'ip_version': 4, 'cidr': '131.6.56.0/26', 'allocation_pools': [{'start': '131.6.56.2', 'end': '131.6.56.62'}], 'gateway_ip': '131.6.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.6.56.2', 'tags': [], 'project_id': '81d9eaffbdec433da02384e4ee78194b'}} 2026-01-30 11:17:09,201 - INFO - Created VN ctest-vn-12809980 2026-01-30 11:17:09,256 - DEBUG - VN ctest-vn-12809980 UUID is 4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:09,412 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921, 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-41988816:ctest-vn-12809980, 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-30 11:17:09,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c8499c3-efa5-433a-a3ba-e8439ce9cd48', 'name': 'ctest-vn-37003921', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'project_id': '81d9eaffbdec433da02384e4ee78194b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69f5d515-5e83-4a8f-9411-a06d1f76d102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-vn-37003921'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-policy-allow-all-78786511']], 'subnet_ipam': [{'subnet_cidr': '79.192.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 11:17:09,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f043e22-29c9-4c70-a761-359e23e49a09', 'name': 'ctest-vn-12809980', 'tenant_id': '81d9eaffbdec433da02384e4ee78194b', 'project_id': '81d9eaffbdec433da02384e4ee78194b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d7fdd1e-7ac3-4aec-a58f-07d83e24d1fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-vn-12809980'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-policy-allow-all-78786511']], 'subnet_ipam': [{'subnet_cidr': '131.6.56.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 11:17:10,113 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:10,420 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:10,449 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:10,460 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:10,530 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,540 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,548 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:10,555 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:10,561 - DEBUG - Requesting: http://10.0.0.152:8082/route-target/37857c50-3dd5-4605-b7d1-abae15386c27 2026-01-30 11:17:10,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 11:17:10,568 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,575 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:10,590 - INFO - Verified VN network id 12 for VN 3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,590 - INFO - Verifications in API Server for VN ctest-vn-37003921 passed 2026-01-30 11:17:10,590 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,599 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:10,607 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:10,613 - DEBUG - Requesting: http://10.0.0.152:8082/route-target/37857c50-3dd5-4605-b7d1-abae15386c27 2026-01-30 11:17:10,624 - DEBUG - Control-node 10.0.0.152 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41988816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4360779406019740474', 'uuid-lslong': '11797997550943456584'}, 'enable': 'true', 'created': '2026-01-30T11:17:08', 'last-modified': '2026-01-30T11:17:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943483'} 2026-01-30 11:17:10,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 11:17:10,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37003921 passed 2026-01-30 11:17:10,630 - DEBUG - ====Verifying policy data for ctest-vn-37003921 in API_Server ====== 2026-01-30 11:17:10,630 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:10,636 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:10,646 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:10,730 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/3c8499c3-efa5-433a-a3ba-e8439ce9cd48 2026-01-30 11:17:10,738 - DEBUG - ==>Verifying data for policy with id: a0aaafd5-ffb5-41df-a489-13aa418af68e, fqn: ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-policy-allow-all-78786511'] 2026-01-30 11:17:10,738 - INFO - VN ctest-vn-37003921 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 11:17:10,739 - DEBUG - Verifying the vn in opserver 2026-01-30 11:17:10,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921 virtual network link through opserver 10.0.0.152 2026-01-30 11:17:10,739 - DEBUG - Requesting: http://10.0.0.152:8081/analytics/uves/virtual-networks 2026-01-30 11:17:11,032 - DEBUG - Requesting: http://10.0.0.152:8081/analytics/uves/virtual-networks 2026-01-30 11:17:11,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921', 'href': 'http://10.0.0.152:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921?flat'} 2026-01-30 11:17:11,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921 is found in opserver 2026-01-30 11:17:11,106 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 11:17:11,111 - DEBUG - VRF ids for VN ctest-vn-37003921: {} 2026-01-30 11:17:11,111 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:11,116 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:11,126 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:11,194 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,204 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,212 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:11,219 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:11,225 - DEBUG - Requesting: http://10.0.0.152:8082/route-target/e2ee30d5-36c6-4f42-b378-6aeecc50e508 2026-01-30 11:17:11,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 11:17:11,231 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,240 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:11,252 - INFO - Verified VN network id 13 for VN 4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,253 - INFO - Verifications in API Server for VN ctest-vn-12809980 passed 2026-01-30 11:17:11,253 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,261 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:11,267 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:11,274 - DEBUG - Requesting: http://10.0.0.152:8082/route-target/e2ee30d5-36c6-4f42-b378-6aeecc50e508 2026-01-30 11:17:11,285 - DEBUG - Control-node 10.0.0.152 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-12809980', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41988816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5693744145354017904', 'uuid-lslong': '12060980230398188041'}, 'enable': 'true', 'created': '2026-01-30T11:17:08', 'last-modified': '2026-01-30T11:17:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378389'} 2026-01-30 11:17:11,291 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 11:17:11,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12809980 passed 2026-01-30 11:17:11,293 - DEBUG - ====Verifying policy data for ctest-vn-12809980 in API_Server ====== 2026-01-30 11:17:11,293 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:11,299 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:11,311 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:11,384 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-network/4f043e22-29c9-4c70-a761-359e23e49a09 2026-01-30 11:17:11,394 - DEBUG - ==>Verifying data for policy with id: a0aaafd5-ffb5-41df-a489-13aa418af68e, fqn: ['default-domain', 'ctest-TestBasicPolicy-41988816', 'ctest-policy-allow-all-78786511'] 2026-01-30 11:17:11,394 - INFO - VN ctest-vn-12809980 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 11:17:11,394 - DEBUG - Verifying the vn in opserver 2026-01-30 11:17:11,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-12809980 virtual network link through opserver 10.0.0.152 2026-01-30 11:17:11,394 - DEBUG - Requesting: http://10.0.0.152:8081/analytics/uves/virtual-networks 2026-01-30 11:17:11,403 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-12809980', 'href': 'http://10.0.0.152:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-12809980?flat'} 2026-01-30 11:17:11,403 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-12809980 is found in opserver 2026-01-30 11:17:11,414 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 11:17:11,419 - DEBUG - VRF ids for VN ctest-vn-12809980: {} 2026-01-30 11:17:11,476 - DEBUG - Services list from nova: [, , ] 2026-01-30 11:17:12,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5144-1) 2026-01-30 11:17:13,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5144-1) 2026-01-30 11:17:13,923 - INFO - Waiting for VM ctest-TestBasicPolicy-41988816-07116008 to be up.. 2026-01-30 11:17:14,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 11:17:19,114 - DEBUG - VM is in ACTIVE state now 2026-01-30 11:17:19,114 - INFO - VM name : ctest-TestBasicPolicy-41988816-07116008 2026-01-30 11:17:19,191 - DEBUG - VM ctest-TestBasicPolicy-41988816-07116008 ID is ed5f81ef-ae00-4a44-b9bd-ef8d71bc0e1b 2026-01-30 11:17:19,211 - DEBUG - VM ctest-TestBasicPolicy-41988816-07116008 launched on Node cn-jenkins-deploy-platform-ansible-os-5144-1 2026-01-30 11:17:19,286 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-machine/ed5f81ef-ae00-4a44-b9bd-ef8d71bc0e1b 2026-01-30 11:17:19,295 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-machine-interface/dcb6d2bb-ea59-413b-a475-ec1a8c2a4a14 2026-01-30 11:17:22,505 - 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 1014ms') 2026-01-30 11:17:22,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41988816-07116008 failed! 2026-01-30 11:17:22,565 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41988816:ctest-vn-37003921 is 79.192.224.193 and allocation pool is NOT set 2026-01-30 11:17:24,622 - 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=13.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.109/7.488/13.867/6.379 ms') 2026-01-30 11:17:24,622 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41988816-07116008 passed 2026-01-30 11:17:24,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 11:17:24,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41988816-07116008, IP 79.192.224.195, Port 22 2026-01-30 11:17:24,835 - 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-30 11:17:24,912 - DEBUG - VM ctest-TestBasicPolicy-41988816-07116008 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-30 11:17:29,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 11:17:29,913 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41988816-07116008, IP 79.192.224.195, Port 22 2026-01-30 11:17:30,068 - DEBUG - VM ctest-TestBasicPolicy-41988816-07116008 is ready for SSH connections 2026-01-30 11:17:30,068 - INFO - Waiting for VM ctest-TestBasicPolicy-41988816-40737389 to be up.. 2026-01-30 11:17:30,141 - DEBUG - VM is in ACTIVE state now 2026-01-30 11:17:30,141 - INFO - VM name : ctest-TestBasicPolicy-41988816-40737389 2026-01-30 11:17:30,213 - DEBUG - VM ctest-TestBasicPolicy-41988816-40737389 ID is b401a0ce-d8c7-47db-a410-9ff1c30ce7c8 2026-01-30 11:17:30,213 - DEBUG - VM ctest-TestBasicPolicy-41988816-40737389 launched on Node cn-jenkins-deploy-platform-ansible-os-5144-1 2026-01-30 11:17:30,283 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-machine/b401a0ce-d8c7-47db-a410-9ff1c30ce7c8 2026-01-30 11:17:30,292 - DEBUG - Requesting: http://10.0.0.152:8082/virtual-machine-interface/3ba7a8e8-e3ef-4869-bd0b-b6f7f99a56b0 2026-01-30 11:17:31,525 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.676/2.823/1.146 ms') 2026-01-30 11:17:31,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41988816-40737389 passed 2026-01-30 11:17:31,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 11:17:31,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41988816-40737389, IP 131.6.56.3, Port 22 2026-01-30 11:17:31,835 - DEBUG - VM ctest-TestBasicPolicy-41988816-40737389 is ready for SSH connections 2026-01-30 11:17:31,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 11:17:31,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.6.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.152, gateway password: c0ntrail123 2026-01-30 11:17:31,836 - DEBUG - ping -s 56 -c 3 -W 1 131.6.56.3 2026-01-30 11:17:35,864 - DEBUG - PING 131.6.56.3 (131.6.56.3): 56 data bytes 64 bytes from 131.6.56.3: seq=0 ttl=63 time=4.065 ms 64 bytes from 131.6.56.3: seq=1 ttl=63 time=0.986 ms 64 bytes from 131.6.56.3: seq=2 ttl=63 time=0.823 ms --- 131.6.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.958/4.065 ms 2026-01-30 11:17:35,864 - INFO - Ping to IP 131.6.56.3 from VM ctest-TestBasicPolicy-41988816-07116008 passed 2026-01-30 11:17:36,044 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0aaafd5-ffb5-41df-a489-13aa418af68e", "href": "http://10.0.0.152:8082/network-policy/a0aaafd5-ffb5-41df-a489-13aa418af68e"}} 2026-01-30 11:17:36,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 11:17:36,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.6.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.152, gateway password: c0ntrail123 2026-01-30 11:17:36,045 - DEBUG - ping -s 56 -c 3 -W 1 131.6.56.3 2026-01-30 11:17:39,247 - DEBUG - PING 131.6.56.3 (131.6.56.3): 56 data bytes --- 131.6.56.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 11:17:39,248 - WARNING - Ping to IP 131.6.56.3 from VM ctest-TestBasicPolicy-41988816-07116008 failed 2026-01-30 11:17:39,248 - INFO - Deleting VM ctest-TestBasicPolicy-41988816-40737389 2026-01-30 11:17:39,318 - INFO - Deleting VM ctest-TestBasicPolicy-41988816-07116008 2026-01-30 11:17:39,756 - INFO - Deleted policy ctest-policy-allow-all-78786511 2026-01-30 11:17:39,756 - INFO - Deleting VN ctest-vn-12809980 2026-01-30 11:17:39,791 - DEBUG - VN 4f043e22-29c9-4c70-a761-359e23e49a09 still in use: Unable to complete operation on network 4f043e22-29c9-4c70-a761-359e23e49a09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b848f624-beab-4c68-9003-8f0c036e605c'] 2026-01-30 11:17:39,791 - WARNING - Deleting VN ctest-vn-12809980 failed..Will retry 2026-01-30 11:17:41,882 - DEBUG - Response for deleting network () 2026-01-30 11:17:41,882 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5b486aa3-df67-4e03-92e8-652681cc3080 2026-01-30 11:17:41,889 - DEBUG - Response Code: 404 2026-01-30 11:17:41,889 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:41,896 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:41,949 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:42,021 - INFO - Validated that VN ctest-vn-12809980 is not found in API Server 2026-01-30 11:17:42,030 - DEBUG - VN ctest-vn-12809980 is not present in Agent 10.0.0.152 2026-01-30 11:17:42,030 - INFO - Validated that VN ctest-vn-12809980 is not in any agent 2026-01-30 11:17:42,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12809980 info 2026-01-30 11:17:42,047 - INFO - Deleting VN ctest-vn-37003921 2026-01-30 11:17:42,150 - DEBUG - Response for deleting network () 2026-01-30 11:17:42,150 - DEBUG - Requesting: http://10.0.0.152:8082/routing-instance/5e8363cb-7760-442c-9d38-0918ccac7874 2026-01-30 11:17:42,156 - DEBUG - Response Code: 404 2026-01-30 11:17:42,156 - DEBUG - Requesting: http://10.0.0.152:8082/domains 2026-01-30 11:17:42,162 - DEBUG - Requesting: http://10.0.0.152:8082/domain/17af5ad7-091d-4686-b5b9-c1b22be15218 2026-01-30 11:17:42,213 - DEBUG - Requesting: http://10.0.0.152:8082/project/81d9eaff-bdec-433d-a023-84e4ee78194b 2026-01-30 11:17:42,281 - INFO - Validated that VN ctest-vn-37003921 is not found in API Server 2026-01-30 11:17:42,292 - DEBUG - VN ctest-vn-37003921 is not present in Agent 10.0.0.152 2026-01-30 11:17:42,292 - INFO - Validated that VN ctest-vn-37003921 is not in any agent 2026-01-30 11:17:42,308 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37003921 info 2026-01-30 11:17:42,574 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 11:17:42,574 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-30 11:17:42,574 - INFO - -------------------------------------------------------------------------------- 2026-01-30 11:17:43,267 - INFO - Deleted project: ctest-TestBasicPolicy-41988816, ID : 81d9eaff-bdec-433d-a023-84e4ee78194b