2025-12-25 02:22:39,011 - INFO - Domain Default found not creating 2025-12-25 02:22:39,201 - INFO - Project ctest-TestBasicPolicy-74804043 not found, creating it 2025-12-25 02:22:39,687 - INFO - Created Project:ctest-TestBasicPolicy-74804043, ID : a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:22:41,347 - INFO - ================================================================================ 2025-12-25 02:22:41,347 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-25 02:22:41,347 - 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-25 02:22:41,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2025-12-25 02:22:41,601 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:22:41,601 - INFO - 2025-12-25 02:22:42,216 - DEBUG - Response for create_network : {'network': {'id': '4b0d0043-03f8-4ac0-8ffc-a56dd0f69777', 'name': 'ctest-vn-55475226', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'project_id': 'a483859cff4847bfbc0f1dba2207e66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-vn-55475226'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:22:42,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '853c6b45-8f3c-44a1-ab99-12e7e5eb8c8a', 'name': '', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'network_id': '4b0d0043-03f8-4ac0-8ffc-a56dd0f69777', 'ip_version': 4, 'cidr': '31.173.181.0/26', 'allocation_pools': [{'start': '31.173.181.2', 'end': '31.173.181.62'}], 'gateway_ip': '31.173.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.173.181.2', 'tags': [], 'project_id': 'a483859cff4847bfbc0f1dba2207e66f'}} 2025-12-25 02:22:42,428 - INFO - Created VN ctest-vn-55475226 2025-12-25 02:22:42,480 - DEBUG - VN ctest-vn-55475226 UUID is 4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:42,805 - DEBUG - Response for create_network : {'network': {'id': '741ffd43-e2ae-46ef-aa50-4ca6c355288d', 'name': 'ctest-vn-84701572', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'project_id': 'a483859cff4847bfbc0f1dba2207e66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-vn-84701572'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:22:42,971 - DEBUG - Response for create_subnet : {'subnet': {'id': '4308e55b-de3e-4c5f-bbb1-56a8d8a8e691', 'name': '', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'network_id': '741ffd43-e2ae-46ef-aa50-4ca6c355288d', 'ip_version': 4, 'cidr': '90.87.100.64/26', 'allocation_pools': [{'start': '90.87.100.66', 'end': '90.87.100.126'}], 'gateway_ip': '90.87.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.87.100.66', 'tags': [], 'project_id': 'a483859cff4847bfbc0f1dba2207e66f'}} 2025-12-25 02:22:42,990 - INFO - Created VN ctest-vn-84701572 2025-12-25 02:22:43,044 - DEBUG - VN ctest-vn-84701572 UUID is 741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:43,162 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226, 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-74804043:ctest-vn-84701572, 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-25 02:22:43,460 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b0d0043-03f8-4ac0-8ffc-a56dd0f69777', 'name': 'ctest-vn-55475226', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'project_id': 'a483859cff4847bfbc0f1dba2207e66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['853c6b45-8f3c-44a1-ab99-12e7e5eb8c8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-vn-55475226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-policy-allow-all-63531105']], 'subnet_ipam': [{'subnet_cidr': '31.173.181.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:22:43,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '741ffd43-e2ae-46ef-aa50-4ca6c355288d', 'name': 'ctest-vn-84701572', 'tenant_id': 'a483859cff4847bfbc0f1dba2207e66f', 'project_id': 'a483859cff4847bfbc0f1dba2207e66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4308e55b-de3e-4c5f-bbb1-56a8d8a8e691'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-vn-84701572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-policy-allow-all-63531105']], 'subnet_ipam': [{'subnet_cidr': '90.87.100.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:22:43,864 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:22:44,202 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:22:44,242 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:22:44,257 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:22:44,335 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,347 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,358 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:22:44,365 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:22:44,371 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8a3a3965-8176-46df-9fea-88e2789ab16a 2025-12-25 02:22:44,377 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:22:44,377 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,386 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:22:44,399 - INFO - Verified VN network id 11 for VN 4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,399 - INFO - Verifications in API Server for VN ctest-vn-55475226 passed 2025-12-25 02:22:44,399 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,411 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:22:44,418 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:22:44,426 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8a3a3965-8176-46df-9fea-88e2789ab16a 2025-12-25 02:22:44,439 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74804043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5407979015371246272', 'uuid-lslong': '10375349532630620023'}, 'enable': 'true', 'created': '2025-12-25T02:22:42', 'last-modified': '2025-12-25T02:22:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000341'} 2025-12-25 02:22:44,445 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:22:44,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55475226 passed 2025-12-25 02:22:44,445 - DEBUG - ====Verifying policy data for ctest-vn-55475226 in API_Server ====== 2025-12-25 02:22:44,445 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:22:44,450 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:22:44,463 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:22:44,534 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4b0d0043-03f8-4ac0-8ffc-a56dd0f69777 2025-12-25 02:22:44,545 - DEBUG - ==>Verifying data for policy with id: 34715012-150e-4660-9a90-70fdb4e0012b, fqn: ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-policy-allow-all-63531105'] 2025-12-25 02:22:44,545 - INFO - VN ctest-vn-55475226 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:22:44,545 - DEBUG - Verifying the vn in opserver 2025-12-25 02:22:44,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226 virtual network link through opserver 10.0.0.141 2025-12-25 02:22:44,545 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-25 02:22:44,884 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-25 02:22:44,947 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226?flat'} 2025-12-25 02:22:44,947 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226 is found in opserver 2025-12-25 02:22:44,957 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:22:44,962 - DEBUG - VRF ids for VN ctest-vn-55475226: {} 2025-12-25 02:22:44,962 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:22:44,967 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:22:44,978 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:22:45,046 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,058 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,067 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:22:45,074 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:22:45,083 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/95e98871-6acf-4b78-ae1f-886f1f0645d2 2025-12-25 02:22:45,090 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:22:45,090 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,099 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:22:45,114 - INFO - Verified VN network id 12 for VN 741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,115 - INFO - Verifications in API Server for VN ctest-vn-84701572 passed 2025-12-25 02:22:45,115 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,124 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:22:45,132 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:22:45,140 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/95e98871-6acf-4b78-ae1f-886f1f0645d2 2025-12-25 02:22:45,155 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-84701572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74804043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8367685100685379311', 'uuid-lslong': '12272393263710021773'}, 'enable': 'true', 'created': '2025-12-25T02:22:42', 'last-modified': '2025-12-25T02:22:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.485313'} 2025-12-25 02:22:45,162 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:22:45,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84701572 passed 2025-12-25 02:22:45,162 - DEBUG - ====Verifying policy data for ctest-vn-84701572 in API_Server ====== 2025-12-25 02:22:45,162 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:22:45,169 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:22:45,180 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:22:45,253 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/741ffd43-e2ae-46ef-aa50-4ca6c355288d 2025-12-25 02:22:45,263 - DEBUG - ==>Verifying data for policy with id: 34715012-150e-4660-9a90-70fdb4e0012b, fqn: ['default-domain', 'ctest-TestBasicPolicy-74804043', 'ctest-policy-allow-all-63531105'] 2025-12-25 02:22:45,263 - INFO - VN ctest-vn-84701572 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:22:45,263 - DEBUG - Verifying the vn in opserver 2025-12-25 02:22:45,263 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-84701572 virtual network link through opserver 10.0.0.141 2025-12-25 02:22:45,263 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-25 02:22:45,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-84701572', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-84701572?flat'} 2025-12-25 02:22:45,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-84701572 is found in opserver 2025-12-25 02:22:45,283 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:22:45,287 - DEBUG - VRF ids for VN ctest-vn-84701572: {} 2025-12-25 02:22:45,346 - DEBUG - Services list from nova: [, , ] 2025-12-25 02:22:46,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:22:47,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:22:47,718 - INFO - Waiting for VM ctest-TestBasicPolicy-74804043-07239568 to be up.. 2025-12-25 02:22:47,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:22:52,896 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:22:52,896 - INFO - VM name : ctest-TestBasicPolicy-74804043-07239568 2025-12-25 02:22:52,977 - DEBUG - VM ctest-TestBasicPolicy-74804043-07239568 ID is f0b52be2-4cab-4713-9048-20cfa1100f47 2025-12-25 02:22:52,997 - DEBUG - VM ctest-TestBasicPolicy-74804043-07239568 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:22:53,095 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f0b52be2-4cab-4713-9048-20cfa1100f47 2025-12-25 02:22:53,110 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b79e204f-b10e-4667-92e8-9d3725cafb05 2025-12-25 02:22:56,353 - 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 1001ms') 2025-12-25 02:22:56,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74804043-07239568 failed! 2025-12-25 02:22:56,408 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74804043:ctest-vn-55475226 is 31.173.181.1 and allocation pool is NOT set 2025-12-25 02:22:58,468 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.013/5.949/8.885/2.936 ms') 2025-12-25 02:22:58,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74804043-07239568 passed 2025-12-25 02:22:58,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:22:58,624 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74804043-07239568, IP 31.173.181.3, Port 22 2025-12-25 02:22:58,694 - 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-25 02:22:58,872 - DEBUG - VM ctest-TestBasicPolicy-74804043-07239568 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-25 02:23:03,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:23:03,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74804043-07239568, IP 31.173.181.3, Port 22 2025-12-25 02:23:04,039 - DEBUG - VM ctest-TestBasicPolicy-74804043-07239568 is ready for SSH connections 2025-12-25 02:23:04,039 - INFO - Waiting for VM ctest-TestBasicPolicy-74804043-36755701 to be up.. 2025-12-25 02:23:04,120 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:23:04,120 - INFO - VM name : ctest-TestBasicPolicy-74804043-36755701 2025-12-25 02:23:04,199 - DEBUG - VM ctest-TestBasicPolicy-74804043-36755701 ID is cc9c1a2b-a287-4577-94f5-b99431ddd3be 2025-12-25 02:23:04,199 - DEBUG - VM ctest-TestBasicPolicy-74804043-36755701 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:23:04,280 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cc9c1a2b-a287-4577-94f5-b99431ddd3be 2025-12-25 02:23:04,291 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e73aadaf-9d14-4cd9-bc79-13cc2719a23c 2025-12-25 02:23:05,527 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.738/3.042/1.303 ms') 2025-12-25 02:23:05,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74804043-36755701 passed 2025-12-25 02:23:05,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:23:05,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74804043-36755701, IP 90.87.100.67, Port 22 2025-12-25 02:23:05,836 - DEBUG - VM ctest-TestBasicPolicy-74804043-36755701 is ready for SSH connections 2025-12-25 02:23:05,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:23:05,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.87.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-25 02:23:05,836 - DEBUG - ping -s 56 -c 3 -W 1 90.87.100.67 2025-12-25 02:23:09,946 - DEBUG - PING 90.87.100.67 (90.87.100.67): 56 data bytes 64 bytes from 90.87.100.67: seq=0 ttl=63 time=4.697 ms 64 bytes from 90.87.100.67: seq=1 ttl=63 time=0.932 ms 64 bytes from 90.87.100.67: seq=2 ttl=63 time=0.919 ms --- 90.87.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/2.182/4.697 ms 2025-12-25 02:23:09,947 - INFO - Ping to IP 90.87.100.67 from VM ctest-TestBasicPolicy-74804043-07239568 passed 2025-12-25 02:23:10,128 - DEBUG - Policy Update Response {"network-policy": {"uuid": "34715012-150e-4660-9a90-70fdb4e0012b", "href": "http://10.0.0.141:8082/network-policy/34715012-150e-4660-9a90-70fdb4e0012b"}} 2025-12-25 02:23:10,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:23:10,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.87.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-25 02:23:10,128 - DEBUG - ping -s 56 -c 3 -W 1 90.87.100.67 2025-12-25 02:23:13,353 - DEBUG - PING 90.87.100.67 (90.87.100.67): 56 data bytes --- 90.87.100.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-25 02:23:13,353 - WARNING - Ping to IP 90.87.100.67 from VM ctest-TestBasicPolicy-74804043-07239568 failed 2025-12-25 02:23:13,353 - INFO - Deleting VM ctest-TestBasicPolicy-74804043-36755701 2025-12-25 02:23:13,427 - INFO - Deleting VM ctest-TestBasicPolicy-74804043-07239568 2025-12-25 02:23:13,818 - INFO - Deleted policy ctest-policy-allow-all-63531105 2025-12-25 02:23:13,818 - INFO - Deleting VN ctest-vn-84701572 2025-12-25 02:23:13,854 - DEBUG - VN 741ffd43-e2ae-46ef-aa50-4ca6c355288d still in use: Unable to complete operation on network 741ffd43-e2ae-46ef-aa50-4ca6c355288d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b364578-20fd-4583-beb9-89c048fb35ee'] 2025-12-25 02:23:13,854 - WARNING - Deleting VN ctest-vn-84701572 failed..Will retry 2025-12-25 02:23:15,953 - DEBUG - Response for deleting network () 2025-12-25 02:23:15,953 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ad8470b9-2b1e-41f6-9f5b-288958b96c3c 2025-12-25 02:23:15,961 - DEBUG - Response Code: 404 2025-12-25 02:23:15,961 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:23:15,966 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:23:16,018 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:23:16,087 - INFO - Validated that VN ctest-vn-84701572 is not found in API Server 2025-12-25 02:23:16,098 - DEBUG - VN ctest-vn-84701572 is not present in Agent 10.0.0.141 2025-12-25 02:23:16,098 - INFO - Validated that VN ctest-vn-84701572 is not in any agent 2025-12-25 02:23:16,116 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84701572 info 2025-12-25 02:23:16,116 - INFO - Deleting VN ctest-vn-55475226 2025-12-25 02:23:16,223 - DEBUG - Response for deleting network () 2025-12-25 02:23:16,223 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d5ff8f57-2b1e-4ddd-9864-3f598872e727 2025-12-25 02:23:16,230 - DEBUG - Response Code: 404 2025-12-25 02:23:16,230 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-25 02:23:16,235 - DEBUG - Requesting: http://10.0.0.141:8082/domain/60f31469-0599-4b2a-aaa6-121f81188dcf 2025-12-25 02:23:16,290 - DEBUG - Requesting: http://10.0.0.141:8082/project/a483859c-ff48-47bf-bc0f-1dba2207e66f 2025-12-25 02:23:16,358 - INFO - Validated that VN ctest-vn-55475226 is not found in API Server 2025-12-25 02:23:16,368 - DEBUG - VN ctest-vn-55475226 is not present in Agent 10.0.0.141 2025-12-25 02:23:16,368 - INFO - Validated that VN ctest-vn-55475226 is not in any agent 2025-12-25 02:23:16,381 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55475226 info 2025-12-25 02:23:16,644 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:23:16,644 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-25 02:23:16,644 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:23:17,384 - INFO - Deleted project: ctest-TestBasicPolicy-74804043, ID : a483859c-ff48-47bf-bc0f-1dba2207e66f