2026-01-06 21:30:56,718 - INFO - Domain Default found not creating 2026-01-06 21:30:56,868 - INFO - Project ctest-TestBasicPolicy-39650316 not found, creating it 2026-01-06 21:30:57,303 - INFO - Created Project:ctest-TestBasicPolicy-39650316, ID : 4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:30:58,689 - INFO - ================================================================================ 2026-01-06 21:30:58,689 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-06 21:30:58,689 - 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 2026-01-06 21:30:58,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-01-06 21:30:58,944 - INFO - Initial checks done. Running the testcase now 2026-01-06 21:30:58,944 - INFO - 2026-01-06 21:30:59,469 - DEBUG - Response for create_network : {'network': {'id': 'd7439b08-547e-4844-98a9-caf64371faa9', 'name': 'ctest-vn-43224038', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-vn-43224038'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:30:59,653 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9085846-b376-46e8-accb-2c50a36f243d', 'name': '', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'network_id': 'd7439b08-547e-4844-98a9-caf64371faa9', 'ip_version': 4, 'cidr': '20.189.169.64/26', 'allocation_pools': [{'start': '20.189.169.66', 'end': '20.189.169.126'}], 'gateway_ip': '20.189.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.189.169.66', 'tags': [], 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa'}} 2026-01-06 21:30:59,671 - INFO - Created VN ctest-vn-43224038 2026-01-06 21:30:59,722 - DEBUG - VN ctest-vn-43224038 UUID is d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:00,017 - DEBUG - Response for create_network : {'network': {'id': '4124bdeb-4494-4146-88cf-9073329e8c16', 'name': 'ctest-vn-43749567', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-vn-43749567'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:31:00,218 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3bf5640-b1c6-46d7-b6b4-386a68dc3e60', 'name': '', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'network_id': '4124bdeb-4494-4146-88cf-9073329e8c16', 'ip_version': 4, 'cidr': '56.213.243.64/26', 'allocation_pools': [{'start': '56.213.243.66', 'end': '56.213.243.126'}], 'gateway_ip': '56.213.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.213.243.66', 'tags': [], 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa'}} 2026-01-06 21:31:00,235 - INFO - Created VN ctest-vn-43749567 2026-01-06 21:31:00,286 - DEBUG - VN ctest-vn-43749567 UUID is 4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:00,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038, 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-39650316:ctest-vn-43749567, 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] 2026-01-06 21:31:00,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7439b08-547e-4844-98a9-caf64371faa9', 'name': 'ctest-vn-43224038', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9085846-b376-46e8-accb-2c50a36f243d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-vn-43224038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-policy-allow-all-59076798']], 'subnet_ipam': [{'subnet_cidr': '20.189.169.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:31:00,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4124bdeb-4494-4146-88cf-9073329e8c16', 'name': 'ctest-vn-43749567', 'tenant_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'project_id': '4b7b3547dcdf4e0ba94b60cce7b883aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3bf5640-b1c6-46d7-b6b4-386a68dc3e60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-vn-43749567'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-policy-allow-all-59076798']], 'subnet_ipam': [{'subnet_cidr': '56.213.243.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:31:01,118 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:01,414 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:01,446 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:01,458 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:01,531 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,542 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,551 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:01,558 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:01,565 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f498fdcf-77cd-44a2-a934-f9dcc7ba3b4f 2026-01-06 21:31:01,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 21:31:01,571 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,579 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:01,592 - INFO - Verified VN network id 12 for VN d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,592 - INFO - Verifications in API Server for VN ctest-vn-43224038 passed 2026-01-06 21:31:01,592 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,601 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:01,607 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:01,614 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f498fdcf-77cd-44a2-a934-f9dcc7ba3b4f 2026-01-06 21:31:01,626 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39650316', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15511412001673726020', 'uuid-lslong': '11000546723871455913'}, 'enable': 'true', 'created': '2026-01-06T21:30:59', 'last-modified': '2026-01-06T21:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927536'} 2026-01-06 21:31:01,632 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 21:31:01,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43224038 passed 2026-01-06 21:31:01,633 - DEBUG - ====Verifying policy data for ctest-vn-43224038 in API_Server ====== 2026-01-06 21:31:01,633 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:01,637 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:01,647 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:01,718 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d7439b08-547e-4844-98a9-caf64371faa9 2026-01-06 21:31:01,728 - DEBUG - ==>Verifying data for policy with id: 6cfe3791-5ec4-4ce6-9627-f65578548f20, fqn: ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-policy-allow-all-59076798'] 2026-01-06 21:31:01,728 - INFO - VN ctest-vn-43224038 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 21:31:01,728 - DEBUG - Verifying the vn in opserver 2026-01-06 21:31:01,728 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038 virtual network link through opserver 10.0.0.249 2026-01-06 21:31:01,728 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-06 21:31:02,024 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-06 21:31:02,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038?flat'} 2026-01-06 21:31:02,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038 is found in opserver 2026-01-06 21:31:02,098 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 21:31:02,102 - DEBUG - VRF ids for VN ctest-vn-43224038: {} 2026-01-06 21:31:02,102 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:02,106 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:02,118 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:02,186 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,197 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,206 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:02,212 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:02,219 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2458c65f-602e-4560-a109-1219240874e7 2026-01-06 21:31:02,225 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 21:31:02,225 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,233 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:02,248 - INFO - Verified VN network id 13 for VN 4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,248 - INFO - Verifications in API Server for VN ctest-vn-43749567 passed 2026-01-06 21:31:02,248 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,256 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:02,263 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:02,269 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2458c65f-602e-4560-a109-1219240874e7 2026-01-06 21:31:02,281 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43749567', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39650316', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4694085529792430406', 'uuid-lslong': '9858256933782195222'}, 'enable': 'true', 'created': '2026-01-06T21:30:59', 'last-modified': '2026-01-06T21:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359974'} 2026-01-06 21:31:02,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 21:31:02,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43749567 passed 2026-01-06 21:31:02,288 - DEBUG - ====Verifying policy data for ctest-vn-43749567 in API_Server ====== 2026-01-06 21:31:02,288 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:02,296 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:02,308 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:02,382 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4124bdeb-4494-4146-88cf-9073329e8c16 2026-01-06 21:31:02,391 - DEBUG - ==>Verifying data for policy with id: 6cfe3791-5ec4-4ce6-9627-f65578548f20, fqn: ['default-domain', 'ctest-TestBasicPolicy-39650316', 'ctest-policy-allow-all-59076798'] 2026-01-06 21:31:02,391 - INFO - VN ctest-vn-43749567 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 21:31:02,391 - DEBUG - Verifying the vn in opserver 2026-01-06 21:31:02,391 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43749567 virtual network link through opserver 10.0.0.249 2026-01-06 21:31:02,391 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-06 21:31:02,400 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43749567', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43749567?flat'} 2026-01-06 21:31:02,400 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43749567 is found in opserver 2026-01-06 21:31:02,410 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 21:31:02,415 - DEBUG - VRF ids for VN ctest-vn-43749567: {} 2026-01-06 21:31:02,482 - DEBUG - Services list from nova: [, , ] 2026-01-06 21:31:03,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4970-1) 2026-01-06 21:31:04,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4970-1) 2026-01-06 21:31:04,683 - INFO - Waiting for VM ctest-TestBasicPolicy-39650316-37134695 to be up.. 2026-01-06 21:31:04,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-06 21:31:09,839 - DEBUG - VM is in ACTIVE state now 2026-01-06 21:31:09,839 - INFO - VM name : ctest-TestBasicPolicy-39650316-37134695 2026-01-06 21:31:09,918 - DEBUG - VM ctest-TestBasicPolicy-39650316-37134695 ID is 06ede4f9-9f86-40f1-91f6-beb0511519e8 2026-01-06 21:31:09,944 - DEBUG - VM ctest-TestBasicPolicy-39650316-37134695 launched on Node cn-jenkins-deploy-platform-ansible-os-4970-1 2026-01-06 21:31:10,034 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/06ede4f9-9f86-40f1-91f6-beb0511519e8 2026-01-06 21:31:10,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/08118198-5591-47fc-91f9-2274db789f73 2026-01-06 21:31:13,286 - 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 1003ms') 2026-01-06 21:31:13,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39650316-37134695 failed! 2026-01-06 21:31:13,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39650316:ctest-vn-43224038 is 20.189.169.65 and allocation pool is NOT set 2026-01-06 21:31:15,408 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.750 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 = 0.750/4.161/7.573/3.411 ms') 2026-01-06 21:31:15,408 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39650316-37134695 passed 2026-01-06 21:31:15,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:31:15,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39650316-37134695, IP 20.189.169.67, Port 22 2026-01-06 21:31:15,620 - 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': ''} 2026-01-06 21:31:15,698 - DEBUG - VM ctest-TestBasicPolicy-39650316-37134695 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-06 21:31:20,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:31:20,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39650316-37134695, IP 20.189.169.67, Port 22 2026-01-06 21:31:20,853 - DEBUG - VM ctest-TestBasicPolicy-39650316-37134695 is ready for SSH connections 2026-01-06 21:31:20,854 - INFO - Waiting for VM ctest-TestBasicPolicy-39650316-08963752 to be up.. 2026-01-06 21:31:20,927 - DEBUG - VM is in ACTIVE state now 2026-01-06 21:31:20,927 - INFO - VM name : ctest-TestBasicPolicy-39650316-08963752 2026-01-06 21:31:21,006 - DEBUG - VM ctest-TestBasicPolicy-39650316-08963752 ID is 66da0cb1-802f-4f9b-a85c-d00d5a59a725 2026-01-06 21:31:21,006 - DEBUG - VM ctest-TestBasicPolicy-39650316-08963752 launched on Node cn-jenkins-deploy-platform-ansible-os-4970-1 2026-01-06 21:31:21,086 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/66da0cb1-802f-4f9b-a85c-d00d5a59a725 2026-01-06 21:31:21,095 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/05c83121-10b8-4736-93b0-d7ebc8725371 2026-01-06 21:31:22,335 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.532/2.694/1.161 ms') 2026-01-06 21:31:22,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39650316-08963752 passed 2026-01-06 21:31:22,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:31:22,482 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39650316-08963752, IP 56.213.243.67, Port 22 2026-01-06 21:31:22,634 - DEBUG - VM ctest-TestBasicPolicy-39650316-08963752 is ready for SSH connections 2026-01-06 21:31:22,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:31:22,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.213.243.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-06 21:31:22,634 - DEBUG - ping -s 56 -c 3 -W 1 56.213.243.67 2026-01-06 21:31:26,607 - DEBUG - PING 56.213.243.67 (56.213.243.67): 56 data bytes 64 bytes from 56.213.243.67: seq=0 ttl=63 time=3.780 ms 64 bytes from 56.213.243.67: seq=1 ttl=63 time=0.951 ms 64 bytes from 56.213.243.67: seq=2 ttl=63 time=1.077 ms --- 56.213.243.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.936/3.780 ms 2026-01-06 21:31:26,607 - INFO - Ping to IP 56.213.243.67 from VM ctest-TestBasicPolicy-39650316-37134695 passed 2026-01-06 21:31:26,782 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6cfe3791-5ec4-4ce6-9627-f65578548f20", "href": "http://10.0.0.249:8082/network-policy/6cfe3791-5ec4-4ce6-9627-f65578548f20"}} 2026-01-06 21:31:26,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:31:26,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.213.243.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-06 21:31:26,782 - DEBUG - ping -s 56 -c 3 -W 1 56.213.243.67 2026-01-06 21:31:29,981 - DEBUG - PING 56.213.243.67 (56.213.243.67): 56 data bytes --- 56.213.243.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-06 21:31:29,981 - WARNING - Ping to IP 56.213.243.67 from VM ctest-TestBasicPolicy-39650316-37134695 failed 2026-01-06 21:31:29,981 - INFO - Deleting VM ctest-TestBasicPolicy-39650316-08963752 2026-01-06 21:31:30,055 - INFO - Deleting VM ctest-TestBasicPolicy-39650316-37134695 2026-01-06 21:31:30,391 - INFO - Deleted policy ctest-policy-allow-all-59076798 2026-01-06 21:31:30,391 - INFO - Deleting VN ctest-vn-43749567 2026-01-06 21:31:30,428 - DEBUG - VN 4124bdeb-4494-4146-88cf-9073329e8c16 still in use: Unable to complete operation on network 4124bdeb-4494-4146-88cf-9073329e8c16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa670755-e767-4b2d-a980-3b1e11e03678'] 2026-01-06 21:31:30,428 - WARNING - Deleting VN ctest-vn-43749567 failed..Will retry 2026-01-06 21:31:32,523 - DEBUG - Response for deleting network () 2026-01-06 21:31:32,523 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/09d02bfc-2bbf-4e09-825e-6449e8a6121e 2026-01-06 21:31:32,530 - DEBUG - Response Code: 404 2026-01-06 21:31:32,530 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:32,535 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:32,592 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:32,660 - INFO - Validated that VN ctest-vn-43749567 is not found in API Server 2026-01-06 21:31:32,669 - DEBUG - VN ctest-vn-43749567 is not present in Agent 10.0.0.249 2026-01-06 21:31:32,669 - INFO - Validated that VN ctest-vn-43749567 is not in any agent 2026-01-06 21:31:32,682 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43749567 info 2026-01-06 21:31:32,682 - INFO - Deleting VN ctest-vn-43224038 2026-01-06 21:31:32,788 - DEBUG - Response for deleting network () 2026-01-06 21:31:32,788 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4bc20fcb-df23-4e9c-b1ba-61de0a8b1e34 2026-01-06 21:31:32,793 - DEBUG - Response Code: 404 2026-01-06 21:31:32,793 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-06 21:31:32,798 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fbcdf6be-b5f8-431e-a264-092baff9d852 2026-01-06 21:31:32,851 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b7b3547-dcdf-4e0b-a94b-60cce7b883aa 2026-01-06 21:31:32,918 - INFO - Validated that VN ctest-vn-43224038 is not found in API Server 2026-01-06 21:31:32,926 - DEBUG - VN ctest-vn-43224038 is not present in Agent 10.0.0.249 2026-01-06 21:31:32,926 - INFO - Validated that VN ctest-vn-43224038 is not in any agent 2026-01-06 21:31:32,938 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43224038 info 2026-01-06 21:31:33,192 - DEBUG - No XMPP flaps were noticed during the test
2026-01-06 21:31:33,192 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-06 21:31:33,192 - INFO - -------------------------------------------------------------------------------- 2026-01-06 21:31:33,862 - INFO - Deleted project: ctest-TestBasicPolicy-39650316, ID : 4b7b3547-dcdf-4e0b-a94b-60cce7b883aa