2026-01-12 02:07:36,264 - INFO - Domain Default found not creating 2026-01-12 02:07:36,445 - INFO - Project ctest-TestBasicPolicy-51177675 not found, creating it 2026-01-12 02:07:36,927 - INFO - Created Project:ctest-TestBasicPolicy-51177675, ID : 5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:07:38,605 - INFO - ================================================================================ 2026-01-12 02:07:38,605 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-12 02:07:38,605 - 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-12 02:07:38,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2026-01-12 02:07:38,860 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:07:38,860 - INFO - 2026-01-12 02:07:39,477 - DEBUG - Response for create_network : {'network': {'id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'name': 'ctest-vn-08747367', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-08747367'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:07:39,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '970c5278-ebf9-4dd4-951c-e24606cc376d', 'name': '', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'network_id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'ip_version': 4, 'cidr': '89.78.81.0/26', 'allocation_pools': [{'start': '89.78.81.2', 'end': '89.78.81.62'}], 'gateway_ip': '89.78.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.78.81.2', 'tags': [], 'project_id': '5f383d9ca9264667a17de3d941a4aa70'}} 2026-01-12 02:07:39,699 - INFO - Created VN ctest-vn-08747367 2026-01-12 02:07:39,754 - DEBUG - VN ctest-vn-08747367 UUID is eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:40,069 - DEBUG - Response for create_network : {'network': {'id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'name': 'ctest-vn-82525089', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-82525089'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:07:40,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1ac7e4-85f9-42aa-a576-2b6ba1a3aea9', 'name': '', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'network_id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'ip_version': 4, 'cidr': '62.6.229.64/26', 'allocation_pools': [{'start': '62.6.229.66', 'end': '62.6.229.126'}], 'gateway_ip': '62.6.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.6.229.66', 'tags': [], 'project_id': '5f383d9ca9264667a17de3d941a4aa70'}} 2026-01-12 02:07:40,299 - INFO - Created VN ctest-vn-82525089 2026-01-12 02:07:40,350 - DEBUG - VN ctest-vn-82525089 UUID is d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:40,466 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367, 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-51177675:ctest-vn-82525089, 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-12 02:07:40,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'name': 'ctest-vn-08747367', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['970c5278-ebf9-4dd4-951c-e24606cc376d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-08747367'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']], 'subnet_ipam': [{'subnet_cidr': '89.78.81.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:07:41,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'name': 'ctest-vn-82525089', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db1ac7e4-85f9-42aa-a576-2b6ba1a3aea9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-82525089'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']], 'subnet_ipam': [{'subnet_cidr': '62.6.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:07:41,134 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:07:41,480 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:07:41,516 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:07:41,530 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:07:41,604 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,616 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,626 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:07:41,634 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:07:41,640 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/717abfb1-c45f-4fa6-a4f0-4c5ada4797b0 2026-01-12 02:07:41,647 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:07:41,647 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,656 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:07:41,670 - INFO - Verified VN network id 12 for VN eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,670 - INFO - Verifications in API Server for VN ctest-vn-08747367 passed 2026-01-12 02:07:41,670 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,680 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:07:41,687 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:07:41,694 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/717abfb1-c45f-4fa6-a4f0-4c5ada4797b0 2026-01-12 02:07:41,707 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51177675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16974527789343919052', 'uuid-lslong': '12938545488447595436'}, 'enable': 'true', 'created': '2026-01-12T02:07:39', 'last-modified': '2026-01-12T02:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956296'} 2026-01-12 02:07:41,715 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:07:41,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08747367 passed 2026-01-12 02:07:41,715 - DEBUG - ====Verifying policy data for ctest-vn-08747367 in API_Server ====== 2026-01-12 02:07:41,715 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:07:41,722 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:07:41,733 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:07:41,822 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac 2026-01-12 02:07:41,837 - DEBUG - ==>Verifying data for policy with id: 0a6c65c0-69fe-4c81-9a73-8ae14faa51e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379'] 2026-01-12 02:07:41,837 - INFO - VN ctest-vn-08747367 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:07:41,837 - DEBUG - Verifying the vn in opserver 2026-01-12 02:07:41,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367 virtual network link through opserver 10.0.0.141 2026-01-12 02:07:41,837 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-12 02:07:42,196 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-12 02:07:42,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367?flat'} 2026-01-12 02:07:42,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367 is found in opserver 2026-01-12 02:07:42,277 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:07:42,284 - DEBUG - VRF ids for VN ctest-vn-08747367: {} 2026-01-12 02:07:42,284 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:07:42,292 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:07:42,308 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:07:42,382 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,394 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,404 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:07:42,411 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:07:42,418 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc35e2a4-843d-412f-bff2-0ad049d6e45f 2026-01-12 02:07:42,425 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:07:42,425 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,434 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:07:42,451 - INFO - Verified VN network id 13 for VN d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,451 - INFO - Verifications in API Server for VN ctest-vn-82525089 passed 2026-01-12 02:07:42,451 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,463 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:07:42,470 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:07:42,477 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc35e2a4-843d-412f-bff2-0ad049d6e45f 2026-01-12 02:07:42,490 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51177675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15608029423691713089', 'uuid-lslong': '11604287649851559044'}, 'enable': 'true', 'created': '2026-01-12T02:07:40', 'last-modified': '2026-01-12T02:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510407'} 2026-01-12 02:07:42,495 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:07:42,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82525089 passed 2026-01-12 02:07:42,496 - DEBUG - ====Verifying policy data for ctest-vn-82525089 in API_Server ====== 2026-01-12 02:07:42,496 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:07:42,501 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:07:42,512 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:07:42,586 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84 2026-01-12 02:07:42,601 - DEBUG - ==>Verifying data for policy with id: 0a6c65c0-69fe-4c81-9a73-8ae14faa51e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379'] 2026-01-12 02:07:42,601 - INFO - VN ctest-vn-82525089 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:07:42,601 - DEBUG - Verifying the vn in opserver 2026-01-12 02:07:42,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089 virtual network link through opserver 10.0.0.141 2026-01-12 02:07:42,601 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-12 02:07:42,612 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089?flat'} 2026-01-12 02:07:42,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089 is found in opserver 2026-01-12 02:07:42,623 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:07:42,629 - DEBUG - VRF ids for VN ctest-vn-82525089: {} 2026-01-12 02:07:42,694 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:07:43,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4986-1) 2026-01-12 02:07:45,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4986-1) 2026-01-12 02:07:45,155 - INFO - Waiting for VM ctest-TestBasicPolicy-51177675-27018310 to be up.. 2026-01-12 02:07:45,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 02:07:50,344 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:07:50,344 - INFO - VM name : ctest-TestBasicPolicy-51177675-27018310 2026-01-12 02:07:50,442 - DEBUG - VM ctest-TestBasicPolicy-51177675-27018310 ID is e1613c9d-3cb3-4eb7-932b-30eff337a942 2026-01-12 02:07:50,472 - DEBUG - VM ctest-TestBasicPolicy-51177675-27018310 launched on Node cn-jenkins-deploy-platform-ansible-os-4986-1 2026-01-12 02:07:50,555 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e1613c9d-3cb3-4eb7-932b-30eff337a942 2026-01-12 02:07:50,564 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/971c8608-3812-4eda-81f0-fe0685cb3b3d 2026-01-12 02:07:53,804 - 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') 2026-01-12 02:07:53,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51177675-27018310 failed! 2026-01-12 02:07:53,858 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367 is 89.78.81.1 and allocation pool is NOT set 2026-01-12 02:07:55,926 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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 = 1.522/6.901/12.280/5.379 ms') 2026-01-12 02:07:55,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51177675-27018310 passed 2026-01-12 02:07:56,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:07:56,082 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51177675-27018310, IP 89.78.81.3, Port 22 2026-01-12 02:07:56,152 - 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-12 02:07:56,237 - DEBUG - VM ctest-TestBasicPolicy-51177675-27018310 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 02:08:01,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:08:01,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51177675-27018310, IP 89.78.81.3, Port 22 2026-01-12 02:08:01,408 - DEBUG - VM ctest-TestBasicPolicy-51177675-27018310 is ready for SSH connections 2026-01-12 02:08:01,408 - INFO - Waiting for VM ctest-TestBasicPolicy-51177675-11306456 to be up.. 2026-01-12 02:08:01,507 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:08:01,507 - INFO - VM name : ctest-TestBasicPolicy-51177675-11306456 2026-01-12 02:08:01,594 - DEBUG - VM ctest-TestBasicPolicy-51177675-11306456 ID is 9a3f2f5a-2351-4386-85bd-84c4ec982b82 2026-01-12 02:08:01,595 - DEBUG - VM ctest-TestBasicPolicy-51177675-11306456 launched on Node cn-jenkins-deploy-platform-ansible-os-4986-1 2026-01-12 02:08:01,690 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9a3f2f5a-2351-4386-85bd-84c4ec982b82 2026-01-12 02:08:01,701 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0260d793-361b-47a6-937e-031e0bb561a3 2026-01-12 02:08:02,951 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.066/3.708/1.642 ms') 2026-01-12 02:08:02,952 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51177675-11306456 passed 2026-01-12 02:08:03,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:08:03,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51177675-11306456, IP 62.6.229.67, Port 22 2026-01-12 02:08:03,276 - DEBUG - VM ctest-TestBasicPolicy-51177675-11306456 is ready for SSH connections 2026-01-12 02:08:03,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:08:03,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.6.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-12 02:08:03,277 - DEBUG - ping -s 56 -c 3 -W 1 62.6.229.67 2026-01-12 02:08:07,439 - DEBUG - PING 62.6.229.67 (62.6.229.67): 56 data bytes 64 bytes from 62.6.229.67: seq=0 ttl=63 time=4.299 ms 64 bytes from 62.6.229.67: seq=1 ttl=63 time=1.002 ms 64 bytes from 62.6.229.67: seq=2 ttl=63 time=1.074 ms --- 62.6.229.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/2.125/4.299 ms 2026-01-12 02:08:07,439 - INFO - Ping to IP 62.6.229.67 from VM ctest-TestBasicPolicy-51177675-27018310 passed 2026-01-12 02:08:07,618 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0a6c65c0-69fe-4c81-9a73-8ae14faa51e0", "href": "http://10.0.0.141:8082/network-policy/0a6c65c0-69fe-4c81-9a73-8ae14faa51e0"}} 2026-01-12 02:08:07,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:08:07,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.6.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-12 02:08:07,618 - DEBUG - ping -s 56 -c 3 -W 1 62.6.229.67 2026-01-12 02:08:10,857 - DEBUG - PING 62.6.229.67 (62.6.229.67): 56 data bytes --- 62.6.229.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-12 02:08:10,858 - WARNING - Ping to IP 62.6.229.67 from VM ctest-TestBasicPolicy-51177675-27018310 failed 2026-01-12 02:08:10,858 - INFO - Deleting VM ctest-TestBasicPolicy-51177675-11306456 2026-01-12 02:08:10,946 - INFO - Deleting VM ctest-TestBasicPolicy-51177675-27018310 2026-01-12 02:08:11,366 - INFO - Deleted policy ctest-policy-allow-all-05594379 2026-01-12 02:08:11,366 - INFO - Deleting VN ctest-vn-82525089 2026-01-12 02:08:11,406 - DEBUG - VN d89adc10-e2fd-4a41-a10a-b622a8dacc84 still in use: Unable to complete operation on network d89adc10-e2fd-4a41-a10a-b622a8dacc84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31e4f302-987a-4ded-bcdf-36d8f8d585e0'] 2026-01-12 02:08:11,406 - WARNING - Deleting VN ctest-vn-82525089 failed..Will retry 2026-01-12 02:08:13,514 - DEBUG - Response for deleting network () 2026-01-12 02:08:13,514 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea 2026-01-12 02:08:13,524 - DEBUG - Response Code: 404 2026-01-12 02:08:13,524 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:08:13,530 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:08:13,584 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:08:13,662 - INFO - Validated that VN ctest-vn-82525089 is not found in API Server 2026-01-12 02:08:13,672 - DEBUG - VN ctest-vn-82525089 is not present in Agent 10.0.0.141 2026-01-12 02:08:13,673 - INFO - Validated that VN ctest-vn-82525089 is not in any agent 2026-01-12 02:08:13,689 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82525089 info 2026-01-12 02:08:13,689 - INFO - Deleting VN ctest-vn-08747367 2026-01-12 02:08:13,790 - DEBUG - Response for deleting network () 2026-01-12 02:08:13,790 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205 2026-01-12 02:08:13,796 - DEBUG - Response Code: 404 2026-01-12 02:08:13,796 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-12 02:08:13,802 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811 2026-01-12 02:08:13,855 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70 2026-01-12 02:08:13,932 - INFO - Validated that VN ctest-vn-08747367 is not found in API Server 2026-01-12 02:08:13,945 - DEBUG - VN ctest-vn-08747367 is not present in Agent 10.0.0.141 2026-01-12 02:08:13,945 - INFO - Validated that VN ctest-vn-08747367 is not in any agent 2026-01-12 02:08:13,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08747367 info 2026-01-12 02:08:14,219 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:08:14,219 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-01-12 02:08:14,219 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:08:14,980 - INFO - Deleted project: ctest-TestBasicPolicy-51177675, ID : 5f383d9c-a926-4667-a17d-e3d941a4aa70