2026-01-26 16:03:55,172 - INFO - Domain Default found not creating 2026-01-26 16:03:55,483 - INFO - Project ctest-TestBasicPolicy-34194133 not found, creating it 2026-01-26 16:03:55,985 - INFO - Created Project:ctest-TestBasicPolicy-34194133, ID : 2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:03:57,723 - INFO - ================================================================================ 2026-01-26 16:03:57,723 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 16:03:57,723 - 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-26 16:03:58,040 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-01-26 16:03:58,040 - INFO - Initial checks done. Running the testcase now 2026-01-26 16:03:58,041 - INFO - 2026-01-26 16:03:58,768 - DEBUG - Response for create_network : {'network': {'id': '2e08c514-a053-4286-a161-927e6bab5208', 'name': 'ctest-vn-70087754', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-70087754'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:03:58,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '03d2dbaa-8d30-4138-8cea-c6c44905f6f4', 'name': '', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'network_id': '2e08c514-a053-4286-a161-927e6bab5208', 'ip_version': 4, 'cidr': '190.40.241.64/26', 'allocation_pools': [{'start': '190.40.241.66', 'end': '190.40.241.126'}], 'gateway_ip': '190.40.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.40.241.66', 'tags': [], 'project_id': '2de5db22cf254797a0aa1e3e93529cc8'}} 2026-01-26 16:03:58,945 - INFO - Created VN ctest-vn-70087754 2026-01-26 16:03:59,001 - DEBUG - VN ctest-vn-70087754 UUID is 2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:03:59,358 - DEBUG - Response for create_network : {'network': {'id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'name': 'ctest-vn-79778646', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-79778646'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:03:59,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f0b1dad-d9ff-4f97-a353-d4466e10e251', 'name': '', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'network_id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'ip_version': 4, 'cidr': '192.57.158.64/26', 'allocation_pools': [{'start': '192.57.158.66', 'end': '192.57.158.126'}], 'gateway_ip': '192.57.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.57.158.66', 'tags': [], 'project_id': '2de5db22cf254797a0aa1e3e93529cc8'}} 2026-01-26 16:03:59,633 - INFO - Created VN ctest-vn-79778646 2026-01-26 16:03:59,689 - DEBUG - VN ctest-vn-79778646 UUID is 7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:03:59,833 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754, 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-34194133:ctest-vn-79778646, 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-26 16:04:00,208 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e08c514-a053-4286-a161-927e6bab5208', 'name': 'ctest-vn-70087754', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03d2dbaa-8d30-4138-8cea-c6c44905f6f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-70087754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']], 'subnet_ipam': [{'subnet_cidr': '190.40.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:04:00,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'name': 'ctest-vn-79778646', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f0b1dad-d9ff-4f97-a353-d4466e10e251'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-79778646'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']], 'subnet_ipam': [{'subnet_cidr': '192.57.158.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:04:00,665 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:00,976 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:01,017 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:01,038 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:01,123 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,140 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,153 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:01,163 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:01,172 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/068e4838-a6cf-4001-983f-35e569ef3ecb 2026-01-26 16:04:01,181 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 16:04:01,181 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,192 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:01,209 - INFO - Verified VN network id 11 for VN 2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,209 - INFO - Verifications in API Server for VN ctest-vn-70087754 passed 2026-01-26 16:04:01,209 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,220 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:01,230 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:01,237 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/068e4838-a6cf-4001-983f-35e569ef3ecb 2026-01-26 16:04:01,248 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34194133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3317117817938199174', 'uuid-lslong': '11628736784517255688'}, 'enable': 'true', 'created': '2026-01-26T16:03:58', 'last-modified': '2026-01-26T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071793'} 2026-01-26 16:04:01,255 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 16:04:01,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70087754 passed 2026-01-26 16:04:01,256 - DEBUG - ====Verifying policy data for ctest-vn-70087754 in API_Server ====== 2026-01-26 16:04:01,256 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:01,261 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:01,272 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:01,351 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208 2026-01-26 16:04:01,363 - DEBUG - ==>Verifying data for policy with id: edf05df0-63f7-4ce6-a335-aa02e3cd738e, fqn: ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501'] 2026-01-26 16:04:01,363 - INFO - VN ctest-vn-70087754 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 16:04:01,364 - DEBUG - Verifying the vn in opserver 2026-01-26 16:04:01,364 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754 virtual network link through opserver 10.0.0.129 2026-01-26 16:04:01,364 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-26 16:04:01,673 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-26 16:04:01,768 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754?flat'} 2026-01-26 16:04:01,768 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754 is found in opserver 2026-01-26 16:04:01,788 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 16:04:01,796 - DEBUG - VRF ids for VN ctest-vn-70087754: {} 2026-01-26 16:04:01,796 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:01,802 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:01,822 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:01,913 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:01,932 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:01,943 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:01,950 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:01,958 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9e3ddecf-135c-4397-b431-47a636b0e558 2026-01-26 16:04:01,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 16:04:01,966 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:01,977 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:01,996 - INFO - Verified VN network id 12 for VN 7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:01,996 - INFO - Verifications in API Server for VN ctest-vn-79778646 passed 2026-01-26 16:04:01,997 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:02,008 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:02,017 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:02,027 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9e3ddecf-135c-4397-b431-47a636b0e558 2026-01-26 16:04:02,042 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34194133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8960595806652219484', 'uuid-lslong': '10864331224316095107'}, 'enable': 'true', 'created': '2026-01-26T16:03:59', 'last-modified': '2026-01-26T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606872'} 2026-01-26 16:04:02,049 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 16:04:02,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79778646 passed 2026-01-26 16:04:02,049 - DEBUG - ====Verifying policy data for ctest-vn-79778646 in API_Server ====== 2026-01-26 16:04:02,049 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:02,055 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:02,070 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:02,151 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83 2026-01-26 16:04:02,167 - DEBUG - ==>Verifying data for policy with id: edf05df0-63f7-4ce6-a335-aa02e3cd738e, fqn: ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501'] 2026-01-26 16:04:02,167 - INFO - VN ctest-vn-79778646 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 16:04:02,168 - DEBUG - Verifying the vn in opserver 2026-01-26 16:04:02,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646 virtual network link through opserver 10.0.0.129 2026-01-26 16:04:02,168 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-26 16:04:02,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646?flat'} 2026-01-26 16:04:02,179 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646 is found in opserver 2026-01-26 16:04:02,188 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 16:04:02,194 - DEBUG - VRF ids for VN ctest-vn-79778646: {} 2026-01-26 16:04:02,263 - DEBUG - Services list from nova: [, , ] 2026-01-26 16:04:03,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5081-1) 2026-01-26 16:04:04,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5081-1) 2026-01-26 16:04:04,614 - INFO - Waiting for VM ctest-TestBasicPolicy-34194133-57353848 to be up.. 2026-01-26 16:04:04,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 16:04:09,863 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:04:09,863 - INFO - VM name : ctest-TestBasicPolicy-34194133-57353848 2026-01-26 16:04:09,966 - DEBUG - VM ctest-TestBasicPolicy-34194133-57353848 ID is e5d11b7e-790f-4916-bc25-7f1c75ba36a6 2026-01-26 16:04:09,994 - DEBUG - VM ctest-TestBasicPolicy-34194133-57353848 launched on Node cn-jenkins-deploy-platform-ansible-os-5081-1 2026-01-26 16:04:10,156 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e5d11b7e-790f-4916-bc25-7f1c75ba36a6 2026-01-26 16:04:10,179 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d91d5e09-c174-4b00-9a54-639353743af5 2026-01-26 16:04:13,456 - 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 1008ms') 2026-01-26 16:04:13,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34194133-57353848 failed! 2026-01-26 16:04:13,529 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754 is 190.40.241.65 and allocation pool is NOT set 2026-01-26 16:04:15,601 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.355/5.234/8.113/2.879 ms') 2026-01-26 16:04:15,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34194133-57353848 passed 2026-01-26 16:04:15,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:04:15,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34194133-57353848, IP 190.40.241.67, Port 22 2026-01-26 16:04:15,846 - 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-26 16:04:16,000 - DEBUG - VM ctest-TestBasicPolicy-34194133-57353848 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 16:04:21,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:04:21,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34194133-57353848, IP 190.40.241.67, Port 22 2026-01-26 16:04:21,210 - DEBUG - VM ctest-TestBasicPolicy-34194133-57353848 is ready for SSH connections 2026-01-26 16:04:21,210 - INFO - Waiting for VM ctest-TestBasicPolicy-34194133-71360295 to be up.. 2026-01-26 16:04:21,352 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:04:21,353 - INFO - VM name : ctest-TestBasicPolicy-34194133-71360295 2026-01-26 16:04:21,498 - DEBUG - VM ctest-TestBasicPolicy-34194133-71360295 ID is c7c5d975-2fc5-4d51-9d80-d7631094a995 2026-01-26 16:04:21,498 - DEBUG - VM ctest-TestBasicPolicy-34194133-71360295 launched on Node cn-jenkins-deploy-platform-ansible-os-5081-1 2026-01-26 16:04:21,595 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c7c5d975-2fc5-4d51-9d80-d7631094a995 2026-01-26 16:04:21,606 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/32d87e51-9f3d-45a4-a8cc-8d7a4b9fd9f1 2026-01-26 16:04:22,882 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.372/5.343/9.315/3.971 ms') 2026-01-26 16:04:22,883 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34194133-71360295 passed 2026-01-26 16:04:23,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:04:23,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34194133-71360295, IP 192.57.158.67, Port 22 2026-01-26 16:04:23,240 - DEBUG - VM ctest-TestBasicPolicy-34194133-71360295 is ready for SSH connections 2026-01-26 16:04:23,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:04:23,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.57.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-26 16:04:23,240 - DEBUG - ping -s 56 -c 3 -W 1 192.57.158.67 2026-01-26 16:04:27,541 - DEBUG - PING 192.57.158.67 (192.57.158.67): 56 data bytes 64 bytes from 192.57.158.67: seq=0 ttl=63 time=4.990 ms 64 bytes from 192.57.158.67: seq=1 ttl=63 time=2.306 ms 64 bytes from 192.57.158.67: seq=2 ttl=63 time=1.614 ms --- 192.57.158.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.614/2.970/4.990 ms 2026-01-26 16:04:27,541 - INFO - Ping to IP 192.57.158.67 from VM ctest-TestBasicPolicy-34194133-57353848 passed 2026-01-26 16:04:27,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "edf05df0-63f7-4ce6-a335-aa02e3cd738e", "href": "http://10.0.0.129:8082/network-policy/edf05df0-63f7-4ce6-a335-aa02e3cd738e"}} 2026-01-26 16:04:27,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:04:27,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.57.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-26 16:04:27,765 - DEBUG - ping -s 56 -c 3 -W 1 192.57.158.67 2026-01-26 16:04:31,002 - DEBUG - PING 192.57.158.67 (192.57.158.67): 56 data bytes --- 192.57.158.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 16:04:31,002 - WARNING - Ping to IP 192.57.158.67 from VM ctest-TestBasicPolicy-34194133-57353848 failed 2026-01-26 16:04:31,002 - INFO - Deleting VM ctest-TestBasicPolicy-34194133-71360295 2026-01-26 16:04:31,133 - INFO - Deleting VM ctest-TestBasicPolicy-34194133-57353848 2026-01-26 16:04:31,649 - INFO - Deleted policy ctest-policy-allow-all-45332501 2026-01-26 16:04:31,649 - INFO - Deleting VN ctest-vn-79778646 2026-01-26 16:04:31,689 - DEBUG - VN 7c5a6e69-2f5c-405c-96c5-dbafd38baa83 still in use: Unable to complete operation on network 7c5a6e69-2f5c-405c-96c5-dbafd38baa83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10b17757-88f7-4e1e-b124-7e2c90a8b715'] 2026-01-26 16:04:31,690 - WARNING - Deleting VN ctest-vn-79778646 failed..Will retry 2026-01-26 16:04:33,903 - DEBUG - Response for deleting network () 2026-01-26 16:04:33,903 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb 2026-01-26 16:04:33,914 - DEBUG - Response Code: 404 2026-01-26 16:04:33,914 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:33,922 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:33,980 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:34,057 - INFO - Validated that VN ctest-vn-79778646 is not found in API Server 2026-01-26 16:04:34,070 - DEBUG - VN ctest-vn-79778646 is not present in Agent 10.0.0.129 2026-01-26 16:04:34,070 - INFO - Validated that VN ctest-vn-79778646 is not in any agent 2026-01-26 16:04:34,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79778646 info 2026-01-26 16:04:34,097 - INFO - Deleting VN ctest-vn-70087754 2026-01-26 16:04:34,209 - DEBUG - Response for deleting network () 2026-01-26 16:04:34,209 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7 2026-01-26 16:04:34,216 - DEBUG - Response Code: 404 2026-01-26 16:04:34,216 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-26 16:04:34,221 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457 2026-01-26 16:04:34,274 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8 2026-01-26 16:04:34,349 - INFO - Validated that VN ctest-vn-70087754 is not found in API Server 2026-01-26 16:04:34,361 - DEBUG - VN ctest-vn-70087754 is not present in Agent 10.0.0.129 2026-01-26 16:04:34,361 - INFO - Validated that VN ctest-vn-70087754 is not in any agent 2026-01-26 16:04:34,383 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70087754 info 2026-01-26 16:04:34,674 - DEBUG - No XMPP flaps were noticed during the test 2026-01-26 16:04:34,674 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-01-26 16:04:34,674 - INFO - -------------------------------------------------------------------------------- 2026-01-26 16:04:35,512 - INFO - Deleted project: ctest-TestBasicPolicy-34194133, ID : 2de5db22-cf25-4797-a0aa-1e3e93529cc8