2025-10-27 11:39:11,114 - INFO - Domain Default found not creating 2025-10-27 11:39:11,284 - INFO - Project ctest-TestBasicPolicy-93159185 not found, creating it 2025-10-27 11:39:11,758 - INFO - Created Project:ctest-TestBasicPolicy-93159185, ID : c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:13,379 - INFO - ================================================================================ 2025-10-27 11:39:13,379 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 11:39:13,379 - 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 2025-10-27 11:39:13,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-27 11:39:13,642 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:39:13,642 - INFO - 2025-10-27 11:39:14,235 - DEBUG - Response for create_network : {'network': {'id': '917e8622-381c-442a-87e9-e01fd3ed592c', 'name': 'ctest-vn-60122711', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'project_id': 'c0caec70a71b443ab985aa9681c8fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-vn-60122711'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:39:14,478 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfc7eb29-aac5-41b9-9842-2a9edcb98af0', 'name': '', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'network_id': '917e8622-381c-442a-87e9-e01fd3ed592c', 'ip_version': 4, 'cidr': '221.188.47.0/26', 'allocation_pools': [{'start': '221.188.47.2', 'end': '221.188.47.62'}], 'gateway_ip': '221.188.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.188.47.2', 'tags': [], 'project_id': 'c0caec70a71b443ab985aa9681c8fc93'}} 2025-10-27 11:39:14,499 - INFO - Created VN ctest-vn-60122711 2025-10-27 11:39:14,552 - DEBUG - VN ctest-vn-60122711 UUID is 917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:14,886 - DEBUG - Response for create_network : {'network': {'id': '5c3a470d-b32c-4b01-bba2-5d8c549e7f1b', 'name': 'ctest-vn-05625019', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'project_id': 'c0caec70a71b443ab985aa9681c8fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-vn-05625019'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:39:15,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '276d3b80-3151-4fc4-aec0-8e87c6d225d8', 'name': '', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'network_id': '5c3a470d-b32c-4b01-bba2-5d8c549e7f1b', 'ip_version': 4, 'cidr': '108.155.0.64/26', 'allocation_pools': [{'start': '108.155.0.66', 'end': '108.155.0.126'}], 'gateway_ip': '108.155.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.155.0.66', 'tags': [], 'project_id': 'c0caec70a71b443ab985aa9681c8fc93'}} 2025-10-27 11:39:15,056 - INFO - Created VN ctest-vn-05625019 2025-10-27 11:39:15,112 - DEBUG - VN ctest-vn-05625019 UUID is 5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:15,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711, 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-93159185:ctest-vn-05625019, 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] 2025-10-27 11:39:15,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '917e8622-381c-442a-87e9-e01fd3ed592c', 'name': 'ctest-vn-60122711', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'project_id': 'c0caec70a71b443ab985aa9681c8fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfc7eb29-aac5-41b9-9842-2a9edcb98af0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-vn-60122711'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-policy-allow-all-02537654']], 'subnet_ipam': [{'subnet_cidr': '221.188.47.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:39:15,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c3a470d-b32c-4b01-bba2-5d8c549e7f1b', 'name': 'ctest-vn-05625019', 'tenant_id': 'c0caec70a71b443ab985aa9681c8fc93', 'project_id': 'c0caec70a71b443ab985aa9681c8fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['276d3b80-3151-4fc4-aec0-8e87c6d225d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-vn-05625019'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-policy-allow-all-02537654']], 'subnet_ipam': [{'subnet_cidr': '108.155.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:39:15,944 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:16,285 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:16,315 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:16,329 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:16,401 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,414 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,425 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:16,434 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:16,441 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8713bbca-4f7c-45e8-a532-4d42d627d7d8 2025-10-27 11:39:16,448 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:39:16,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,457 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:16,472 - INFO - Verified VN network id 11 for VN 917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,472 - INFO - Verifications in API Server for VN ctest-vn-60122711 passed 2025-10-27 11:39:16,472 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,481 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:16,489 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:16,498 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8713bbca-4f7c-45e8-a532-4d42d627d7d8 2025-10-27 11:39:16,511 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93159185', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10483964464093479978', 'uuid-lslong': '9793605291998009644'}, 'enable': 'true', 'created': '2025-10-27T11:39:14', 'last-modified': '2025-10-27T11:39:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014951'} 2025-10-27 11:39:16,517 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:39:16,518 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60122711 passed 2025-10-27 11:39:16,518 - DEBUG - ====Verifying policy data for ctest-vn-60122711 in API_Server ====== 2025-10-27 11:39:16,518 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:16,524 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:16,536 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:16,607 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/917e8622-381c-442a-87e9-e01fd3ed592c 2025-10-27 11:39:16,619 - DEBUG - ==>Verifying data for policy with id: 63b6a8ef-00f6-4209-ae5f-b026ce266473, fqn: ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-policy-allow-all-02537654'] 2025-10-27 11:39:16,619 - INFO - VN ctest-vn-60122711 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:39:16,619 - DEBUG - Verifying the vn in opserver 2025-10-27 11:39:16,619 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711 virtual network link through opserver 10.0.0.22 2025-10-27 11:39:16,619 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 11:39:16,962 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 11:39:17,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711?flat'} 2025-10-27 11:39:17,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711 is found in opserver 2025-10-27 11:39:17,033 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:39:17,038 - DEBUG - VRF ids for VN ctest-vn-60122711: {} 2025-10-27 11:39:17,038 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:17,043 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:17,055 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:17,126 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,137 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,146 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:17,155 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:17,162 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fcc9359a-f4bd-4b68-aa07-f308eb731b5d 2025-10-27 11:39:17,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:39:17,170 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,180 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:17,195 - INFO - Verified VN network id 12 for VN 5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,195 - INFO - Verifications in API Server for VN ctest-vn-05625019 passed 2025-10-27 11:39:17,195 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,204 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:17,211 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:17,218 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fcc9359a-f4bd-4b68-aa07-f308eb731b5d 2025-10-27 11:39:17,230 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-05625019', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93159185', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6645702324304759553', 'uuid-lslong': '13520471888616128283'}, 'enable': 'true', 'created': '2025-10-27T11:39:14', 'last-modified': '2025-10-27T11:39:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505144'} 2025-10-27 11:39:17,236 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:39:17,236 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05625019 passed 2025-10-27 11:39:17,236 - DEBUG - ====Verifying policy data for ctest-vn-05625019 in API_Server ====== 2025-10-27 11:39:17,237 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:17,242 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:17,252 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:17,323 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c3a470d-b32c-4b01-bba2-5d8c549e7f1b 2025-10-27 11:39:17,333 - DEBUG - ==>Verifying data for policy with id: 63b6a8ef-00f6-4209-ae5f-b026ce266473, fqn: ['default-domain', 'ctest-TestBasicPolicy-93159185', 'ctest-policy-allow-all-02537654'] 2025-10-27 11:39:17,333 - INFO - VN ctest-vn-05625019 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:39:17,333 - DEBUG - Verifying the vn in opserver 2025-10-27 11:39:17,333 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-05625019 virtual network link through opserver 10.0.0.22 2025-10-27 11:39:17,333 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 11:39:17,344 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-05625019', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-05625019?flat'} 2025-10-27 11:39:17,344 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-05625019 is found in opserver 2025-10-27 11:39:17,354 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:39:17,359 - DEBUG - VRF ids for VN ctest-vn-05625019: {} 2025-10-27 11:39:17,417 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:39:18,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:39:19,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:39:19,828 - INFO - Waiting for VM ctest-TestBasicPolicy-93159185-64874454 to be up.. 2025-10-27 11:39:19,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:39:25,000 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:39:25,000 - INFO - VM name : ctest-TestBasicPolicy-93159185-64874454 2025-10-27 11:39:25,079 - DEBUG - VM ctest-TestBasicPolicy-93159185-64874454 ID is 1f18394f-0264-4fe0-8301-7ad5bac0ff5e 2025-10-27 11:39:25,101 - DEBUG - VM ctest-TestBasicPolicy-93159185-64874454 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:39:25,180 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1f18394f-0264-4fe0-8301-7ad5bac0ff5e 2025-10-27 11:39:25,200 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b56967f2-e992-4058-8a47-275124acf8a5 2025-10-27 11:39:28,462 - 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 1005ms') 2025-10-27 11:39:28,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93159185-64874454 failed! 2025-10-27 11:39:28,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93159185:ctest-vn-60122711 is 221.188.47.1 and allocation pool is NOT set 2025-10-27 11:39:30,585 - 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=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.03 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 = 3.034/5.227/7.420/2.193 ms') 2025-10-27 11:39:30,585 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93159185-64874454 passed 2025-10-27 11:39:30,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:39:30,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93159185-64874454, IP 221.188.47.3, Port 22 2025-10-27 11:39:30,807 - 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': ''} 2025-10-27 11:39:30,885 - DEBUG - VM ctest-TestBasicPolicy-93159185-64874454 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:39:35,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:39:35,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93159185-64874454, IP 221.188.47.3, Port 22 2025-10-27 11:39:36,044 - DEBUG - VM ctest-TestBasicPolicy-93159185-64874454 is ready for SSH connections 2025-10-27 11:39:36,044 - INFO - Waiting for VM ctest-TestBasicPolicy-93159185-17602042 to be up.. 2025-10-27 11:39:36,122 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:39:36,122 - INFO - VM name : ctest-TestBasicPolicy-93159185-17602042 2025-10-27 11:39:36,195 - DEBUG - VM ctest-TestBasicPolicy-93159185-17602042 ID is 80b4376c-707e-4895-b0fb-89a1d8c0d2df 2025-10-27 11:39:36,195 - DEBUG - VM ctest-TestBasicPolicy-93159185-17602042 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:39:36,264 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/80b4376c-707e-4895-b0fb-89a1d8c0d2df 2025-10-27 11:39:36,272 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c12485a6-e4ee-4fe7-91c5-72445a188e6d 2025-10-27 11:39:37,507 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/2.251/3.960/1.708 ms') 2025-10-27 11:39:37,508 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93159185-17602042 passed 2025-10-27 11:39:37,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:39:37,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93159185-17602042, IP 108.155.0.67, Port 22 2025-10-27 11:39:37,819 - DEBUG - VM ctest-TestBasicPolicy-93159185-17602042 is ready for SSH connections 2025-10-27 11:39:37,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:39:37,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.155.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:39:37,820 - DEBUG - ping -s 56 -c 3 -W 1 108.155.0.67 2025-10-27 11:39:42,206 - DEBUG - PING 108.155.0.67 (108.155.0.67): 56 data bytes 64 bytes from 108.155.0.67: seq=0 ttl=63 time=3.702 ms 64 bytes from 108.155.0.67: seq=1 ttl=63 time=1.270 ms 64 bytes from 108.155.0.67: seq=2 ttl=63 time=0.912 ms --- 108.155.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/1.961/3.702 ms 2025-10-27 11:39:42,206 - INFO - Ping to IP 108.155.0.67 from VM ctest-TestBasicPolicy-93159185-64874454 passed 2025-10-27 11:39:42,388 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63b6a8ef-00f6-4209-ae5f-b026ce266473", "href": "http://10.0.0.22:8082/network-policy/63b6a8ef-00f6-4209-ae5f-b026ce266473"}} 2025-10-27 11:39:42,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:39:42,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.155.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:39:42,388 - DEBUG - ping -s 56 -c 3 -W 1 108.155.0.67 2025-10-27 11:39:45,649 - DEBUG - PING 108.155.0.67 (108.155.0.67): 56 data bytes --- 108.155.0.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:39:45,649 - WARNING - Ping to IP 108.155.0.67 from VM ctest-TestBasicPolicy-93159185-64874454 failed 2025-10-27 11:39:45,649 - INFO - Deleting VM ctest-TestBasicPolicy-93159185-17602042 2025-10-27 11:39:45,727 - INFO - Deleting VM ctest-TestBasicPolicy-93159185-64874454 2025-10-27 11:39:46,109 - INFO - Deleted policy ctest-policy-allow-all-02537654 2025-10-27 11:39:46,109 - INFO - Deleting VN ctest-vn-05625019 2025-10-27 11:39:46,149 - DEBUG - VN 5c3a470d-b32c-4b01-bba2-5d8c549e7f1b still in use: Unable to complete operation on network 5c3a470d-b32c-4b01-bba2-5d8c549e7f1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9cc73c3-c1d5-4f37-adae-e81a80859364'] 2025-10-27 11:39:46,149 - WARNING - Deleting VN ctest-vn-05625019 failed..Will retry 2025-10-27 11:39:48,252 - DEBUG - Response for deleting network () 2025-10-27 11:39:48,252 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/208e0a36-1f89-4c84-8e9b-dcfc4e78f967 2025-10-27 11:39:48,259 - DEBUG - Response Code: 404 2025-10-27 11:39:48,259 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:48,265 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:48,323 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:48,399 - INFO - Validated that VN ctest-vn-05625019 is not found in API Server 2025-10-27 11:39:48,410 - DEBUG - VN ctest-vn-05625019 is not present in Agent 10.0.0.22 2025-10-27 11:39:48,410 - INFO - Validated that VN ctest-vn-05625019 is not in any agent 2025-10-27 11:39:48,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05625019 info 2025-10-27 11:39:48,425 - INFO - Deleting VN ctest-vn-60122711 2025-10-27 11:39:48,533 - DEBUG - Response for deleting network () 2025-10-27 11:39:48,534 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9a268588-cabc-4b9d-aa6f-a1c71b44f384 2025-10-27 11:39:48,540 - DEBUG - Response Code: 404 2025-10-27 11:39:48,540 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 11:39:48,547 - DEBUG - Requesting: http://10.0.0.22:8082/domain/647e18db-9db6-4840-9223-99d43691529f 2025-10-27 11:39:48,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/c0caec70-a71b-443a-b985-aa9681c8fc93 2025-10-27 11:39:48,679 - INFO - Validated that VN ctest-vn-60122711 is not found in API Server 2025-10-27 11:39:48,689 - DEBUG - VN ctest-vn-60122711 is not present in Agent 10.0.0.22 2025-10-27 11:39:48,689 - INFO - Validated that VN ctest-vn-60122711 is not in any agent 2025-10-27 11:39:48,705 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60122711 info 2025-10-27 11:39:48,961 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:39:48,962 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-27 11:39:48,962 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:39:49,689 - INFO - Deleted project: ctest-TestBasicPolicy-93159185, ID : c0caec70-a71b-443a-b985-aa9681c8fc93