2026-02-03 02:36:07,998 - INFO - Domain Default found not creating 2026-02-03 02:36:08,152 - INFO - Project ctest-TestBasicPolicy-72347590 not found, creating it 2026-02-03 02:36:08,602 - INFO - Created Project:ctest-TestBasicPolicy-72347590, ID : 875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:10,024 - INFO - ================================================================================ 2026-02-03 02:36:10,024 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 02:36:10,024 - 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-02-03 02:36:10,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2026-02-03 02:36:10,291 - INFO - Initial checks done. Running the testcase now 2026-02-03 02:36:10,291 - INFO - 2026-02-03 02:36:10,812 - DEBUG - Response for create_network : {'network': {'id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'name': 'ctest-vn-52735656', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-52735656'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:36:10,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ad571fc-6e27-40da-aee7-d8659f9423ce', 'name': '', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'network_id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'ip_version': 4, 'cidr': '131.108.117.0/26', 'allocation_pools': [{'start': '131.108.117.2', 'end': '131.108.117.62'}], 'gateway_ip': '131.108.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.108.117.2', 'tags': [], 'project_id': '875db39d501d4f49a37d2aacd3875319'}} 2026-02-03 02:36:10,991 - INFO - Created VN ctest-vn-52735656 2026-02-03 02:36:11,046 - DEBUG - VN ctest-vn-52735656 UUID is b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:11,374 - DEBUG - Response for create_network : {'network': {'id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'name': 'ctest-vn-19134401', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-19134401'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:36:11,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f961edc-dbf9-40c4-8db5-c9fc11bf240e', 'name': '', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'network_id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'ip_version': 4, 'cidr': '1.94.16.192/26', 'allocation_pools': [{'start': '1.94.16.194', 'end': '1.94.16.254'}], 'gateway_ip': '1.94.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.94.16.194', 'tags': [], 'project_id': '875db39d501d4f49a37d2aacd3875319'}} 2026-02-03 02:36:11,586 - INFO - Created VN ctest-vn-19134401 2026-02-03 02:36:11,638 - DEBUG - VN ctest-vn-19134401 UUID is de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:11,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656, 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-72347590:ctest-vn-19134401, 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-02-03 02:36:12,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'name': 'ctest-vn-52735656', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ad571fc-6e27-40da-aee7-d8659f9423ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-52735656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']], 'subnet_ipam': [{'subnet_cidr': '131.108.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:36:12,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'name': 'ctest-vn-19134401', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f961edc-dbf9-40c4-8db5-c9fc11bf240e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-19134401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']], 'subnet_ipam': [{'subnet_cidr': '1.94.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:36:12,438 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:12,734 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:12,763 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:12,773 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:12,845 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:12,855 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:12,865 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:12,871 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:12,880 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c74ae6b1-f569-4db3-9a56-0736ca6136c9 2026-02-03 02:36:12,887 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 02:36:12,887 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:12,897 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:12,909 - INFO - Verified VN network id 11 for VN b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:12,909 - INFO - Verifications in API Server for VN ctest-vn-52735656 passed 2026-02-03 02:36:12,909 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:12,918 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:12,924 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:12,931 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c74ae6b1-f569-4db3-9a56-0736ca6136c9 2026-02-03 02:36:12,943 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72347590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13050784069979883915', 'uuid-lslong': '10150589703307670923'}, 'enable': 'true', 'created': '2026-02-03T02:36:10', 'last-modified': '2026-02-03T02:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905014'} 2026-02-03 02:36:12,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 02:36:12,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52735656 passed 2026-02-03 02:36:12,949 - DEBUG - ====Verifying policy data for ctest-vn-52735656 in API_Server ====== 2026-02-03 02:36:12,949 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:12,955 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:12,965 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:13,036 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b 2026-02-03 02:36:13,045 - DEBUG - ==>Verifying data for policy with id: 106e67dc-85b7-46be-bcab-297111eeebd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072'] 2026-02-03 02:36:13,045 - INFO - VN ctest-vn-52735656 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 02:36:13,045 - DEBUG - Verifying the vn in opserver 2026-02-03 02:36:13,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656 virtual network link through opserver 10.0.0.130 2026-02-03 02:36:13,045 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-03 02:36:13,339 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-03 02:36:13,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656?flat'} 2026-02-03 02:36:13,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656 is found in opserver 2026-02-03 02:36:13,405 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 02:36:13,409 - DEBUG - VRF ids for VN ctest-vn-52735656: {} 2026-02-03 02:36:13,409 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:13,414 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:13,425 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:13,495 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,507 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,516 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:13,523 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:13,531 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f8fe4b8e-605f-4fa0-9b39-e220b011bf31 2026-02-03 02:36:13,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 02:36:13,537 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,545 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:13,559 - INFO - Verified VN network id 12 for VN de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,559 - INFO - Verifications in API Server for VN ctest-vn-19134401 passed 2026-02-03 02:36:13,559 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,568 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:13,575 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:13,582 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f8fe4b8e-605f-4fa0-9b39-e220b011bf31 2026-02-03 02:36:13,595 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72347590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16036704701876290966', 'uuid-lslong': '11760592084215752313'}, 'enable': 'true', 'created': '2026-02-03T02:36:11', 'last-modified': '2026-02-03T02:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340540'} 2026-02-03 02:36:13,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 02:36:13,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19134401 passed 2026-02-03 02:36:13,602 - DEBUG - ====Verifying policy data for ctest-vn-19134401 in API_Server ====== 2026-02-03 02:36:13,602 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:13,607 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:13,618 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:13,688 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679 2026-02-03 02:36:13,697 - DEBUG - ==>Verifying data for policy with id: 106e67dc-85b7-46be-bcab-297111eeebd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072'] 2026-02-03 02:36:13,697 - INFO - VN ctest-vn-19134401 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 02:36:13,697 - DEBUG - Verifying the vn in opserver 2026-02-03 02:36:13,697 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401 virtual network link through opserver 10.0.0.130 2026-02-03 02:36:13,697 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-03 02:36:13,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401?flat'} 2026-02-03 02:36:13,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401 is found in opserver 2026-02-03 02:36:13,714 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 02:36:13,718 - DEBUG - VRF ids for VN ctest-vn-19134401: {} 2026-02-03 02:36:13,774 - DEBUG - Services list from nova: [, , ] 2026-02-03 02:36:14,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5182-1) 2026-02-03 02:36:15,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5182-1) 2026-02-03 02:36:15,920 - INFO - Waiting for VM ctest-TestBasicPolicy-72347590-24727250 to be up.. 2026-02-03 02:36:15,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 02:36:21,070 - DEBUG - VM is in ACTIVE state now 2026-02-03 02:36:21,070 - INFO - VM name : ctest-TestBasicPolicy-72347590-24727250 2026-02-03 02:36:21,137 - DEBUG - VM ctest-TestBasicPolicy-72347590-24727250 ID is df644261-45e5-4f65-b767-2c1ce0a456f9 2026-02-03 02:36:21,155 - DEBUG - VM ctest-TestBasicPolicy-72347590-24727250 launched on Node cn-jenkins-deploy-platform-ansible-os-5182-1 2026-02-03 02:36:21,222 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/df644261-45e5-4f65-b767-2c1ce0a456f9 2026-02-03 02:36:21,229 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bb96d25d-31b3-44f9-9d24-b73eb50a8cfc 2026-02-03 02:36:24,466 - 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-02-03 02:36:24,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72347590-24727250 failed! 2026-02-03 02:36:24,522 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656 is 131.108.117.1 and allocation pool is NOT set 2026-02-03 02:36:26,587 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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.685/4.925/8.165/3.240 ms') 2026-02-03 02:36:26,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72347590-24727250 passed 2026-02-03 02:36:26,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:36:26,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72347590-24727250, IP 131.108.117.3, Port 22 2026-02-03 02:36:26,789 - 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-02-03 02:36:26,861 - DEBUG - VM ctest-TestBasicPolicy-72347590-24727250 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 02:36:31,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:36:31,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72347590-24727250, IP 131.108.117.3, Port 22 2026-02-03 02:36:32,017 - DEBUG - VM ctest-TestBasicPolicy-72347590-24727250 is ready for SSH connections 2026-02-03 02:36:32,018 - INFO - Waiting for VM ctest-TestBasicPolicy-72347590-46845072 to be up.. 2026-02-03 02:36:32,085 - DEBUG - VM is in ACTIVE state now 2026-02-03 02:36:32,085 - INFO - VM name : ctest-TestBasicPolicy-72347590-46845072 2026-02-03 02:36:32,150 - DEBUG - VM ctest-TestBasicPolicy-72347590-46845072 ID is db166017-39e2-4866-b775-c2c7130fbe2e 2026-02-03 02:36:32,150 - DEBUG - VM ctest-TestBasicPolicy-72347590-46845072 launched on Node cn-jenkins-deploy-platform-ansible-os-5182-1 2026-02-03 02:36:32,216 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/db166017-39e2-4866-b775-c2c7130fbe2e 2026-02-03 02:36:32,223 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2bd24fa3-b597-4608-a151-062f652ff3a8 2026-02-03 02:36:33,459 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.666/2.947/1.281 ms') 2026-02-03 02:36:33,459 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72347590-46845072 passed 2026-02-03 02:36:33,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:36:33,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72347590-46845072, IP 1.94.16.195, Port 22 2026-02-03 02:36:33,757 - DEBUG - VM ctest-TestBasicPolicy-72347590-46845072 is ready for SSH connections 2026-02-03 02:36:33,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:36:33,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.94.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-02-03 02:36:33,757 - DEBUG - ping -s 56 -c 3 -W 1 1.94.16.195 2026-02-03 02:36:37,738 - DEBUG - PING 1.94.16.195 (1.94.16.195): 56 data bytes 64 bytes from 1.94.16.195: seq=0 ttl=63 time=3.618 ms 64 bytes from 1.94.16.195: seq=1 ttl=63 time=0.726 ms 64 bytes from 1.94.16.195: seq=2 ttl=63 time=0.831 ms --- 1.94.16.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.725/3.618 ms 2026-02-03 02:36:37,739 - INFO - Ping to IP 1.94.16.195 from VM ctest-TestBasicPolicy-72347590-24727250 passed 2026-02-03 02:36:37,914 - DEBUG - Policy Update Response {"network-policy": {"uuid": "106e67dc-85b7-46be-bcab-297111eeebd9", "href": "http://10.0.0.130:8082/network-policy/106e67dc-85b7-46be-bcab-297111eeebd9"}} 2026-02-03 02:36:37,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:36:37,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.94.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-02-03 02:36:37,914 - DEBUG - ping -s 56 -c 3 -W 1 1.94.16.195 2026-02-03 02:36:41,141 - DEBUG - PING 1.94.16.195 (1.94.16.195): 56 data bytes --- 1.94.16.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-03 02:36:41,141 - WARNING - Ping to IP 1.94.16.195 from VM ctest-TestBasicPolicy-72347590-24727250 failed 2026-02-03 02:36:41,141 - INFO - Deleting VM ctest-TestBasicPolicy-72347590-46845072 2026-02-03 02:36:41,204 - INFO - Deleting VM ctest-TestBasicPolicy-72347590-24727250 2026-02-03 02:36:41,546 - INFO - Deleted policy ctest-policy-allow-all-54376072 2026-02-03 02:36:41,546 - INFO - Deleting VN ctest-vn-19134401 2026-02-03 02:36:41,583 - DEBUG - VN de8dd1f5-d32c-4596-a336-0430b7f36679 still in use: Unable to complete operation on network de8dd1f5-d32c-4596-a336-0430b7f36679. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-244d08dc-372a-4b04-9b9e-0a435ae56a64'] 2026-02-03 02:36:41,583 - WARNING - Deleting VN ctest-vn-19134401 failed..Will retry 2026-02-03 02:36:43,678 - DEBUG - Response for deleting network () 2026-02-03 02:36:43,678 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c 2026-02-03 02:36:43,684 - DEBUG - Response Code: 404 2026-02-03 02:36:43,684 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:43,689 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:43,743 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:43,809 - INFO - Validated that VN ctest-vn-19134401 is not found in API Server 2026-02-03 02:36:43,818 - DEBUG - VN ctest-vn-19134401 is not present in Agent 10.0.0.130 2026-02-03 02:36:43,818 - INFO - Validated that VN ctest-vn-19134401 is not in any agent 2026-02-03 02:36:43,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19134401 info 2026-02-03 02:36:43,830 - INFO - Deleting VN ctest-vn-52735656 2026-02-03 02:36:43,917 - DEBUG - Response for deleting network () 2026-02-03 02:36:43,917 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250 2026-02-03 02:36:43,921 - DEBUG - Response Code: 404 2026-02-03 02:36:43,921 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-03 02:36:43,925 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5 2026-02-03 02:36:43,974 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319 2026-02-03 02:36:44,046 - INFO - Validated that VN ctest-vn-52735656 is not found in API Server 2026-02-03 02:36:44,054 - DEBUG - VN ctest-vn-52735656 is not present in Agent 10.0.0.130 2026-02-03 02:36:44,054 - INFO - Validated that VN ctest-vn-52735656 is not in any agent 2026-02-03 02:36:44,066 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52735656 info 2026-02-03 02:36:44,320 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 02:36:44,320 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-03 02:36:44,320 - INFO - -------------------------------------------------------------------------------- 2026-02-03 02:36:45,014 - INFO - Deleted project: ctest-TestBasicPolicy-72347590, ID : 875db39d-501d-4f49-a37d-2aacd3875319