2025-10-09 13:37:16,492 - INFO - Domain Default found not creating 2025-10-09 13:37:16,669 - INFO - Project ctest-TestBasicPolicy-57400122 not found, creating it 2025-10-09 13:37:17,406 - INFO - Created Project:ctest-TestBasicPolicy-57400122, ID : da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:18,817 - INFO - ================================================================================ 2025-10-09 13:37:18,817 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 13:37:18,817 - 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-09 13:37:19,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-09 13:37:19,071 - INFO - Initial checks done. Running the testcase now 2025-10-09 13:37:19,071 - INFO - 2025-10-09 13:37:19,621 - DEBUG - Response for create_network : {'network': {'id': '95b23c1c-0b60-4afb-a181-8070ab1e8686', 'name': 'ctest-vn-58975484', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'project_id': 'da6cacee28eb4c72bfa742079443d25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-vn-58975484'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 13:37:19,827 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d7133bf-c68a-4a6f-b2c7-d381391687ed', 'name': '', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'network_id': '95b23c1c-0b60-4afb-a181-8070ab1e8686', 'ip_version': 4, 'cidr': '188.247.226.0/26', 'allocation_pools': [{'start': '188.247.226.2', 'end': '188.247.226.62'}], 'gateway_ip': '188.247.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.247.226.2', 'tags': [], 'project_id': 'da6cacee28eb4c72bfa742079443d25e'}} 2025-10-09 13:37:19,845 - INFO - Created VN ctest-vn-58975484 2025-10-09 13:37:19,897 - DEBUG - VN ctest-vn-58975484 UUID is 95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:20,235 - DEBUG - Response for create_network : {'network': {'id': '1666fbc0-5393-45be-af6b-d6b8b9e5aa60', 'name': 'ctest-vn-86353653', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'project_id': 'da6cacee28eb4c72bfa742079443d25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-vn-86353653'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 13:37:20,390 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4717de2-fd21-4063-9cb3-6f577e08afe0', 'name': '', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'network_id': '1666fbc0-5393-45be-af6b-d6b8b9e5aa60', 'ip_version': 4, 'cidr': '136.78.240.0/26', 'allocation_pools': [{'start': '136.78.240.2', 'end': '136.78.240.62'}], 'gateway_ip': '136.78.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.78.240.2', 'tags': [], 'project_id': 'da6cacee28eb4c72bfa742079443d25e'}} 2025-10-09 13:37:20,410 - INFO - Created VN ctest-vn-86353653 2025-10-09 13:37:20,461 - DEBUG - VN ctest-vn-86353653 UUID is 1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:20,609 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484, 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-57400122:ctest-vn-86353653, 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-09 13:37:20,907 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95b23c1c-0b60-4afb-a181-8070ab1e8686', 'name': 'ctest-vn-58975484', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'project_id': 'da6cacee28eb4c72bfa742079443d25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d7133bf-c68a-4a6f-b2c7-d381391687ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-vn-58975484'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-policy-allow-all-68986912']], 'subnet_ipam': [{'subnet_cidr': '188.247.226.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 13:37:21,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1666fbc0-5393-45be-af6b-d6b8b9e5aa60', 'name': 'ctest-vn-86353653', 'tenant_id': 'da6cacee28eb4c72bfa742079443d25e', 'project_id': 'da6cacee28eb4c72bfa742079443d25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4717de2-fd21-4063-9cb3-6f577e08afe0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-vn-86353653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-policy-allow-all-68986912']], 'subnet_ipam': [{'subnet_cidr': '136.78.240.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 13:37:21,301 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:21,594 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:21,622 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:21,633 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:21,708 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,718 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,727 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:21,733 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:21,739 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/001213f2-a394-4c4f-aca3-832d8adca251 2025-10-09 13:37:21,745 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 13:37:21,745 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,752 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:21,766 - INFO - Verified VN network id 11 for VN 95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,766 - INFO - Verifications in API Server for VN ctest-vn-58975484 passed 2025-10-09 13:37:21,766 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,775 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:21,782 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:21,788 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/001213f2-a394-4c4f-aca3-832d8adca251 2025-10-09 13:37:21,803 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57400122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10786750148653370107', 'uuid-lslong': '11637724133497669254'}, 'enable': 'true', 'created': '2025-10-09T13:37:19', 'last-modified': '2025-10-09T13:37:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917901'} 2025-10-09 13:37:21,809 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 13:37:21,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58975484 passed 2025-10-09 13:37:21,809 - DEBUG - ====Verifying policy data for ctest-vn-58975484 in API_Server ====== 2025-10-09 13:37:21,809 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:21,814 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:21,826 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:21,897 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/95b23c1c-0b60-4afb-a181-8070ab1e8686 2025-10-09 13:37:21,908 - DEBUG - ==>Verifying data for policy with id: aa38b381-72b8-41e3-a4b8-868c3af6ba64, fqn: ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-policy-allow-all-68986912'] 2025-10-09 13:37:21,908 - INFO - VN ctest-vn-58975484 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 13:37:21,908 - DEBUG - Verifying the vn in opserver 2025-10-09 13:37:21,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484 virtual network link through opserver 10.0.0.242 2025-10-09 13:37:21,908 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 13:37:22,195 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 13:37:22,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484?flat'} 2025-10-09 13:37:22,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484 is found in opserver 2025-10-09 13:37:22,261 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 13:37:22,265 - DEBUG - VRF ids for VN ctest-vn-58975484: {} 2025-10-09 13:37:22,265 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:22,270 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:22,280 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:22,353 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,364 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,372 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:22,379 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:22,386 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4905913f-5164-44e5-aa41-ea067b9e0733 2025-10-09 13:37:22,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 13:37:22,392 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,401 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:22,414 - INFO - Verified VN network id 12 for VN 1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,414 - INFO - Verifications in API Server for VN ctest-vn-86353653 passed 2025-10-09 13:37:22,414 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,423 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:22,429 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:22,435 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4905913f-5164-44e5-aa41-ea067b9e0733 2025-10-09 13:37:22,445 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-86353653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57400122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1614254319913354686', 'uuid-lslong': '12640432868026591840'}, 'enable': 'true', 'created': '2025-10-09T13:37:20', 'last-modified': '2025-10-09T13:37:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330349'} 2025-10-09 13:37:22,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 13:37:22,451 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86353653 passed 2025-10-09 13:37:22,451 - DEBUG - ====Verifying policy data for ctest-vn-86353653 in API_Server ====== 2025-10-09 13:37:22,451 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:22,456 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:22,466 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:22,534 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1666fbc0-5393-45be-af6b-d6b8b9e5aa60 2025-10-09 13:37:22,542 - DEBUG - ==>Verifying data for policy with id: aa38b381-72b8-41e3-a4b8-868c3af6ba64, fqn: ['default-domain', 'ctest-TestBasicPolicy-57400122', 'ctest-policy-allow-all-68986912'] 2025-10-09 13:37:22,542 - INFO - VN ctest-vn-86353653 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 13:37:22,542 - DEBUG - Verifying the vn in opserver 2025-10-09 13:37:22,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-86353653 virtual network link through opserver 10.0.0.242 2025-10-09 13:37:22,542 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 13:37:22,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-86353653', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-86353653?flat'} 2025-10-09 13:37:22,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-86353653 is found in opserver 2025-10-09 13:37:22,562 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 13:37:22,566 - DEBUG - VRF ids for VN ctest-vn-86353653: {} 2025-10-09 13:37:22,623 - DEBUG - Services list from nova: [, , ] 2025-10-09 13:37:23,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4260-1) 2025-10-09 13:37:24,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4260-1) 2025-10-09 13:37:24,721 - INFO - Waiting for VM ctest-TestBasicPolicy-57400122-98276823 to be up.. 2025-10-09 13:37:24,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 13:37:29,881 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:37:29,882 - INFO - VM name : ctest-TestBasicPolicy-57400122-98276823 2025-10-09 13:37:29,959 - DEBUG - VM ctest-TestBasicPolicy-57400122-98276823 ID is 72e5b427-484b-4066-bcb7-a4a5fb319dd7 2025-10-09 13:37:29,983 - DEBUG - VM ctest-TestBasicPolicy-57400122-98276823 launched on Node cn-jenkins-deploy-platform-ansible-os-4260-1 2025-10-09 13:37:30,070 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/72e5b427-484b-4066-bcb7-a4a5fb319dd7 2025-10-09 13:37:30,080 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5fed7236-6ca1-44ae-9896-3526d17db97a 2025-10-09 13:37:33,344 - 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-10-09 13:37:33,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57400122-98276823 failed! 2025-10-09 13:37:33,405 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57400122:ctest-vn-58975484 is 188.247.226.1 and allocation pool is NOT set 2025-10-09 13:37:35,469 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.825/5.195/8.566/3.370 ms') 2025-10-09 13:37:35,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57400122-98276823 passed 2025-10-09 13:37:35,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:37:35,621 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57400122-98276823, IP 188.247.226.3, Port 22 2025-10-09 13:37:35,677 - 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-09 13:37:35,747 - DEBUG - VM ctest-TestBasicPolicy-57400122-98276823 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 13:37:40,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:37:40,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57400122-98276823, IP 188.247.226.3, Port 22 2025-10-09 13:37:40,901 - DEBUG - VM ctest-TestBasicPolicy-57400122-98276823 is ready for SSH connections 2025-10-09 13:37:40,901 - INFO - Waiting for VM ctest-TestBasicPolicy-57400122-13428464 to be up.. 2025-10-09 13:37:40,973 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:37:40,973 - INFO - VM name : ctest-TestBasicPolicy-57400122-13428464 2025-10-09 13:37:41,042 - DEBUG - VM ctest-TestBasicPolicy-57400122-13428464 ID is 5e60b77c-39fa-45a7-ab77-83f54a76b2f6 2025-10-09 13:37:41,042 - DEBUG - VM ctest-TestBasicPolicy-57400122-13428464 launched on Node cn-jenkins-deploy-platform-ansible-os-4260-1 2025-10-09 13:37:41,108 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5e60b77c-39fa-45a7-ab77-83f54a76b2f6 2025-10-09 13:37:41,116 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/20524e47-e130-4257-8fd5-2408b3cddba9 2025-10-09 13:37:42,352 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.804/3.150/1.346 ms') 2025-10-09 13:37:42,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57400122-13428464 passed 2025-10-09 13:37:42,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:37:42,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57400122-13428464, IP 136.78.240.3, Port 22 2025-10-09 13:37:42,657 - DEBUG - VM ctest-TestBasicPolicy-57400122-13428464 is ready for SSH connections 2025-10-09 13:37:42,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:37:42,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.78.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 13:37:42,657 - DEBUG - ping -s 56 -c 3 -W 1 136.78.240.3 2025-10-09 13:37:46,694 - DEBUG - PING 136.78.240.3 (136.78.240.3): 56 data bytes 64 bytes from 136.78.240.3: seq=0 ttl=63 time=3.516 ms 64 bytes from 136.78.240.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 136.78.240.3: seq=2 ttl=63 time=0.845 ms --- 136.78.240.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/1.732/3.516 ms 2025-10-09 13:37:46,694 - INFO - Ping to IP 136.78.240.3 from VM ctest-TestBasicPolicy-57400122-98276823 passed 2025-10-09 13:37:46,865 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aa38b381-72b8-41e3-a4b8-868c3af6ba64", "href": "http://10.0.0.242:8082/network-policy/aa38b381-72b8-41e3-a4b8-868c3af6ba64"}} 2025-10-09 13:37:46,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:37:46,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.78.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 13:37:46,869 - DEBUG - ping -s 56 -c 3 -W 1 136.78.240.3 2025-10-09 13:37:50,071 - DEBUG - PING 136.78.240.3 (136.78.240.3): 56 data bytes --- 136.78.240.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 13:37:50,072 - WARNING - Ping to IP 136.78.240.3 from VM ctest-TestBasicPolicy-57400122-98276823 failed 2025-10-09 13:37:50,072 - INFO - Deleting VM ctest-TestBasicPolicy-57400122-13428464 2025-10-09 13:37:50,141 - INFO - Deleting VM ctest-TestBasicPolicy-57400122-98276823 2025-10-09 13:37:50,499 - INFO - Deleted policy ctest-policy-allow-all-68986912 2025-10-09 13:37:50,500 - INFO - Deleting VN ctest-vn-86353653 2025-10-09 13:37:50,535 - DEBUG - VN 1666fbc0-5393-45be-af6b-d6b8b9e5aa60 still in use: Unable to complete operation on network 1666fbc0-5393-45be-af6b-d6b8b9e5aa60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ecefa00-6105-4e7c-9c1c-f946969c8458'] 2025-10-09 13:37:50,535 - WARNING - Deleting VN ctest-vn-86353653 failed..Will retry 2025-10-09 13:37:52,642 - DEBUG - Response for deleting network () 2025-10-09 13:37:52,642 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/57e17884-42cc-497b-9f87-c53a61a8d7fd 2025-10-09 13:37:52,647 - DEBUG - Response Code: 404 2025-10-09 13:37:52,647 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:52,653 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:52,706 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:52,783 - INFO - Validated that VN ctest-vn-86353653 is not found in API Server 2025-10-09 13:37:52,792 - DEBUG - VN ctest-vn-86353653 is not present in Agent 10.0.0.242 2025-10-09 13:37:52,792 - INFO - Validated that VN ctest-vn-86353653 is not in any agent 2025-10-09 13:37:52,805 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86353653 info 2025-10-09 13:37:52,805 - INFO - Deleting VN ctest-vn-58975484 2025-10-09 13:37:52,898 - DEBUG - Response for deleting network () 2025-10-09 13:37:52,898 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7ce87aea-25ec-4131-9a71-979523cf1b8c 2025-10-09 13:37:52,903 - DEBUG - Response Code: 404 2025-10-09 13:37:52,903 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 13:37:52,908 - DEBUG - Requesting: http://10.0.0.242:8082/domain/01793127-1b6b-4017-accb-3b3416179715 2025-10-09 13:37:52,966 - DEBUG - Requesting: http://10.0.0.242:8082/project/da6cacee-28eb-4c72-bfa7-42079443d25e 2025-10-09 13:37:53,037 - INFO - Validated that VN ctest-vn-58975484 is not found in API Server 2025-10-09 13:37:53,046 - DEBUG - VN ctest-vn-58975484 is not present in Agent 10.0.0.242 2025-10-09 13:37:53,046 - INFO - Validated that VN ctest-vn-58975484 is not in any agent 2025-10-09 13:37:53,060 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58975484 info 2025-10-09 13:37:53,314 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:37:53,314 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-09 13:37:53,314 - INFO - -------------------------------------------------------------------------------- 2025-10-09 13:37:53,974 - INFO - Deleted project: ctest-TestBasicPolicy-57400122, ID : da6cacee-28eb-4c72-bfa7-42079443d25e