2026-01-22 22:06:40,716 - INFO - Domain Default found not creating 2026-01-22 22:06:41,179 - INFO - Project ctest-TestBasicPolicy-68544663 not found, creating it 2026-01-22 22:06:41,979 - INFO - Created Project:ctest-TestBasicPolicy-68544663, ID : 387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:06:43,967 - INFO - ================================================================================ 2026-01-22 22:06:43,968 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 22:06:43,968 - 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-22 22:06:44,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-01-22 22:06:44,272 - INFO - Initial checks done. Running the testcase now 2026-01-22 22:06:44,272 - INFO - 2026-01-22 22:06:45,053 - DEBUG - Response for create_network : {'network': {'id': 'ecd9c4a6-0aa1-47da-809e-8485e528fd03', 'name': 'ctest-vn-89662019', 'tenant_id': '387e50c33885428686d637d939b234eb', 'project_id': '387e50c33885428686d637d939b234eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-vn-89662019'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:06:45,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '732b054e-1907-443d-bbd9-41e6ccd07857', 'name': '', 'tenant_id': '387e50c33885428686d637d939b234eb', 'network_id': 'ecd9c4a6-0aa1-47da-809e-8485e528fd03', 'ip_version': 4, 'cidr': '9.158.231.128/26', 'allocation_pools': [{'start': '9.158.231.130', 'end': '9.158.231.190'}], 'gateway_ip': '9.158.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.158.231.130', 'tags': [], 'project_id': '387e50c33885428686d637d939b234eb'}} 2026-01-22 22:06:45,270 - INFO - Created VN ctest-vn-89662019 2026-01-22 22:06:45,326 - DEBUG - VN ctest-vn-89662019 UUID is ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:45,773 - DEBUG - Response for create_network : {'network': {'id': '7a53c507-a8df-4e85-9f4e-478897e0e42d', 'name': 'ctest-vn-11623310', 'tenant_id': '387e50c33885428686d637d939b234eb', 'project_id': '387e50c33885428686d637d939b234eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-vn-11623310'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:06:45,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'effc65cd-b662-483d-84d0-b44dbca17a77', 'name': '', 'tenant_id': '387e50c33885428686d637d939b234eb', 'network_id': '7a53c507-a8df-4e85-9f4e-478897e0e42d', 'ip_version': 4, 'cidr': '154.167.96.192/26', 'allocation_pools': [{'start': '154.167.96.194', 'end': '154.167.96.254'}], 'gateway_ip': '154.167.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.167.96.194', 'tags': [], 'project_id': '387e50c33885428686d637d939b234eb'}} 2026-01-22 22:06:45,988 - INFO - Created VN ctest-vn-11623310 2026-01-22 22:06:46,042 - DEBUG - VN ctest-vn-11623310 UUID is 7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:46,225 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019, 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-68544663:ctest-vn-11623310, 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-22 22:06:46,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecd9c4a6-0aa1-47da-809e-8485e528fd03', 'name': 'ctest-vn-89662019', 'tenant_id': '387e50c33885428686d637d939b234eb', 'project_id': '387e50c33885428686d637d939b234eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['732b054e-1907-443d-bbd9-41e6ccd07857'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-vn-89662019'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-policy-allow-all-65596691']], 'subnet_ipam': [{'subnet_cidr': '9.158.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:06:46,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a53c507-a8df-4e85-9f4e-478897e0e42d', 'name': 'ctest-vn-11623310', 'tenant_id': '387e50c33885428686d637d939b234eb', 'project_id': '387e50c33885428686d637d939b234eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['effc65cd-b662-483d-84d0-b44dbca17a77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-vn-11623310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-policy-allow-all-65596691']], 'subnet_ipam': [{'subnet_cidr': '154.167.96.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:06:47,109 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:06:47,435 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:06:47,530 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:06:47,563 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:06:47,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:47,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:47,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:06:47,757 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:06:47,778 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7ada86e-9d63-4f0b-b23b-8f93930758a2 2026-01-22 22:06:47,795 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 22:06:47,795 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:47,826 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:06:47,865 - INFO - Verified VN network id 11 for VN ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:47,865 - INFO - Verifications in API Server for VN ctest-vn-89662019 passed 2026-01-22 22:06:47,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:47,888 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:06:47,905 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:06:47,922 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7ada86e-9d63-4f0b-b23b-8f93930758a2 2026-01-22 22:06:47,950 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68544663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17066888480319162330', 'uuid-lslong': '9267990793785244931'}, 'enable': 'true', 'created': '2026-01-22T22:06:45', 'last-modified': '2026-01-22T22:06:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355755'} 2026-01-22 22:06:47,962 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 22:06:47,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89662019 passed 2026-01-22 22:06:47,962 - DEBUG - ====Verifying policy data for ctest-vn-89662019 in API_Server ====== 2026-01-22 22:06:47,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:06:47,976 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:06:48,003 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:06:48,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecd9c4a6-0aa1-47da-809e-8485e528fd03 2026-01-22 22:06:48,142 - DEBUG - ==>Verifying data for policy with id: da438040-cd8e-4d35-b0b0-43a5b2f37046, fqn: ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-policy-allow-all-65596691'] 2026-01-22 22:06:48,142 - INFO - VN ctest-vn-89662019 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 22:06:48,143 - DEBUG - Verifying the vn in opserver 2026-01-22 22:06:48,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019 virtual network link through opserver 10.0.0.50 2026-01-22 22:06:48,143 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 22:06:48,493 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 22:06:48,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019?flat'} 2026-01-22 22:06:48,597 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019 is found in opserver 2026-01-22 22:06:48,614 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 22:06:48,629 - DEBUG - VRF ids for VN ctest-vn-89662019: {} 2026-01-22 22:06:48,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:06:48,638 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:06:48,656 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:06:48,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:48,774 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:48,789 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:06:48,801 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:06:48,813 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a4510bd-64d8-43b1-b884-03125572db72 2026-01-22 22:06:48,823 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 22:06:48,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:48,838 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:06:48,857 - INFO - Verified VN network id 12 for VN 7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:48,857 - INFO - Verifications in API Server for VN ctest-vn-11623310 passed 2026-01-22 22:06:48,857 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:48,873 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:06:48,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:06:48,900 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a4510bd-64d8-43b1-b884-03125572db72 2026-01-22 22:06:48,917 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-11623310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68544663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8814605532382842501', 'uuid-lslong': '11479191152203195437'}, 'enable': 'true', 'created': '2026-01-22T22:06:45', 'last-modified': '2026-01-22T22:06:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.056587'} 2026-01-22 22:06:48,925 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 22:06:48,925 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11623310 passed 2026-01-22 22:06:48,925 - DEBUG - ====Verifying policy data for ctest-vn-11623310 in API_Server ====== 2026-01-22 22:06:48,926 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:06:48,933 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:06:48,946 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:06:49,028 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7a53c507-a8df-4e85-9f4e-478897e0e42d 2026-01-22 22:06:49,039 - DEBUG - ==>Verifying data for policy with id: da438040-cd8e-4d35-b0b0-43a5b2f37046, fqn: ['default-domain', 'ctest-TestBasicPolicy-68544663', 'ctest-policy-allow-all-65596691'] 2026-01-22 22:06:49,039 - INFO - VN ctest-vn-11623310 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 22:06:49,039 - DEBUG - Verifying the vn in opserver 2026-01-22 22:06:49,040 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-11623310 virtual network link through opserver 10.0.0.50 2026-01-22 22:06:49,040 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 22:06:49,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-11623310', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-11623310?flat'} 2026-01-22 22:06:49,051 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-11623310 is found in opserver 2026-01-22 22:06:49,067 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 22:06:49,075 - DEBUG - VRF ids for VN ctest-vn-11623310: {} 2026-01-22 22:06:49,170 - DEBUG - Services list from nova: [, , ] 2026-01-22 22:06:50,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5066-1) 2026-01-22 22:06:51,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5066-1) 2026-01-22 22:06:51,840 - INFO - Waiting for VM ctest-TestBasicPolicy-68544663-08810349 to be up.. 2026-01-22 22:06:51,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 22:06:57,076 - DEBUG - VM is in ACTIVE state now 2026-01-22 22:06:57,076 - INFO - VM name : ctest-TestBasicPolicy-68544663-08810349 2026-01-22 22:06:57,241 - DEBUG - VM ctest-TestBasicPolicy-68544663-08810349 ID is 40c8de7e-00bc-4574-adf4-478dd888bf74 2026-01-22 22:06:57,276 - DEBUG - VM ctest-TestBasicPolicy-68544663-08810349 launched on Node cn-jenkins-deploy-platform-ansible-os-5066-1 2026-01-22 22:06:57,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/40c8de7e-00bc-4574-adf4-478dd888bf74 2026-01-22 22:06:57,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eeaf2557-2012-4e9c-b1e1-bffb9dc3d1ce 2026-01-22 22:07:00,694 - 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 1007ms') 2026-01-22 22:07:00,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68544663-08810349 failed! 2026-01-22 22:07:00,762 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68544663:ctest-vn-89662019 is 9.158.231.129 and allocation pool is NOT set 2026-01-22 22:07:02,839 - 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=5.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.29 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 = 5.126/5.707/6.288/0.581 ms') 2026-01-22 22:07:02,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68544663-08810349 passed 2026-01-22 22:07:03,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:07:03,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68544663-08810349, IP 9.158.231.131, Port 22 2026-01-22 22:07:03,075 - 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-22 22:07:03,167 - DEBUG - VM ctest-TestBasicPolicy-68544663-08810349 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 22:07:08,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:07:08,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68544663-08810349, IP 9.158.231.131, Port 22 2026-01-22 22:07:08,353 - DEBUG - VM ctest-TestBasicPolicy-68544663-08810349 is ready for SSH connections 2026-01-22 22:07:08,353 - INFO - Waiting for VM ctest-TestBasicPolicy-68544663-60900327 to be up.. 2026-01-22 22:07:08,538 - DEBUG - VM is in ACTIVE state now 2026-01-22 22:07:08,538 - INFO - VM name : ctest-TestBasicPolicy-68544663-60900327 2026-01-22 22:07:08,622 - DEBUG - VM ctest-TestBasicPolicy-68544663-60900327 ID is c4fd40fa-97d0-4fe7-b71c-69e8d58c4c89 2026-01-22 22:07:08,623 - DEBUG - VM ctest-TestBasicPolicy-68544663-60900327 launched on Node cn-jenkins-deploy-platform-ansible-os-5066-1 2026-01-22 22:07:08,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c4fd40fa-97d0-4fe7-b71c-69e8d58c4c89 2026-01-22 22:07:08,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/936340fb-4b52-476e-bc94-031db24b3556 2026-01-22 22:07:10,043 - 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=9.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.729 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.729/4.946/9.163/4.217 ms') 2026-01-22 22:07:10,043 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68544663-60900327 passed 2026-01-22 22:07:10,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:07:10,230 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68544663-60900327, IP 154.167.96.195, Port 22 2026-01-22 22:07:10,430 - DEBUG - VM ctest-TestBasicPolicy-68544663-60900327 is ready for SSH connections 2026-01-22 22:07:10,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:07:10,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.167.96.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-22 22:07:10,431 - DEBUG - ping -s 56 -c 3 -W 1 154.167.96.195 2026-01-22 22:07:14,771 - DEBUG - PING 154.167.96.195 (154.167.96.195): 56 data bytes 64 bytes from 154.167.96.195: seq=0 ttl=63 time=5.923 ms 64 bytes from 154.167.96.195: seq=1 ttl=63 time=1.989 ms 64 bytes from 154.167.96.195: seq=2 ttl=63 time=1.754 ms --- 154.167.96.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.754/3.222/5.923 ms 2026-01-22 22:07:14,771 - INFO - Ping to IP 154.167.96.195 from VM ctest-TestBasicPolicy-68544663-08810349 passed 2026-01-22 22:07:15,021 - DEBUG - Policy Update Response {"network-policy": {"uuid": "da438040-cd8e-4d35-b0b0-43a5b2f37046", "href": "http://10.0.0.50:8082/network-policy/da438040-cd8e-4d35-b0b0-43a5b2f37046"}} 2026-01-22 22:07:15,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:07:15,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.167.96.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-22 22:07:15,021 - DEBUG - ping -s 56 -c 3 -W 1 154.167.96.195 2026-01-22 22:07:18,294 - DEBUG - PING 154.167.96.195 (154.167.96.195): 56 data bytes --- 154.167.96.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 22:07:18,294 - WARNING - Ping to IP 154.167.96.195 from VM ctest-TestBasicPolicy-68544663-08810349 failed 2026-01-22 22:07:18,294 - INFO - Deleting VM ctest-TestBasicPolicy-68544663-60900327 2026-01-22 22:07:18,452 - INFO - Deleting VM ctest-TestBasicPolicy-68544663-08810349 2026-01-22 22:07:19,009 - INFO - Deleted policy ctest-policy-allow-all-65596691 2026-01-22 22:07:19,009 - INFO - Deleting VN ctest-vn-11623310 2026-01-22 22:07:19,047 - DEBUG - VN 7a53c507-a8df-4e85-9f4e-478897e0e42d still in use: Unable to complete operation on network 7a53c507-a8df-4e85-9f4e-478897e0e42d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea1b9b4d-2980-44f6-a4eb-0434f3e48c70'] 2026-01-22 22:07:19,047 - WARNING - Deleting VN ctest-vn-11623310 failed..Will retry 2026-01-22 22:07:21,188 - DEBUG - Response for deleting network () 2026-01-22 22:07:21,188 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e805823b-923a-4b6e-bca7-7585fb229da7 2026-01-22 22:07:21,195 - DEBUG - Response Code: 404 2026-01-22 22:07:21,196 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:07:21,201 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:07:21,256 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:07:21,341 - INFO - Validated that VN ctest-vn-11623310 is not found in API Server 2026-01-22 22:07:21,362 - DEBUG - VN ctest-vn-11623310 is not present in Agent 10.0.0.50 2026-01-22 22:07:21,362 - INFO - Validated that VN ctest-vn-11623310 is not in any agent 2026-01-22 22:07:21,386 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11623310 info 2026-01-22 22:07:21,386 - INFO - Deleting VN ctest-vn-89662019 2026-01-22 22:07:21,528 - DEBUG - Response for deleting network () 2026-01-22 22:07:21,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acc5d08b-48ca-43ca-b846-417f05319aa8 2026-01-22 22:07:21,533 - DEBUG - Response Code: 404 2026-01-22 22:07:21,533 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 22:07:21,541 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35fd34d-c78d-40e5-9dc1-4c6e4ec0e268 2026-01-22 22:07:21,596 - DEBUG - Requesting: http://10.0.0.50:8082/project/387e50c3-3885-4286-86d6-37d939b234eb 2026-01-22 22:07:21,681 - INFO - Validated that VN ctest-vn-89662019 is not found in API Server 2026-01-22 22:07:21,701 - DEBUG - VN ctest-vn-89662019 is not present in Agent 10.0.0.50 2026-01-22 22:07:21,701 - INFO - Validated that VN ctest-vn-89662019 is not in any agent 2026-01-22 22:07:21,728 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89662019 info 2026-01-22 22:07:22,025 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 22:07:22,025 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-01-22 22:07:22,026 - INFO - -------------------------------------------------------------------------------- 2026-01-22 22:07:22,802 - INFO - Deleted project: ctest-TestBasicPolicy-68544663, ID : 387e50c3-3885-4286-86d6-37d939b234eb