2025-11-06 02:07:50,306 - INFO - Domain Default found not creating 2025-11-06 02:07:50,479 - INFO - Project ctest-TestBasicPolicy-37661989 not found, creating it 2025-11-06 02:07:50,956 - INFO - Created Project:ctest-TestBasicPolicy-37661989, ID : da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:07:52,433 - INFO - ================================================================================ 2025-11-06 02:07:52,433 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-06 02:07:52,433 - 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-11-06 02:07:52,688 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-11-06 02:07:52,688 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:07:52,688 - INFO - 2025-11-06 02:07:53,297 - DEBUG - Response for create_network : {'network': {'id': '3ade87fe-b3ed-4f52-9f2a-43eb898cef68', 'name': 'ctest-vn-43219078', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-vn-43219078'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:07:53,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '39752127-bbe3-429e-b625-00039955bfc2', 'name': '', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'network_id': '3ade87fe-b3ed-4f52-9f2a-43eb898cef68', 'ip_version': 4, 'cidr': '87.36.103.0/26', 'allocation_pools': [{'start': '87.36.103.2', 'end': '87.36.103.62'}], 'gateway_ip': '87.36.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.36.103.2', 'tags': [], 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854'}} 2025-11-06 02:07:53,513 - INFO - Created VN ctest-vn-43219078 2025-11-06 02:07:53,566 - DEBUG - VN ctest-vn-43219078 UUID is 3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:53,879 - DEBUG - Response for create_network : {'network': {'id': 'a87690b1-6bfc-44b6-b6db-0800a5a0b008', 'name': 'ctest-vn-34801820', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-vn-34801820'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:07:54,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '973cfcf6-3563-484e-97e2-312fb336fcb2', 'name': '', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'network_id': 'a87690b1-6bfc-44b6-b6db-0800a5a0b008', 'ip_version': 4, 'cidr': '206.194.229.0/26', 'allocation_pools': [{'start': '206.194.229.2', 'end': '206.194.229.62'}], 'gateway_ip': '206.194.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.194.229.2', 'tags': [], 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854'}} 2025-11-06 02:07:54,060 - INFO - Created VN ctest-vn-34801820 2025-11-06 02:07:54,110 - DEBUG - VN ctest-vn-34801820 UUID is a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:54,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078, 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-37661989:ctest-vn-34801820, 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-11-06 02:07:54,555 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ade87fe-b3ed-4f52-9f2a-43eb898cef68', 'name': 'ctest-vn-43219078', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39752127-bbe3-429e-b625-00039955bfc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-vn-43219078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-policy-allow-all-92971957']], 'subnet_ipam': [{'subnet_cidr': '87.36.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:07:54,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a87690b1-6bfc-44b6-b6db-0800a5a0b008', 'name': 'ctest-vn-34801820', 'tenant_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'project_id': 'da9433a827b24c0bb7b7a5dcca95a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['973cfcf6-3563-484e-97e2-312fb336fcb2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-vn-34801820'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-policy-allow-all-92971957']], 'subnet_ipam': [{'subnet_cidr': '206.194.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:07:54,958 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:07:55,267 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:07:55,307 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:07:55,325 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:07:55,409 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,422 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,434 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:07:55,444 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:07:55,453 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b82f189c-e7ae-4d6b-a900-e168ccdde113 2025-11-06 02:07:55,461 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 02:07:55,461 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,474 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:07:55,493 - INFO - Verified VN network id 11 for VN 3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,493 - INFO - Verifications in API Server for VN ctest-vn-43219078 passed 2025-11-06 02:07:55,493 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,504 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:07:55,513 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:07:55,523 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b82f189c-e7ae-4d6b-a900-e168ccdde113 2025-11-06 02:07:55,539 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37661989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4241977427039702866', 'uuid-lslong': '11469054079956479848'}, 'enable': 'true', 'created': '2025-11-06T02:07:53', 'last-modified': '2025-11-06T02:07:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020862'} 2025-11-06 02:07:55,547 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 02:07:55,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43219078 passed 2025-11-06 02:07:55,547 - DEBUG - ====Verifying policy data for ctest-vn-43219078 in API_Server ====== 2025-11-06 02:07:55,548 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:07:55,555 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:07:55,571 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:07:55,647 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3ade87fe-b3ed-4f52-9f2a-43eb898cef68 2025-11-06 02:07:55,656 - DEBUG - ==>Verifying data for policy with id: 96c51dd4-7f3b-4408-99f7-035c0808b8aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-policy-allow-all-92971957'] 2025-11-06 02:07:55,656 - INFO - VN ctest-vn-43219078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 02:07:55,656 - DEBUG - Verifying the vn in opserver 2025-11-06 02:07:55,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078 virtual network link through opserver 10.0.0.249 2025-11-06 02:07:55,656 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-06 02:07:55,952 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-06 02:07:56,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078?flat'} 2025-11-06 02:07:56,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078 is found in opserver 2025-11-06 02:07:56,025 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 02:07:56,030 - DEBUG - VRF ids for VN ctest-vn-43219078: {} 2025-11-06 02:07:56,030 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:07:56,036 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:07:56,049 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:07:56,119 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,140 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:07:56,147 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:07:56,155 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/40207a01-f4c4-4d69-a061-152ff6c1d9e5 2025-11-06 02:07:56,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 02:07:56,163 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,173 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:07:56,189 - INFO - Verified VN network id 12 for VN a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,189 - INFO - Verifications in API Server for VN ctest-vn-34801820 passed 2025-11-06 02:07:56,189 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,198 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:07:56,205 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:07:56,212 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/40207a01-f4c4-4d69-a061-152ff6c1d9e5 2025-11-06 02:07:56,225 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-34801820', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37661989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12139048937319056566', 'uuid-lslong': '13176133933674311688'}, 'enable': 'true', 'created': '2025-11-06T02:07:53', 'last-modified': '2025-11-06T02:07:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441520'} 2025-11-06 02:07:56,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 02:07:56,231 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34801820 passed 2025-11-06 02:07:56,232 - DEBUG - ====Verifying policy data for ctest-vn-34801820 in API_Server ====== 2025-11-06 02:07:56,232 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:07:56,238 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:07:56,249 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:07:56,328 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a87690b1-6bfc-44b6-b6db-0800a5a0b008 2025-11-06 02:07:56,337 - DEBUG - ==>Verifying data for policy with id: 96c51dd4-7f3b-4408-99f7-035c0808b8aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-37661989', 'ctest-policy-allow-all-92971957'] 2025-11-06 02:07:56,337 - INFO - VN ctest-vn-34801820 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 02:07:56,337 - DEBUG - Verifying the vn in opserver 2025-11-06 02:07:56,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-34801820 virtual network link through opserver 10.0.0.249 2025-11-06 02:07:56,337 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-06 02:07:56,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-34801820', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-34801820?flat'} 2025-11-06 02:07:56,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-34801820 is found in opserver 2025-11-06 02:07:56,361 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 02:07:56,367 - DEBUG - VRF ids for VN ctest-vn-34801820: {} 2025-11-06 02:07:56,431 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:07:57,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1) 2025-11-06 02:07:58,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1) 2025-11-06 02:07:58,827 - INFO - Waiting for VM ctest-TestBasicPolicy-37661989-39244500 to be up.. 2025-11-06 02:07:58,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:08:04,021 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:08:04,021 - INFO - VM name : ctest-TestBasicPolicy-37661989-39244500 2025-11-06 02:08:04,119 - DEBUG - VM ctest-TestBasicPolicy-37661989-39244500 ID is f5f5c4f1-911a-4428-b446-72f547bcd1cf 2025-11-06 02:08:04,144 - DEBUG - VM ctest-TestBasicPolicy-37661989-39244500 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1 2025-11-06 02:08:04,234 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f5f5c4f1-911a-4428-b446-72f547bcd1cf 2025-11-06 02:08:04,245 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/23e2ef4a-f573-4493-a529-16a202f016d9 2025-11-06 02:08:07,494 - 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 1006ms') 2025-11-06 02:08:07,494 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37661989-39244500 failed! 2025-11-06 02:08:07,551 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37661989:ctest-vn-43219078 is 87.36.103.1 and allocation pool is NOT set 2025-11-06 02:08:09,620 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 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.179/5.799/8.420/2.620 ms') 2025-11-06 02:08:09,620 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37661989-39244500 passed 2025-11-06 02:08:09,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:08:09,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37661989-39244500, IP 87.36.103.3, Port 22 2025-11-06 02:08:09,835 - 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-11-06 02:08:09,949 - DEBUG - VM ctest-TestBasicPolicy-37661989-39244500 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 02:08:14,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:08:14,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37661989-39244500, IP 87.36.103.3, Port 22 2025-11-06 02:08:15,125 - DEBUG - VM ctest-TestBasicPolicy-37661989-39244500 is ready for SSH connections 2025-11-06 02:08:15,125 - INFO - Waiting for VM ctest-TestBasicPolicy-37661989-89771530 to be up.. 2025-11-06 02:08:15,210 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:08:15,211 - INFO - VM name : ctest-TestBasicPolicy-37661989-89771530 2025-11-06 02:08:15,290 - DEBUG - VM ctest-TestBasicPolicy-37661989-89771530 ID is 5251b9c2-61b3-4070-bb4f-7bb2ecdd8753 2025-11-06 02:08:15,290 - DEBUG - VM ctest-TestBasicPolicy-37661989-89771530 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1 2025-11-06 02:08:15,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5251b9c2-61b3-4070-bb4f-7bb2ecdd8753 2025-11-06 02:08:15,379 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e4586170-99d7-4cba-8aea-1a607324e9fa 2025-11-06 02:08:16,621 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.289/4.084/1.794 ms') 2025-11-06 02:08:16,622 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37661989-89771530 passed 2025-11-06 02:08:16,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:08:16,770 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37661989-89771530, IP 206.194.229.3, Port 22 2025-11-06 02:08:16,937 - DEBUG - VM ctest-TestBasicPolicy-37661989-89771530 is ready for SSH connections 2025-11-06 02:08:16,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:08:16,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.194.229.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-06 02:08:16,937 - DEBUG - ping -s 56 -c 3 -W 1 206.194.229.3 2025-11-06 02:08:21,000 - DEBUG - PING 206.194.229.3 (206.194.229.3): 56 data bytes 64 bytes from 206.194.229.3: seq=0 ttl=63 time=4.141 ms 64 bytes from 206.194.229.3: seq=1 ttl=63 time=1.158 ms 64 bytes from 206.194.229.3: seq=2 ttl=63 time=0.993 ms --- 206.194.229.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.097/4.141 ms 2025-11-06 02:08:21,000 - INFO - Ping to IP 206.194.229.3 from VM ctest-TestBasicPolicy-37661989-39244500 passed 2025-11-06 02:08:21,178 - DEBUG - Policy Update Response {"network-policy": {"uuid": "96c51dd4-7f3b-4408-99f7-035c0808b8aa", "href": "http://10.0.0.249:8082/network-policy/96c51dd4-7f3b-4408-99f7-035c0808b8aa"}} 2025-11-06 02:08:21,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:08:21,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.194.229.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-06 02:08:21,178 - DEBUG - ping -s 56 -c 3 -W 1 206.194.229.3 2025-11-06 02:08:24,401 - DEBUG - PING 206.194.229.3 (206.194.229.3): 56 data bytes --- 206.194.229.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 02:08:24,402 - WARNING - Ping to IP 206.194.229.3 from VM ctest-TestBasicPolicy-37661989-39244500 failed 2025-11-06 02:08:24,402 - INFO - Deleting VM ctest-TestBasicPolicy-37661989-89771530 2025-11-06 02:08:24,481 - INFO - Deleting VM ctest-TestBasicPolicy-37661989-39244500 2025-11-06 02:08:24,898 - INFO - Deleted policy ctest-policy-allow-all-92971957 2025-11-06 02:08:24,899 - INFO - Deleting VN ctest-vn-34801820 2025-11-06 02:08:24,941 - DEBUG - VN a87690b1-6bfc-44b6-b6db-0800a5a0b008 still in use: Unable to complete operation on network a87690b1-6bfc-44b6-b6db-0800a5a0b008. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef6cdeb6-4f42-403b-bace-254b6fad2f22'] 2025-11-06 02:08:24,941 - WARNING - Deleting VN ctest-vn-34801820 failed..Will retry 2025-11-06 02:08:27,040 - DEBUG - Response for deleting network () 2025-11-06 02:08:27,040 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d2bc916-706e-4bab-b568-ec598188f5ee 2025-11-06 02:08:27,048 - DEBUG - Response Code: 404 2025-11-06 02:08:27,048 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:08:27,055 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:08:27,109 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:08:27,182 - INFO - Validated that VN ctest-vn-34801820 is not found in API Server 2025-11-06 02:08:27,194 - DEBUG - VN ctest-vn-34801820 is not present in Agent 10.0.0.249 2025-11-06 02:08:27,194 - INFO - Validated that VN ctest-vn-34801820 is not in any agent 2025-11-06 02:08:27,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34801820 info 2025-11-06 02:08:27,210 - INFO - Deleting VN ctest-vn-43219078 2025-11-06 02:08:27,327 - DEBUG - Response for deleting network () 2025-11-06 02:08:27,327 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4c4eca12-14db-4897-ba45-c4ea00be165a 2025-11-06 02:08:27,334 - DEBUG - Response Code: 404 2025-11-06 02:08:27,334 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-06 02:08:27,340 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3988296a-87b2-4249-a107-eb83f2d2fe96 2025-11-06 02:08:27,392 - DEBUG - Requesting: http://10.0.0.249:8082/project/da9433a8-27b2-4c0b-b7b7-a5dcca95a854 2025-11-06 02:08:27,469 - INFO - Validated that VN ctest-vn-43219078 is not found in API Server 2025-11-06 02:08:27,481 - DEBUG - VN ctest-vn-43219078 is not present in Agent 10.0.0.249 2025-11-06 02:08:27,481 - INFO - Validated that VN ctest-vn-43219078 is not in any agent 2025-11-06 02:08:27,503 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43219078 info 2025-11-06 02:08:27,775 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:08:27,775 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-06 02:08:27,775 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:08:28,532 - INFO - Deleted project: ctest-TestBasicPolicy-37661989, ID : da9433a8-27b2-4c0b-b7b7-a5dcca95a854