2026-03-09 02:16:54,167 - INFO - Domain Default found not creating 2026-03-09 02:16:54,358 - INFO - Project ctest-TestBasicPolicy-30133939 not found, creating it 2026-03-09 02:16:54,809 - INFO - Created Project:ctest-TestBasicPolicy-30133939, ID : 3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:16:56,402 - INFO - ================================================================================ 2026-03-09 02:16:56,402 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-09 02:16:56,402 - 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-03-09 02:16:56,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.200': '0'}} with 2026-03-09 02:16:56,663 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:16:56,663 - INFO - 2026-03-09 02:16:57,259 - DEBUG - Response for create_network : {'network': {'id': 'bc7cf1e0-eb38-488c-92be-5dc611e2fe50', 'name': 'ctest-vn-97997454', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-vn-97997454'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:57,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d5fd76e-b482-428d-bd8e-d7e17980564c', 'name': '', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'network_id': 'bc7cf1e0-eb38-488c-92be-5dc611e2fe50', 'ip_version': 4, 'cidr': '213.66.0.128/26', 'allocation_pools': [{'start': '213.66.0.130', 'end': '213.66.0.190'}], 'gateway_ip': '213.66.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.66.0.130', 'tags': [], 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a'}} 2026-03-09 02:16:57,524 - INFO - Created VN ctest-vn-97997454 2026-03-09 02:16:57,580 - DEBUG - VN ctest-vn-97997454 UUID is bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:57,870 - DEBUG - Response for create_network : {'network': {'id': '5ba7c3ce-34d6-4254-92a2-3c181feea97f', 'name': 'ctest-vn-81290627', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-vn-81290627'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:58,040 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acfd3852-39ba-45fd-ad65-26dfbb779bdd', 'name': '', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'network_id': '5ba7c3ce-34d6-4254-92a2-3c181feea97f', 'ip_version': 4, 'cidr': '11.70.218.64/26', 'allocation_pools': [{'start': '11.70.218.66', 'end': '11.70.218.126'}], 'gateway_ip': '11.70.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.70.218.66', 'tags': [], 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a'}} 2026-03-09 02:16:58,061 - INFO - Created VN ctest-vn-81290627 2026-03-09 02:16:58,112 - DEBUG - VN ctest-vn-81290627 UUID is 5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:16:58,237 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454, 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-30133939:ctest-vn-81290627, 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-03-09 02:16:58,578 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc7cf1e0-eb38-488c-92be-5dc611e2fe50', 'name': 'ctest-vn-97997454', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d5fd76e-b482-428d-bd8e-d7e17980564c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-vn-97997454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-policy-allow-all-33674916']], 'subnet_ipam': [{'subnet_cidr': '213.66.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:58,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ba7c3ce-34d6-4254-92a2-3c181feea97f', 'name': 'ctest-vn-81290627', 'tenant_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'project_id': '3ec7ccf62fde43a1b1971b759dc6b59a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acfd3852-39ba-45fd-ad65-26dfbb779bdd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-vn-81290627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-policy-allow-all-33674916']], 'subnet_ipam': [{'subnet_cidr': '11.70.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:58,996 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:16:59,321 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:16:59,360 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:16:59,372 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:16:59,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,482 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,493 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:16:59,500 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:16:59,508 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/22966113-f650-49ee-86ea-22d69cc9733a 2026-03-09 02:16:59,516 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:16:59,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:16:59,541 - INFO - Verified VN network id 11 for VN bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,541 - INFO - Verifications in API Server for VN ctest-vn-97997454 passed 2026-03-09 02:16:59,541 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,550 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:16:59,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:16:59,564 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/22966113-f650-49ee-86ea-22d69cc9733a 2026-03-09 02:16:59,577 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30133939', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13581996524563875980', 'uuid-lslong': '10573992080397499984'}, 'enable': 'true', 'created': '2026-03-09T02:16:57', 'last-modified': '2026-03-09T02:16:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040157'} 2026-03-09 02:16:59,584 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:16:59,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97997454 passed 2026-03-09 02:16:59,585 - DEBUG - ====Verifying policy data for ctest-vn-97997454 in API_Server ====== 2026-03-09 02:16:59,585 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:16:59,591 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:16:59,602 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:16:59,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc7cf1e0-eb38-488c-92be-5dc611e2fe50 2026-03-09 02:16:59,685 - DEBUG - ==>Verifying data for policy with id: 812ac3ef-c43d-4221-aca5-c5c0a340fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-policy-allow-all-33674916'] 2026-03-09 02:16:59,685 - INFO - VN ctest-vn-97997454 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:16:59,685 - DEBUG - Verifying the vn in opserver 2026-03-09 02:16:59,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454 virtual network link through opserver 10.0.0.50 2026-03-09 02:16:59,685 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-09 02:17:00,011 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-09 02:17:00,093 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454?flat'} 2026-03-09 02:17:00,093 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454 is found in opserver 2026-03-09 02:17:00,103 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:17:00,107 - DEBUG - VRF ids for VN ctest-vn-97997454: {} 2026-03-09 02:17:00,108 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:17:00,114 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:17:00,127 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:17:00,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:00,240 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:00,248 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b02195f-2c31-4096-af31-f88ac8d3acc2 2026-03-09 02:17:00,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:17:00,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:00,285 - INFO - Verified VN network id 12 for VN 5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,286 - INFO - Verifications in API Server for VN ctest-vn-81290627 passed 2026-03-09 02:17:00,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,298 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:00,308 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:00,316 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b02195f-2c31-4096-af31-f88ac8d3acc2 2026-03-09 02:17:00,329 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-81290627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30133939', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6604462668979257940', 'uuid-lslong': '10566073750077221247'}, 'enable': 'true', 'created': '2026-03-09T02:16:57', 'last-modified': '2026-03-09T02:16:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534900'} 2026-03-09 02:17:00,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:17:00,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81290627 passed 2026-03-09 02:17:00,335 - DEBUG - ====Verifying policy data for ctest-vn-81290627 in API_Server ====== 2026-03-09 02:17:00,335 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:17:00,342 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:17:00,354 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:17:00,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ba7c3ce-34d6-4254-92a2-3c181feea97f 2026-03-09 02:17:00,441 - DEBUG - ==>Verifying data for policy with id: 812ac3ef-c43d-4221-aca5-c5c0a340fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-30133939', 'ctest-policy-allow-all-33674916'] 2026-03-09 02:17:00,441 - INFO - VN ctest-vn-81290627 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:17:00,442 - DEBUG - Verifying the vn in opserver 2026-03-09 02:17:00,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-81290627 virtual network link through opserver 10.0.0.50 2026-03-09 02:17:00,442 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-09 02:17:00,452 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-81290627', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-81290627?flat'} 2026-03-09 02:17:00,452 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-81290627 is found in opserver 2026-03-09 02:17:00,462 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:17:00,468 - DEBUG - VRF ids for VN ctest-vn-81290627: {} 2026-03-09 02:17:00,544 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:17:01,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5453-1) 2026-03-09 02:17:02,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5453-1) 2026-03-09 02:17:02,966 - INFO - Waiting for VM ctest-TestBasicPolicy-30133939-33060054 to be up.. 2026-03-09 02:17:03,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:17:08,154 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:17:08,154 - INFO - VM name : ctest-TestBasicPolicy-30133939-33060054 2026-03-09 02:17:08,240 - DEBUG - VM ctest-TestBasicPolicy-30133939-33060054 ID is fee69b48-b39f-4719-b73b-09e2b9477a8a 2026-03-09 02:17:08,262 - DEBUG - VM ctest-TestBasicPolicy-30133939-33060054 launched on Node cn-jenkins-deploy-platform-ansible-os-5453-1 2026-03-09 02:17:08,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fee69b48-b39f-4719-b73b-09e2b9477a8a 2026-03-09 02:17:08,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f4571253-7ddb-4ae0-91fc-d9b0f63619f0 2026-03-09 02:17:11,627 - 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 1013ms') 2026-03-09 02:17:11,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30133939-33060054 failed! 2026-03-09 02:17:11,684 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30133939:ctest-vn-97997454 is 213.66.0.129 and allocation pool is NOT set 2026-03-09 02:17:13,747 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.02 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 = 4.017/8.370/12.723/4.353 ms') 2026-03-09 02:17:13,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30133939-33060054 passed 2026-03-09 02:17:13,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:17:13,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30133939-33060054, IP 213.66.0.131, Port 22 2026-03-09 02:17:13,956 - 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-03-09 02:17:14,046 - DEBUG - VM ctest-TestBasicPolicy-30133939-33060054 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 02:17:19,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:17:19,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30133939-33060054, IP 213.66.0.131, Port 22 2026-03-09 02:17:19,214 - DEBUG - VM ctest-TestBasicPolicy-30133939-33060054 is ready for SSH connections 2026-03-09 02:17:19,214 - INFO - Waiting for VM ctest-TestBasicPolicy-30133939-40203813 to be up.. 2026-03-09 02:17:19,298 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:17:19,298 - INFO - VM name : ctest-TestBasicPolicy-30133939-40203813 2026-03-09 02:17:19,375 - DEBUG - VM ctest-TestBasicPolicy-30133939-40203813 ID is 1cd8ace0-eec0-4684-a1d2-1f756a09f565 2026-03-09 02:17:19,376 - DEBUG - VM ctest-TestBasicPolicy-30133939-40203813 launched on Node cn-jenkins-deploy-platform-ansible-os-5453-1 2026-03-09 02:17:19,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1cd8ace0-eec0-4684-a1d2-1f756a09f565 2026-03-09 02:17:19,478 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/56408a15-4e1c-4332-bd64-31d0a1976d46 2026-03-09 02:17:20,729 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.795/3.142/1.346 ms') 2026-03-09 02:17:20,730 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30133939-40203813 passed 2026-03-09 02:17:20,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:17:20,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30133939-40203813, IP 11.70.218.67, Port 22 2026-03-09 02:17:21,050 - DEBUG - VM ctest-TestBasicPolicy-30133939-40203813 is ready for SSH connections 2026-03-09 02:17:21,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:17:21,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.70.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-09 02:17:21,051 - DEBUG - ping -s 56 -c 3 -W 1 11.70.218.67 2026-03-09 02:17:25,154 - DEBUG - PING 11.70.218.67 (11.70.218.67): 56 data bytes 64 bytes from 11.70.218.67: seq=0 ttl=63 time=3.794 ms 64 bytes from 11.70.218.67: seq=1 ttl=63 time=1.492 ms 64 bytes from 11.70.218.67: seq=2 ttl=63 time=0.918 ms --- 11.70.218.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.068/3.794 ms 2026-03-09 02:17:25,154 - INFO - Ping to IP 11.70.218.67 from VM ctest-TestBasicPolicy-30133939-33060054 passed 2026-03-09 02:17:25,344 - DEBUG - Policy Update Response {"network-policy": {"uuid": "812ac3ef-c43d-4221-aca5-c5c0a340fd04", "href": "http://10.0.0.50:8082/network-policy/812ac3ef-c43d-4221-aca5-c5c0a340fd04"}} 2026-03-09 02:17:25,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:17:25,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.70.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-09 02:17:25,344 - DEBUG - ping -s 56 -c 3 -W 1 11.70.218.67 2026-03-09 02:17:28,580 - DEBUG - PING 11.70.218.67 (11.70.218.67): 56 data bytes --- 11.70.218.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-09 02:17:28,580 - WARNING - Ping to IP 11.70.218.67 from VM ctest-TestBasicPolicy-30133939-33060054 failed 2026-03-09 02:17:28,581 - INFO - Deleting VM ctest-TestBasicPolicy-30133939-40203813 2026-03-09 02:17:28,661 - INFO - Deleting VM ctest-TestBasicPolicy-30133939-33060054 2026-03-09 02:17:29,112 - INFO - Deleted policy ctest-policy-allow-all-33674916 2026-03-09 02:17:29,112 - INFO - Deleting VN ctest-vn-81290627 2026-03-09 02:17:29,154 - DEBUG - VN 5ba7c3ce-34d6-4254-92a2-3c181feea97f still in use: Unable to complete operation on network 5ba7c3ce-34d6-4254-92a2-3c181feea97f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a2684aa-a94d-4b65-a8e6-debae03e5a0c'] 2026-03-09 02:17:29,154 - WARNING - Deleting VN ctest-vn-81290627 failed..Will retry 2026-03-09 02:17:31,249 - DEBUG - Response for deleting network () 2026-03-09 02:17:31,250 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e2e2504d-11a3-4509-8303-e383a6eb521b 2026-03-09 02:17:31,254 - DEBUG - Response Code: 404 2026-03-09 02:17:31,254 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:17:31,260 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:17:31,314 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:17:31,386 - INFO - Validated that VN ctest-vn-81290627 is not found in API Server 2026-03-09 02:17:31,396 - DEBUG - VN ctest-vn-81290627 is not present in Agent 10.0.0.50 2026-03-09 02:17:31,397 - INFO - Validated that VN ctest-vn-81290627 is not in any agent 2026-03-09 02:17:31,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81290627 info 2026-03-09 02:17:31,411 - INFO - Deleting VN ctest-vn-97997454 2026-03-09 02:17:31,514 - DEBUG - Response for deleting network () 2026-03-09 02:17:31,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ea9c732c-542e-4893-b149-38f726d1f185 2026-03-09 02:17:31,519 - DEBUG - Response Code: 404 2026-03-09 02:17:31,519 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-09 02:17:31,525 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ddb4372-a024-4703-88eb-08a893e74ef8 2026-03-09 02:17:31,578 - DEBUG - Requesting: http://10.0.0.50:8082/project/3ec7ccf6-2fde-43a1-b197-1b759dc6b59a 2026-03-09 02:17:31,652 - INFO - Validated that VN ctest-vn-97997454 is not found in API Server 2026-03-09 02:17:31,661 - DEBUG - VN ctest-vn-97997454 is not present in Agent 10.0.0.50 2026-03-09 02:17:31,661 - INFO - Validated that VN ctest-vn-97997454 is not in any agent 2026-03-09 02:17:31,674 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97997454 info 2026-03-09 02:17:31,937 - DEBUG - No XMPP flaps were noticed during the test 2026-03-09 02:17:31,937 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-09 02:17:31,937 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:17:32,654 - INFO - Deleted project: ctest-TestBasicPolicy-30133939, ID : 3ec7ccf6-2fde-43a1-b197-1b759dc6b59a