2026-09-10 09:22:56,760 - INFO - Domain Default found not creating 2026-09-10 09:22:56,944 - INFO - Project ctest-TestBasicPolicy-15020023 not found, creating it 2026-09-10 09:22:57,457 - INFO - Created Project:ctest-TestBasicPolicy-15020023, ID : caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:22:59,270 - INFO - ================================================================================ 2026-09-10 09:22:59,271 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-10 09:22:59,271 - 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-09-10 09:22:59,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-09-10 09:22:59,545 - INFO - Initial checks done. Running the testcase now 2026-09-10 09:22:59,545 - INFO - 2026-09-10 09:23:00,654 - DEBUG - Response for create_network : {'network': {'id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'name': 'ctest-vn-97422958', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-97422958'], 'port_security_enabled': True, 'description': ''}} 2026-09-10 09:23:00,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b06995bd-54e7-4cc8-9b5a-152bb39ac8cf', 'name': '', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'network_id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'ip_version': 4, 'cidr': '160.245.48.64/26', 'allocation_pools': [{'start': '160.245.48.66', 'end': '160.245.48.126'}], 'gateway_ip': '160.245.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.245.48.66', 'tags': [], 'project_id': 'caa2054546c8429092e1b7a83a93bb8b'}} 2026-09-10 09:23:00,900 - INFO - Created VN ctest-vn-97422958 2026-09-10 09:23:00,955 - DEBUG - VN ctest-vn-97422958 UUID is 2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:01,323 - DEBUG - Response for create_network : {'network': {'id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'name': 'ctest-vn-92871289', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-92871289'], 'port_security_enabled': True, 'description': ''}} 2026-09-10 09:23:01,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f264f5-d071-403c-a90e-beb6e5d6709e', 'name': '', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'network_id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'ip_version': 4, 'cidr': '28.106.175.0/26', 'allocation_pools': [{'start': '28.106.175.2', 'end': '28.106.175.62'}], 'gateway_ip': '28.106.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.106.175.2', 'tags': [], 'project_id': 'caa2054546c8429092e1b7a83a93bb8b'}} 2026-09-10 09:23:01,594 - INFO - Created VN ctest-vn-92871289 2026-09-10 09:23:01,651 - DEBUG - VN ctest-vn-92871289 UUID is 08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:01,772 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958, 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-15020023:ctest-vn-92871289, 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-09-10 09:23:02,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'name': 'ctest-vn-97422958', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b06995bd-54e7-4cc8-9b5a-152bb39ac8cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-97422958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']], 'subnet_ipam': [{'subnet_cidr': '160.245.48.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-10 09:23:02,365 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'name': 'ctest-vn-92871289', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f6f264f5-d071-403c-a90e-beb6e5d6709e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-92871289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']], 'subnet_ipam': [{'subnet_cidr': '28.106.175.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-10 09:23:02,535 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:23:02,923 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:23:02,957 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:23:02,972 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:23:03,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:23:03,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:23:03,110 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f04dfde5-8e25-4d87-b915-5ecbcced19c6 2026-09-10 09:23:03,120 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-10 09:23:03,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:23:03,150 - INFO - Verified VN network id 11 for VN 2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,150 - INFO - Verifications in API Server for VN ctest-vn-97422958 passed 2026-09-10 09:23:03,150 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:23:03,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:23:03,185 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f04dfde5-8e25-4d87-b915-5ecbcced19c6 2026-09-10 09:23:03,201 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15020023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3445302970961186528', 'uuid-lslong': '10503456332845255021'}, 'enable': 'true', 'created': '2026-09-10T09:23:00', 'last-modified': '2026-09-10T09:23:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129923'} 2026-09-10 09:23:03,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-10 09:23:03,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97422958 passed 2026-09-10 09:23:03,209 - DEBUG - ====Verifying policy data for ctest-vn-97422958 in API_Server ====== 2026-09-10 09:23:03,209 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:23:03,215 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:23:03,228 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:23:03,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d 2026-09-10 09:23:03,328 - DEBUG - ==>Verifying data for policy with id: c78aec3d-0304-4670-b300-72aac068d538, fqn: ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045'] 2026-09-10 09:23:03,328 - INFO - VN ctest-vn-97422958 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-10 09:23:03,329 - DEBUG - Verifying the vn in opserver 2026-09-10 09:23:03,329 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 virtual network link through opserver 10.0.0.50 2026-09-10 09:23:03,329 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-10 09:23:03,708 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-10 09:23:03,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958?flat'} 2026-09-10 09:23:03,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 is found in opserver 2026-09-10 09:23:03,777 - DEBUG - Do not have enough data to verify VN in agent 2026-09-10 09:23:03,783 - DEBUG - VRF ids for VN ctest-vn-97422958: {} 2026-09-10 09:23:03,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:23:03,790 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:23:03,802 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:23:03,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:03,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:03,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:23:03,918 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:23:03,927 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/397eba90-6cc6-4868-b416-ac9d8147ea5d 2026-09-10 09:23:03,933 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-10 09:23:03,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:03,943 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:23:03,957 - INFO - Verified VN network id 12 for VN 08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:03,957 - INFO - Verifications in API Server for VN ctest-vn-92871289 passed 2026-09-10 09:23:03,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:03,965 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:23:03,971 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:23:03,976 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/397eba90-6cc6-4868-b416-ac9d8147ea5d 2026-09-10 09:23:03,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15020023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '577321879284763922', 'uuid-lslong': '10510397530099748330'}, 'enable': 'true', 'created': '2026-09-10T09:23:01', 'last-modified': '2026-09-10T09:23:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.650758'} 2026-09-10 09:23:03,995 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-10 09:23:03,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92871289 passed 2026-09-10 09:23:03,996 - DEBUG - ====Verifying policy data for ctest-vn-92871289 in API_Server ====== 2026-09-10 09:23:03,996 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:23:04,003 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:23:04,016 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:23:04,100 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea 2026-09-10 09:23:04,110 - DEBUG - ==>Verifying data for policy with id: c78aec3d-0304-4670-b300-72aac068d538, fqn: ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045'] 2026-09-10 09:23:04,110 - INFO - VN ctest-vn-92871289 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-10 09:23:04,110 - DEBUG - Verifying the vn in opserver 2026-09-10 09:23:04,111 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289 virtual network link through opserver 10.0.0.50 2026-09-10 09:23:04,111 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-10 09:23:04,122 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289?flat'} 2026-09-10 09:23:04,122 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289 is found in opserver 2026-09-10 09:23:04,133 - DEBUG - Do not have enough data to verify VN in agent 2026-09-10 09:23:04,138 - DEBUG - VRF ids for VN ctest-vn-92871289: {} 2026-09-10 09:23:04,201 - DEBUG - Services list from nova: [, , ] 2026-09-10 09:23:04,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6272-1) 2026-09-10 09:23:05,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6272-1) 2026-09-10 09:23:05,146 - INFO - Waiting for VM ctest-TestBasicPolicy-15020023-45869807 to be up.. 2026-09-10 09:23:05,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:10,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:15,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:20,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:25,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:30,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:35,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:40,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 09:23:45,933 - DEBUG - VM is in ACTIVE state now 2026-09-10 09:23:45,933 - INFO - VM name : ctest-TestBasicPolicy-15020023-45869807 2026-09-10 09:23:46,019 - DEBUG - VM ctest-TestBasicPolicy-15020023-45869807 ID is c3310ca2-206f-43bd-a38a-50aa41312369 2026-09-10 09:23:46,040 - DEBUG - VM ctest-TestBasicPolicy-15020023-45869807 launched on Node cn-jenkins-deploy-platform-ansible-os-6272-1 2026-09-10 09:23:46,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c3310ca2-206f-43bd-a38a-50aa41312369 2026-09-10 09:23:46,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61b503e5-3ee8-4316-bd04-538f292c0e1b 2026-09-10 09:23:49,481 - 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 1031ms') 2026-09-10 09:23:49,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15020023-45869807 failed! 2026-09-10 09:23:49,551 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 is 160.245.48.65 and allocation pool is NOT set 2026-09-10 09:23:53,617 - 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 1000ms') 2026-09-10 09:23:53,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15020023-45869807 failed! 2026-09-10 09:23:53,679 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 is 160.245.48.65 and allocation pool is NOT set 2026-09-10 09:23:55,744 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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 = 0.491/2.213/3.935/1.722 ms') 2026-09-10 09:23:55,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15020023-45869807 passed 2026-09-10 09:23:55,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 09:23:55,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15020023-45869807, IP 160.245.48.67, Port 22 2026-09-10 09:23:56,077 - DEBUG - VM ctest-TestBasicPolicy-15020023-45869807 is ready for SSH connections 2026-09-10 09:23:56,078 - INFO - Waiting for VM ctest-TestBasicPolicy-15020023-78423518 to be up.. 2026-09-10 09:23:56,168 - DEBUG - VM is in ACTIVE state now 2026-09-10 09:23:56,168 - INFO - VM name : ctest-TestBasicPolicy-15020023-78423518 2026-09-10 09:23:56,259 - DEBUG - VM ctest-TestBasicPolicy-15020023-78423518 ID is 3ce7a6a0-522d-4085-87a9-6c73e6328a02 2026-09-10 09:23:56,259 - DEBUG - VM ctest-TestBasicPolicy-15020023-78423518 launched on Node cn-jenkins-deploy-platform-ansible-os-6272-1 2026-09-10 09:23:56,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3ce7a6a0-522d-4085-87a9-6c73e6328a02 2026-09-10 09:23:56,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ef0f0484-feb9-4c5b-82d2-23bad613dc49 2026-09-10 09:23:57,620 - 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=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 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.563/2.431/4.300/1.868 ms') 2026-09-10 09:23:57,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15020023-78423518 passed 2026-09-10 09:23:57,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 09:23:57,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15020023-78423518, IP 28.106.175.3, Port 22 2026-09-10 09:23:57,958 - DEBUG - VM ctest-TestBasicPolicy-15020023-78423518 is ready for SSH connections 2026-09-10 09:23:57,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 09:23:57,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.106.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-10 09:23:57,958 - DEBUG - ping -s 56 -c 3 -W 1 28.106.175.3 2026-09-10 09:24:02,100 - DEBUG - PING 28.106.175.3 (28.106.175.3): 56 data bytes 64 bytes from 28.106.175.3: seq=0 ttl=63 time=4.703 ms 64 bytes from 28.106.175.3: seq=1 ttl=63 time=1.279 ms 64 bytes from 28.106.175.3: seq=2 ttl=63 time=1.270 ms --- 28.106.175.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.270/2.417/4.703 ms 2026-09-10 09:24:02,100 - INFO - Ping to IP 28.106.175.3 from VM ctest-TestBasicPolicy-15020023-45869807 passed 2026-09-10 09:24:02,299 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c78aec3d-0304-4670-b300-72aac068d538", "href": "http://10.0.0.50:8082/network-policy/c78aec3d-0304-4670-b300-72aac068d538"}} 2026-09-10 09:24:02,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 09:24:02,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.106.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-10 09:24:02,300 - DEBUG - ping -s 56 -c 3 -W 1 28.106.175.3 2026-09-10 09:24:05,444 - DEBUG - PING 28.106.175.3 (28.106.175.3): 56 data bytes 64 bytes from 28.106.175.3: seq=0 ttl=63 time=1.666 ms --- 28.106.175.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.666/1.666/1.666 ms 2026-09-10 09:24:05,445 - WARNING - Ping to IP 28.106.175.3 from VM ctest-TestBasicPolicy-15020023-45869807 failed 2026-09-10 09:24:05,445 - INFO - Deleting VM ctest-TestBasicPolicy-15020023-78423518 2026-09-10 09:24:05,554 - INFO - Deleting VM ctest-TestBasicPolicy-15020023-45869807 2026-09-10 09:24:06,023 - INFO - Deleted policy ctest-policy-allow-all-37606045 2026-09-10 09:24:06,023 - INFO - Deleting VN ctest-vn-92871289 2026-09-10 09:24:06,078 - DEBUG - VN 08030f30-bfd4-4d12-91dc-6eddfdbd0dea still in use: Unable to complete operation on network 08030f30-bfd4-4d12-91dc-6eddfdbd0dea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97cf873f-0fea-4eb7-a93a-28f7c51260ad'] 2026-09-10 09:24:06,079 - WARNING - Deleting VN ctest-vn-92871289 failed..Will retry 2026-09-10 09:24:08,216 - DEBUG - Response for deleting network () 2026-09-10 09:24:08,216 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6 2026-09-10 09:24:08,234 - DEBUG - Response Code: 404 2026-09-10 09:24:08,234 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:24:08,241 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:24:08,257 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:24:08,339 - INFO - Validated that VN ctest-vn-92871289 is not found in API Server 2026-09-10 09:24:08,352 - DEBUG - VN ctest-vn-92871289 is not present in Agent 10.0.0.50 2026-09-10 09:24:08,352 - INFO - Validated that VN ctest-vn-92871289 is not in any agent 2026-09-10 09:24:08,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92871289 info 2026-09-10 09:24:08,376 - INFO - Deleting VN ctest-vn-97422958 2026-09-10 09:24:08,514 - DEBUG - Response for deleting network () 2026-09-10 09:24:08,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0 2026-09-10 09:24:08,526 - DEBUG - Response Code: 404 2026-09-10 09:24:08,526 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-10 09:24:08,534 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1 2026-09-10 09:24:08,589 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b 2026-09-10 09:24:08,672 - INFO - Validated that VN ctest-vn-97422958 is not found in API Server 2026-09-10 09:24:08,685 - DEBUG - VN ctest-vn-97422958 is not present in Agent 10.0.0.50 2026-09-10 09:24:08,685 - INFO - Validated that VN ctest-vn-97422958 is not in any agent 2026-09-10 09:24:08,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97422958 info 2026-09-10 09:24:08,980 - DEBUG - No XMPP flaps were noticed during the test
2026-09-10 09:24:08,980 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-09-10 09:24:08,980 - INFO - -------------------------------------------------------------------------------- 2026-09-10 09:24:09,752 - INFO - Deleted project: ctest-TestBasicPolicy-15020023, ID : caa20545-46c8-4290-92e1-b7a83a93bb8b