2026-01-19 14:53:41,694 - INFO - Domain Default found not creating 2026-01-19 14:53:41,891 - INFO - Project ctest-TestBasicPolicy-54652568 not found, creating it 2026-01-19 14:53:42,355 - INFO - Created Project:ctest-TestBasicPolicy-54652568, ID : d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:53:43,833 - INFO - ================================================================================ 2026-01-19 14:53:43,833 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-19 14:53:43,834 - 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-19 14:53:44,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-19 14:53:44,086 - INFO - Initial checks done. Running the testcase now 2026-01-19 14:53:44,086 - INFO - 2026-01-19 14:53:44,658 - DEBUG - Response for create_network : {'network': {'id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'name': 'ctest-vn-07292736', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-07292736'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:44,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '255623ac-8fd6-4580-92c1-82df77991320', 'name': '', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'network_id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'ip_version': 4, 'cidr': '124.199.173.0/26', 'allocation_pools': [{'start': '124.199.173.2', 'end': '124.199.173.62'}], 'gateway_ip': '124.199.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.199.173.2', 'tags': [], 'project_id': 'd93b721be13b4013b86cb984de8b948b'}} 2026-01-19 14:53:44,899 - INFO - Created VN ctest-vn-07292736 2026-01-19 14:53:44,952 - DEBUG - VN ctest-vn-07292736 UUID is dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:45,269 - DEBUG - Response for create_network : {'network': {'id': '047849b4-408c-4a2a-9c81-16358846068e', 'name': 'ctest-vn-83058972', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-83058972'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:45,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '843fb3e5-baf9-4413-9591-854b13f2034b', 'name': '', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'network_id': '047849b4-408c-4a2a-9c81-16358846068e', 'ip_version': 4, 'cidr': '49.252.109.192/26', 'allocation_pools': [{'start': '49.252.109.194', 'end': '49.252.109.254'}], 'gateway_ip': '49.252.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.252.109.194', 'tags': [], 'project_id': 'd93b721be13b4013b86cb984de8b948b'}} 2026-01-19 14:53:45,478 - INFO - Created VN ctest-vn-83058972 2026-01-19 14:53:45,528 - DEBUG - VN ctest-vn-83058972 UUID is 047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:45,680 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736, 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-54652568:ctest-vn-83058972, 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-19 14:53:45,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'name': 'ctest-vn-07292736', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['255623ac-8fd6-4580-92c1-82df77991320'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-07292736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']], 'subnet_ipam': [{'subnet_cidr': '124.199.173.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:46,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '047849b4-408c-4a2a-9c81-16358846068e', 'name': 'ctest-vn-83058972', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843fb3e5-baf9-4413-9591-854b13f2034b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-83058972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']], 'subnet_ipam': [{'subnet_cidr': '49.252.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:46,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:53:46,650 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:53:46,687 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:53:46,699 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:53:46,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:53:46,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:53:46,807 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76a73ceb-7c62-40a2-b02c-b034c30694a7 2026-01-19 14:53:46,813 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 14:53:46,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,822 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:53:46,835 - INFO - Verified VN network id 11 for VN dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,836 - INFO - Verifications in API Server for VN ctest-vn-07292736 passed 2026-01-19 14:53:46,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:53:46,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:53:46,861 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76a73ceb-7c62-40a2-b02c-b034c30694a7 2026-01-19 14:53:46,872 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54652568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15923164163084996023', 'uuid-lslong': '9619518639747653189'}, 'enable': 'true', 'created': '2026-01-19T14:53:44', 'last-modified': '2026-01-19T14:53:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929274'} 2026-01-19 14:53:46,878 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 14:53:46,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07292736 passed 2026-01-19 14:53:46,878 - DEBUG - ====Verifying policy data for ctest-vn-07292736 in API_Server ====== 2026-01-19 14:53:46,878 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:53:46,885 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:53:46,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:53:46,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45 2026-01-19 14:53:46,988 - DEBUG - ==>Verifying data for policy with id: e806fcca-30d6-49c9-8d52-023ff375e851, fqn: ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453'] 2026-01-19 14:53:46,988 - INFO - VN ctest-vn-07292736 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 14:53:46,989 - DEBUG - Verifying the vn in opserver 2026-01-19 14:53:46,989 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736 virtual network link through opserver 10.0.0.38 2026-01-19 14:53:46,989 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-19 14:53:47,285 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-19 14:53:47,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736?flat'} 2026-01-19 14:53:47,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736 is found in opserver 2026-01-19 14:53:47,359 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 14:53:47,364 - DEBUG - VRF ids for VN ctest-vn-07292736: {} 2026-01-19 14:53:47,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:53:47,370 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:53:47,380 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:53:47,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,461 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,469 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:53:47,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:53:47,483 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e50dde43-c7e8-49f3-bb4c-c2029817f643 2026-01-19 14:53:47,490 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 14:53:47,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,499 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:53:47,512 - INFO - Verified VN network id 12 for VN 047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,512 - INFO - Verifications in API Server for VN ctest-vn-83058972 passed 2026-01-19 14:53:47,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,521 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:53:47,527 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:53:47,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e50dde43-c7e8-49f3-bb4c-c2029817f643 2026-01-19 14:53:47,545 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54652568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '322088411882867242', 'uuid-lslong': '11277319361087800974'}, 'enable': 'true', 'created': '2026-01-19T14:53:45', 'last-modified': '2026-01-19T14:53:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384466'} 2026-01-19 14:53:47,552 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 14:53:47,552 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83058972 passed 2026-01-19 14:53:47,552 - DEBUG - ====Verifying policy data for ctest-vn-83058972 in API_Server ====== 2026-01-19 14:53:47,552 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:53:47,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:53:47,570 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:53:47,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e 2026-01-19 14:53:47,653 - DEBUG - ==>Verifying data for policy with id: e806fcca-30d6-49c9-8d52-023ff375e851, fqn: ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453'] 2026-01-19 14:53:47,653 - INFO - VN ctest-vn-83058972 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 14:53:47,653 - DEBUG - Verifying the vn in opserver 2026-01-19 14:53:47,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972 virtual network link through opserver 10.0.0.38 2026-01-19 14:53:47,653 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-19 14:53:47,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972?flat'} 2026-01-19 14:53:47,663 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972 is found in opserver 2026-01-19 14:53:47,672 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 14:53:47,677 - DEBUG - VRF ids for VN ctest-vn-83058972: {} 2026-01-19 14:53:47,734 - DEBUG - Services list from nova: [, , ] 2026-01-19 14:53:48,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5046-1) 2026-01-19 14:53:49,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5046-1) 2026-01-19 14:53:49,902 - INFO - Waiting for VM ctest-TestBasicPolicy-54652568-77950997 to be up.. 2026-01-19 14:53:49,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 14:53:55,061 - DEBUG - VM is in ACTIVE state now 2026-01-19 14:53:55,061 - INFO - VM name : ctest-TestBasicPolicy-54652568-77950997 2026-01-19 14:53:55,143 - DEBUG - VM ctest-TestBasicPolicy-54652568-77950997 ID is 33221fd1-669f-4b10-bced-9557263ded88 2026-01-19 14:53:55,163 - DEBUG - VM ctest-TestBasicPolicy-54652568-77950997 launched on Node cn-jenkins-deploy-platform-ansible-os-5046-1 2026-01-19 14:53:55,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33221fd1-669f-4b10-bced-9557263ded88 2026-01-19 14:53:55,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f25486c6-3ee1-413c-a361-e90c5b66898e 2026-01-19 14:53:58,515 - 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 1010ms') 2026-01-19 14:53:58,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54652568-77950997 failed! 2026-01-19 14:53:58,569 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736 is 124.199.173.1 and allocation pool is NOT set 2026-01-19 14:54:00,632 - 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=8.57 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 1001ms\r\nrtt min/avg/max/mdev = 1.744/5.155/8.566/3.411 ms') 2026-01-19 14:54:00,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54652568-77950997 passed 2026-01-19 14:54:00,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:54:00,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54652568-77950997, IP 124.199.173.3, Port 22 2026-01-19 14:54:00,850 - 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-19 14:54:00,926 - DEBUG - VM ctest-TestBasicPolicy-54652568-77950997 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-19 14:54:05,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:54:05,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54652568-77950997, IP 124.199.173.3, Port 22 2026-01-19 14:54:06,088 - DEBUG - VM ctest-TestBasicPolicy-54652568-77950997 is ready for SSH connections 2026-01-19 14:54:06,088 - INFO - Waiting for VM ctest-TestBasicPolicy-54652568-06550513 to be up.. 2026-01-19 14:54:06,170 - DEBUG - VM is in ACTIVE state now 2026-01-19 14:54:06,170 - INFO - VM name : ctest-TestBasicPolicy-54652568-06550513 2026-01-19 14:54:06,249 - DEBUG - VM ctest-TestBasicPolicy-54652568-06550513 ID is 8b1a38dc-12c0-4644-ae8b-0dbe44eb818a 2026-01-19 14:54:06,249 - DEBUG - VM ctest-TestBasicPolicy-54652568-06550513 launched on Node cn-jenkins-deploy-platform-ansible-os-5046-1 2026-01-19 14:54:06,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b1a38dc-12c0-4644-ae8b-0dbe44eb818a 2026-01-19 14:54:06,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ab284f1e-67c7-4fdb-97a0-07aec3eaee5d 2026-01-19 14:54:07,559 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.466/1.691/2.917/1.225 ms') 2026-01-19 14:54:07,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54652568-06550513 passed 2026-01-19 14:54:07,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:54:07,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54652568-06550513, IP 49.252.109.195, Port 22 2026-01-19 14:54:07,868 - DEBUG - VM ctest-TestBasicPolicy-54652568-06550513 is ready for SSH connections 2026-01-19 14:54:07,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:54:07,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.252.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-19 14:54:07,869 - DEBUG - ping -s 56 -c 3 -W 1 49.252.109.195 2026-01-19 14:54:11,862 - DEBUG - PING 49.252.109.195 (49.252.109.195): 56 data bytes 64 bytes from 49.252.109.195: seq=0 ttl=63 time=3.453 ms 64 bytes from 49.252.109.195: seq=1 ttl=63 time=0.770 ms 64 bytes from 49.252.109.195: seq=2 ttl=63 time=0.936 ms --- 49.252.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.719/3.453 ms 2026-01-19 14:54:11,862 - INFO - Ping to IP 49.252.109.195 from VM ctest-TestBasicPolicy-54652568-77950997 passed 2026-01-19 14:54:12,040 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e806fcca-30d6-49c9-8d52-023ff375e851", "href": "http://10.0.0.38:8082/network-policy/e806fcca-30d6-49c9-8d52-023ff375e851"}} 2026-01-19 14:54:12,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:54:12,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.252.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-19 14:54:12,040 - DEBUG - ping -s 56 -c 3 -W 1 49.252.109.195 2026-01-19 14:54:15,252 - DEBUG - PING 49.252.109.195 (49.252.109.195): 56 data bytes --- 49.252.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-19 14:54:15,252 - WARNING - Ping to IP 49.252.109.195 from VM ctest-TestBasicPolicy-54652568-77950997 failed 2026-01-19 14:54:15,252 - INFO - Deleting VM ctest-TestBasicPolicy-54652568-06550513 2026-01-19 14:54:15,335 - INFO - Deleting VM ctest-TestBasicPolicy-54652568-77950997 2026-01-19 14:54:15,763 - INFO - Deleted policy ctest-policy-allow-all-99059453 2026-01-19 14:54:15,763 - INFO - Deleting VN ctest-vn-83058972 2026-01-19 14:54:15,811 - DEBUG - VN 047849b4-408c-4a2a-9c81-16358846068e still in use: Unable to complete operation on network 047849b4-408c-4a2a-9c81-16358846068e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c9f790a-9d9c-45a6-9c80-6ec3414c3aea'] 2026-01-19 14:54:15,812 - WARNING - Deleting VN ctest-vn-83058972 failed..Will retry 2026-01-19 14:54:17,907 - DEBUG - Response for deleting network () 2026-01-19 14:54:17,907 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8 2026-01-19 14:54:17,918 - DEBUG - Response Code: 404 2026-01-19 14:54:17,918 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:54:17,930 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:54:17,981 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:54:18,053 - INFO - Validated that VN ctest-vn-83058972 is not found in API Server 2026-01-19 14:54:18,061 - DEBUG - VN ctest-vn-83058972 is not present in Agent 10.0.0.38 2026-01-19 14:54:18,061 - INFO - Validated that VN ctest-vn-83058972 is not in any agent 2026-01-19 14:54:18,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83058972 info 2026-01-19 14:54:18,074 - INFO - Deleting VN ctest-vn-07292736 2026-01-19 14:54:18,166 - DEBUG - Response for deleting network () 2026-01-19 14:54:18,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e 2026-01-19 14:54:18,171 - DEBUG - Response Code: 404 2026-01-19 14:54:18,171 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-19 14:54:18,176 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564 2026-01-19 14:54:18,229 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b 2026-01-19 14:54:18,298 - INFO - Validated that VN ctest-vn-07292736 is not found in API Server 2026-01-19 14:54:18,307 - DEBUG - VN ctest-vn-07292736 is not present in Agent 10.0.0.38 2026-01-19 14:54:18,307 - INFO - Validated that VN ctest-vn-07292736 is not in any agent 2026-01-19 14:54:18,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07292736 info 2026-01-19 14:54:18,573 - DEBUG - No XMPP flaps were noticed during the test 2026-01-19 14:54:18,573 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-19 14:54:18,574 - INFO - -------------------------------------------------------------------------------- 2026-01-19 14:54:19,250 - INFO - Deleted project: ctest-TestBasicPolicy-54652568, ID : d93b721b-e13b-4013-b86c-b984de8b948b