2025-12-09 01:12:22,798 - INFO - Domain Default found not creating 2025-12-09 01:12:22,959 - INFO - Project ctest-TestBasicPolicy-41046661 not found, creating it 2025-12-09 01:12:23,413 - INFO - Created Project:ctest-TestBasicPolicy-41046661, ID : 65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:24,978 - INFO - ================================================================================ 2025-12-09 01:12:24,978 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 01:12:24,978 - 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-12-09 01:12:25,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 01:12:25,232 - INFO - Initial checks done. Running the testcase now 2025-12-09 01:12:25,232 - INFO - 2025-12-09 01:12:25,845 - DEBUG - Response for create_network : {'network': {'id': 'a6baad1f-10b4-4ada-b35c-ea22f4f4479c', 'name': 'ctest-vn-75342431', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'project_id': '65121344ca1f4fa58bd3ce51a8f06701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-vn-75342431'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 01:12:26,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '71476bcb-495c-4994-b337-b88e3753f2a7', 'name': '', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'network_id': 'a6baad1f-10b4-4ada-b35c-ea22f4f4479c', 'ip_version': 4, 'cidr': '88.252.20.192/26', 'allocation_pools': [{'start': '88.252.20.194', 'end': '88.252.20.254'}], 'gateway_ip': '88.252.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.252.20.194', 'tags': [], 'project_id': '65121344ca1f4fa58bd3ce51a8f06701'}} 2025-12-09 01:12:26,082 - INFO - Created VN ctest-vn-75342431 2025-12-09 01:12:26,135 - DEBUG - VN ctest-vn-75342431 UUID is a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:26,446 - DEBUG - Response for create_network : {'network': {'id': '0f7788d2-5bc7-44f2-8df4-e7a853069544', 'name': 'ctest-vn-04420513', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'project_id': '65121344ca1f4fa58bd3ce51a8f06701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-vn-04420513'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 01:12:26,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c17e0c36-e6df-4b57-8b7d-3ffbc086bdcc', 'name': '', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'network_id': '0f7788d2-5bc7-44f2-8df4-e7a853069544', 'ip_version': 4, 'cidr': '123.145.242.128/26', 'allocation_pools': [{'start': '123.145.242.130', 'end': '123.145.242.190'}], 'gateway_ip': '123.145.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.145.242.130', 'tags': [], 'project_id': '65121344ca1f4fa58bd3ce51a8f06701'}} 2025-12-09 01:12:26,659 - INFO - Created VN ctest-vn-04420513 2025-12-09 01:12:26,715 - DEBUG - VN ctest-vn-04420513 UUID is 0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:26,871 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431, 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-41046661:ctest-vn-04420513, 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-12-09 01:12:27,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6baad1f-10b4-4ada-b35c-ea22f4f4479c', 'name': 'ctest-vn-75342431', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'project_id': '65121344ca1f4fa58bd3ce51a8f06701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71476bcb-495c-4994-b337-b88e3753f2a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-vn-75342431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-policy-allow-all-50834474']], 'subnet_ipam': [{'subnet_cidr': '88.252.20.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 01:12:27,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f7788d2-5bc7-44f2-8df4-e7a853069544', 'name': 'ctest-vn-04420513', 'tenant_id': '65121344ca1f4fa58bd3ce51a8f06701', 'project_id': '65121344ca1f4fa58bd3ce51a8f06701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c17e0c36-e6df-4b57-8b7d-3ffbc086bdcc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-vn-04420513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-policy-allow-all-50834474']], 'subnet_ipam': [{'subnet_cidr': '123.145.242.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 01:12:27,527 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:27,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:27,900 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:27,911 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:27,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:27,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:28,006 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:28,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:28,018 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/26b76710-865a-4d29-b3fb-f3f3d43c490f 2025-12-09 01:12:28,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 01:12:28,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:28,032 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:28,046 - INFO - Verified VN network id 11 for VN a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:28,046 - INFO - Verifications in API Server for VN ctest-vn-75342431 passed 2025-12-09 01:12:28,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:28,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:28,062 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:28,069 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/26b76710-865a-4d29-b3fb-f3f3d43c490f 2025-12-09 01:12:28,079 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41046661', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12014105304900061914', 'uuid-lslong': '12924462466505918364'}, 'enable': 'true', 'created': '2025-12-09T01:12:25', 'last-modified': '2025-12-09T01:12:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944074'} 2025-12-09 01:12:28,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 01:12:28,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75342431 passed 2025-12-09 01:12:28,087 - DEBUG - ====Verifying policy data for ctest-vn-75342431 in API_Server ====== 2025-12-09 01:12:28,087 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:28,092 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:28,102 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:28,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6baad1f-10b4-4ada-b35c-ea22f4f4479c 2025-12-09 01:12:28,181 - DEBUG - ==>Verifying data for policy with id: b4dc1bbe-d4fe-4ecf-8566-6bb33cc33aef, fqn: ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-policy-allow-all-50834474'] 2025-12-09 01:12:28,181 - INFO - VN ctest-vn-75342431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 01:12:28,181 - DEBUG - Verifying the vn in opserver 2025-12-09 01:12:28,181 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431 virtual network link through opserver 10.0.0.38 2025-12-09 01:12:28,181 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 01:12:28,514 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 01:12:28,575 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431?flat'} 2025-12-09 01:12:28,575 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431 is found in opserver 2025-12-09 01:12:28,586 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 01:12:28,590 - DEBUG - VRF ids for VN ctest-vn-75342431: {} 2025-12-09 01:12:28,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:28,595 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:28,605 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:28,672 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:28,697 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:28,702 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8f74a6c-720d-4d01-93eb-8ba0e72e38aa 2025-12-09 01:12:28,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 01:12:28,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,716 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:28,728 - INFO - Verified VN network id 12 for VN 0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,728 - INFO - Verifications in API Server for VN ctest-vn-04420513 passed 2025-12-09 01:12:28,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:28,742 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:28,748 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8f74a6c-720d-4d01-93eb-8ba0e72e38aa 2025-12-09 01:12:28,758 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-04420513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41046661', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1114509869861782770', 'uuid-lslong': '10229055363798701380'}, 'enable': 'true', 'created': '2025-12-09T01:12:26', 'last-modified': '2025-12-09T01:12:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395519'} 2025-12-09 01:12:28,764 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 01:12:28,764 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04420513 passed 2025-12-09 01:12:28,764 - DEBUG - ====Verifying policy data for ctest-vn-04420513 in API_Server ====== 2025-12-09 01:12:28,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:28,769 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:28,779 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:28,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f7788d2-5bc7-44f2-8df4-e7a853069544 2025-12-09 01:12:28,860 - DEBUG - ==>Verifying data for policy with id: b4dc1bbe-d4fe-4ecf-8566-6bb33cc33aef, fqn: ['default-domain', 'ctest-TestBasicPolicy-41046661', 'ctest-policy-allow-all-50834474'] 2025-12-09 01:12:28,860 - INFO - VN ctest-vn-04420513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 01:12:28,860 - DEBUG - Verifying the vn in opserver 2025-12-09 01:12:28,860 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-04420513 virtual network link through opserver 10.0.0.38 2025-12-09 01:12:28,860 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 01:12:28,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-04420513', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-04420513?flat'} 2025-12-09 01:12:28,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-04420513 is found in opserver 2025-12-09 01:12:28,879 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 01:12:28,884 - DEBUG - VRF ids for VN ctest-vn-04420513: {} 2025-12-09 01:12:28,941 - DEBUG - Services list from nova: [, , ] 2025-12-09 01:12:30,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4863-1) 2025-12-09 01:12:31,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4863-1) 2025-12-09 01:12:31,267 - INFO - Waiting for VM ctest-TestBasicPolicy-41046661-18191100 to be up.. 2025-12-09 01:12:31,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 01:12:36,434 - DEBUG - VM is in ACTIVE state now 2025-12-09 01:12:36,434 - INFO - VM name : ctest-TestBasicPolicy-41046661-18191100 2025-12-09 01:12:36,504 - DEBUG - VM ctest-TestBasicPolicy-41046661-18191100 ID is 9835e2d7-2bff-4b52-af29-288cdb29e640 2025-12-09 01:12:36,523 - DEBUG - VM ctest-TestBasicPolicy-41046661-18191100 launched on Node cn-jenkins-deploy-platform-ansible-os-4863-1 2025-12-09 01:12:36,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9835e2d7-2bff-4b52-af29-288cdb29e640 2025-12-09 01:12:36,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04c1af87-bf84-4c1a-a657-14c6ebc16e8c 2025-12-09 01:12:39,858 - 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') 2025-12-09 01:12:39,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41046661-18191100 failed! 2025-12-09 01:12:39,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41046661:ctest-vn-75342431 is 88.252.20.193 and allocation pool is NOT set 2025-12-09 01:12:41,977 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.06 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.061/5.280/7.500/2.219 ms') 2025-12-09 01:12:41,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41046661-18191100 passed 2025-12-09 01:12:42,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 01:12:42,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41046661-18191100, IP 88.252.20.195, Port 22 2025-12-09 01:12:42,186 - 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-12-09 01:12:42,255 - DEBUG - VM ctest-TestBasicPolicy-41046661-18191100 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 01:12:47,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 01:12:47,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41046661-18191100, IP 88.252.20.195, Port 22 2025-12-09 01:12:47,415 - DEBUG - VM ctest-TestBasicPolicy-41046661-18191100 is ready for SSH connections 2025-12-09 01:12:47,415 - INFO - Waiting for VM ctest-TestBasicPolicy-41046661-13583889 to be up.. 2025-12-09 01:12:47,487 - DEBUG - VM is in ACTIVE state now 2025-12-09 01:12:47,487 - INFO - VM name : ctest-TestBasicPolicy-41046661-13583889 2025-12-09 01:12:47,558 - DEBUG - VM ctest-TestBasicPolicy-41046661-13583889 ID is a2353b69-3dd8-45db-a0e2-bc3c08a461d7 2025-12-09 01:12:47,558 - DEBUG - VM ctest-TestBasicPolicy-41046661-13583889 launched on Node cn-jenkins-deploy-platform-ansible-os-4863-1 2025-12-09 01:12:47,630 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2353b69-3dd8-45db-a0e2-bc3c08a461d7 2025-12-09 01:12:47,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b90616c-7861-4420-a779-cd8fab52f41e 2025-12-09 01:12:48,868 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.840/3.204/1.363 ms') 2025-12-09 01:12:48,868 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41046661-13583889 passed 2025-12-09 01:12:49,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 01:12:49,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41046661-13583889, IP 123.145.242.131, Port 22 2025-12-09 01:12:49,174 - DEBUG - VM ctest-TestBasicPolicy-41046661-13583889 is ready for SSH connections 2025-12-09 01:12:49,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 01:12:49,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 01:12:49,175 - DEBUG - ping -s 56 -c 3 -W 1 123.145.242.131 2025-12-09 01:12:53,284 - DEBUG - PING 123.145.242.131 (123.145.242.131): 56 data bytes 64 bytes from 123.145.242.131: seq=0 ttl=63 time=4.296 ms 64 bytes from 123.145.242.131: seq=1 ttl=63 time=0.892 ms 64 bytes from 123.145.242.131: seq=2 ttl=63 time=0.780 ms --- 123.145.242.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.989/4.296 ms 2025-12-09 01:12:53,284 - INFO - Ping to IP 123.145.242.131 from VM ctest-TestBasicPolicy-41046661-18191100 passed 2025-12-09 01:12:53,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b4dc1bbe-d4fe-4ecf-8566-6bb33cc33aef", "href": "http://10.0.0.38:8082/network-policy/b4dc1bbe-d4fe-4ecf-8566-6bb33cc33aef"}} 2025-12-09 01:12:53,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 01:12:53,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 01:12:53,455 - DEBUG - ping -s 56 -c 3 -W 1 123.145.242.131 2025-12-09 01:12:56,671 - DEBUG - PING 123.145.242.131 (123.145.242.131): 56 data bytes --- 123.145.242.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 01:12:56,671 - WARNING - Ping to IP 123.145.242.131 from VM ctest-TestBasicPolicy-41046661-18191100 failed 2025-12-09 01:12:56,671 - INFO - Deleting VM ctest-TestBasicPolicy-41046661-13583889 2025-12-09 01:12:56,736 - INFO - Deleting VM ctest-TestBasicPolicy-41046661-18191100 2025-12-09 01:12:57,086 - INFO - Deleted policy ctest-policy-allow-all-50834474 2025-12-09 01:12:57,086 - INFO - Deleting VN ctest-vn-04420513 2025-12-09 01:12:57,122 - DEBUG - VN 0f7788d2-5bc7-44f2-8df4-e7a853069544 still in use: Unable to complete operation on network 0f7788d2-5bc7-44f2-8df4-e7a853069544. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad9a61e2-d62f-488f-904e-f46a6b79a3d8'] 2025-12-09 01:12:57,122 - WARNING - Deleting VN ctest-vn-04420513 failed..Will retry 2025-12-09 01:12:59,221 - DEBUG - Response for deleting network () 2025-12-09 01:12:59,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d951fac-f461-42d6-9241-56991650b09b 2025-12-09 01:12:59,226 - DEBUG - Response Code: 404 2025-12-09 01:12:59,226 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:59,233 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:59,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:59,356 - INFO - Validated that VN ctest-vn-04420513 is not found in API Server 2025-12-09 01:12:59,365 - DEBUG - VN ctest-vn-04420513 is not present in Agent 10.0.0.38 2025-12-09 01:12:59,365 - INFO - Validated that VN ctest-vn-04420513 is not in any agent 2025-12-09 01:12:59,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04420513 info 2025-12-09 01:12:59,378 - INFO - Deleting VN ctest-vn-75342431 2025-12-09 01:12:59,465 - DEBUG - Response for deleting network () 2025-12-09 01:12:59,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ad7819f-17ce-4ad6-854d-351c79647bde 2025-12-09 01:12:59,471 - DEBUG - Response Code: 404 2025-12-09 01:12:59,471 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 01:12:59,477 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1b1f41bf-8a9d-4711-9531-5e11f20790f0 2025-12-09 01:12:59,527 - DEBUG - Requesting: http://10.0.0.38:8082/project/65121344-ca1f-4fa5-8bd3-ce51a8f06701 2025-12-09 01:12:59,598 - INFO - Validated that VN ctest-vn-75342431 is not found in API Server 2025-12-09 01:12:59,608 - DEBUG - VN ctest-vn-75342431 is not present in Agent 10.0.0.38 2025-12-09 01:12:59,608 - INFO - Validated that VN ctest-vn-75342431 is not in any agent 2025-12-09 01:12:59,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75342431 info 2025-12-09 01:12:59,875 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 01:12:59,875 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-09 01:12:59,875 - INFO - -------------------------------------------------------------------------------- 2025-12-09 01:13:00,668 - INFO - Deleted project: ctest-TestBasicPolicy-41046661, ID : 65121344-ca1f-4fa5-8bd3-ce51a8f06701