2025-10-20 02:12:35,375 - INFO - Domain Default found not creating 2025-10-20 02:12:35,521 - INFO - Project ctest-TestBasicPolicy-49759675 not found, creating it 2025-10-20 02:12:36,038 - INFO - Created Project:ctest-TestBasicPolicy-49759675, ID : eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:12:37,585 - INFO - ================================================================================ 2025-10-20 02:12:37,585 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 02:12:37,586 - 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-20 02:12:37,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-10-20 02:12:37,839 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:12:37,839 - INFO - 2025-10-20 02:12:38,403 - DEBUG - Response for create_network : {'network': {'id': 'a8971c45-0bcd-4b1b-a851-9e38c36b1541', 'name': 'ctest-vn-28072183', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'project_id': 'eecbfe74355e45f1b6a62327f3168722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-vn-28072183'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:12:38,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d62b11a-0f13-450b-a5b5-c96ef6da89f0', 'name': '', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'network_id': 'a8971c45-0bcd-4b1b-a851-9e38c36b1541', 'ip_version': 4, 'cidr': '167.155.106.128/26', 'allocation_pools': [{'start': '167.155.106.130', 'end': '167.155.106.190'}], 'gateway_ip': '167.155.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.155.106.130', 'tags': [], 'project_id': 'eecbfe74355e45f1b6a62327f3168722'}} 2025-10-20 02:12:38,599 - INFO - Created VN ctest-vn-28072183 2025-10-20 02:12:38,650 - DEBUG - VN ctest-vn-28072183 UUID is a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:38,973 - DEBUG - Response for create_network : {'network': {'id': 'a4efb5e0-566d-45dc-9cfa-0ddbeed9a262', 'name': 'ctest-vn-39877456', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'project_id': 'eecbfe74355e45f1b6a62327f3168722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-vn-39877456'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:12:39,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '502ecf11-cf70-43a2-9108-212aa4b3f546', 'name': '', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'network_id': 'a4efb5e0-566d-45dc-9cfa-0ddbeed9a262', 'ip_version': 4, 'cidr': '51.167.155.192/26', 'allocation_pools': [{'start': '51.167.155.194', 'end': '51.167.155.254'}], 'gateway_ip': '51.167.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.167.155.194', 'tags': [], 'project_id': 'eecbfe74355e45f1b6a62327f3168722'}} 2025-10-20 02:12:39,180 - INFO - Created VN ctest-vn-39877456 2025-10-20 02:12:39,234 - DEBUG - VN ctest-vn-39877456 UUID is a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:39,347 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183, 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-49759675:ctest-vn-39877456, 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-20 02:12:39,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8971c45-0bcd-4b1b-a851-9e38c36b1541', 'name': 'ctest-vn-28072183', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'project_id': 'eecbfe74355e45f1b6a62327f3168722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d62b11a-0f13-450b-a5b5-c96ef6da89f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-vn-28072183'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-policy-allow-all-41294694']], 'subnet_ipam': [{'subnet_cidr': '167.155.106.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:12:39,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4efb5e0-566d-45dc-9cfa-0ddbeed9a262', 'name': 'ctest-vn-39877456', 'tenant_id': 'eecbfe74355e45f1b6a62327f3168722', 'project_id': 'eecbfe74355e45f1b6a62327f3168722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['502ecf11-cf70-43a2-9108-212aa4b3f546'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-vn-39877456'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-policy-allow-all-41294694']], 'subnet_ipam': [{'subnet_cidr': '51.167.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:12:40,066 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:12:40,406 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:12:40,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:12:40,445 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:12:40,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,536 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:12:40,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:12:40,550 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8915c4fa-69dc-4989-962b-74b53cc879aa 2025-10-20 02:12:40,555 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 02:12:40,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:12:40,576 - INFO - Verified VN network id 11 for VN a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,576 - INFO - Verifications in API Server for VN ctest-vn-28072183 passed 2025-10-20 02:12:40,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,584 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:12:40,590 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:12:40,596 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8915c4fa-69dc-4989-962b-74b53cc879aa 2025-10-20 02:12:40,606 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49759675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12148209602731526939', 'uuid-lslong': '12128649238119388481'}, 'enable': 'true', 'created': '2025-10-20T02:12:38', 'last-modified': '2025-10-20T02:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986969'} 2025-10-20 02:12:40,611 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 02:12:40,611 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28072183 passed 2025-10-20 02:12:40,612 - DEBUG - ====Verifying policy data for ctest-vn-28072183 in API_Server ====== 2025-10-20 02:12:40,612 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:12:40,616 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:12:40,626 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:12:40,697 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8971c45-0bcd-4b1b-a851-9e38c36b1541 2025-10-20 02:12:40,706 - DEBUG - ==>Verifying data for policy with id: b8e7dd00-5b31-478d-a218-506e44519899, fqn: ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-policy-allow-all-41294694'] 2025-10-20 02:12:40,706 - INFO - VN ctest-vn-28072183 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 02:12:40,706 - DEBUG - Verifying the vn in opserver 2025-10-20 02:12:40,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183 virtual network link through opserver 10.0.0.38 2025-10-20 02:12:40,706 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-20 02:12:41,035 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-20 02:12:41,092 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183?flat'} 2025-10-20 02:12:41,092 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183 is found in opserver 2025-10-20 02:12:41,101 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 02:12:41,106 - DEBUG - VRF ids for VN ctest-vn-28072183: {} 2025-10-20 02:12:41,106 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:12:41,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:12:41,123 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:12:41,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:12:41,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:12:41,228 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85565594-95d3-402e-9f43-c0c2b59fa8fb 2025-10-20 02:12:41,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 02:12:41,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:12:41,259 - INFO - Verified VN network id 12 for VN a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,259 - INFO - Verifications in API Server for VN ctest-vn-39877456 passed 2025-10-20 02:12:41,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:12:41,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:12:41,283 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85565594-95d3-402e-9f43-c0c2b59fa8fb 2025-10-20 02:12:41,299 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-39877456', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49759675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11884917916781331932', 'uuid-lslong': '11311368652350661218'}, 'enable': 'true', 'created': '2025-10-20T02:12:38', 'last-modified': '2025-10-20T02:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447028'} 2025-10-20 02:12:41,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 02:12:41,308 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39877456 passed 2025-10-20 02:12:41,308 - DEBUG - ====Verifying policy data for ctest-vn-39877456 in API_Server ====== 2025-10-20 02:12:41,308 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:12:41,316 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:12:41,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:12:41,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 2025-10-20 02:12:41,418 - DEBUG - ==>Verifying data for policy with id: b8e7dd00-5b31-478d-a218-506e44519899, fqn: ['default-domain', 'ctest-TestBasicPolicy-49759675', 'ctest-policy-allow-all-41294694'] 2025-10-20 02:12:41,418 - INFO - VN ctest-vn-39877456 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 02:12:41,418 - DEBUG - Verifying the vn in opserver 2025-10-20 02:12:41,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-39877456 virtual network link through opserver 10.0.0.38 2025-10-20 02:12:41,418 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-20 02:12:41,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-39877456', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-39877456?flat'} 2025-10-20 02:12:41,431 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-39877456 is found in opserver 2025-10-20 02:12:41,442 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 02:12:41,447 - DEBUG - VRF ids for VN ctest-vn-39877456: {} 2025-10-20 02:12:41,520 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:12:42,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:12:43,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:12:43,821 - INFO - Waiting for VM ctest-TestBasicPolicy-49759675-75232465 to be up.. 2025-10-20 02:12:43,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:12:49,017 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:12:49,017 - INFO - VM name : ctest-TestBasicPolicy-49759675-75232465 2025-10-20 02:12:49,105 - DEBUG - VM ctest-TestBasicPolicy-49759675-75232465 ID is 0274b188-cbba-4d8c-a49d-534a03bec075 2025-10-20 02:12:49,129 - DEBUG - VM ctest-TestBasicPolicy-49759675-75232465 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:12:49,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0274b188-cbba-4d8c-a49d-534a03bec075 2025-10-20 02:12:49,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6e2eabaf-ea7b-469e-b14b-2b7db4819006 2025-10-20 02:12:52,489 - 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 1013ms') 2025-10-20 02:12:52,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49759675-75232465 failed! 2025-10-20 02:12:52,546 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49759675:ctest-vn-28072183 is 167.155.106.129 and allocation pool is NOT set 2025-10-20 02:12:54,605 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.675 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 = 0.675/4.660/8.645/3.985 ms') 2025-10-20 02:12:54,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49759675-75232465 passed 2025-10-20 02:12:54,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:12:54,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49759675-75232465, IP 167.155.106.131, Port 22 2025-10-20 02:12:54,824 - 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-20 02:12:54,897 - DEBUG - VM ctest-TestBasicPolicy-49759675-75232465 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 02:12:59,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:12:59,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49759675-75232465, IP 167.155.106.131, Port 22 2025-10-20 02:13:00,053 - DEBUG - VM ctest-TestBasicPolicy-49759675-75232465 is ready for SSH connections 2025-10-20 02:13:00,054 - INFO - Waiting for VM ctest-TestBasicPolicy-49759675-32684454 to be up.. 2025-10-20 02:13:00,132 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:13:00,132 - INFO - VM name : ctest-TestBasicPolicy-49759675-32684454 2025-10-20 02:13:00,208 - DEBUG - VM ctest-TestBasicPolicy-49759675-32684454 ID is 52850a3c-1d88-41ef-92ea-5d29ecbe6704 2025-10-20 02:13:00,208 - DEBUG - VM ctest-TestBasicPolicy-49759675-32684454 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:13:00,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/52850a3c-1d88-41ef-92ea-5d29ecbe6704 2025-10-20 02:13:00,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8cd7396d-0c0a-4828-94fa-fb7756394a20 2025-10-20 02:13:01,516 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.848/3.285/1.437 ms') 2025-10-20 02:13:01,516 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49759675-32684454 passed 2025-10-20 02:13:01,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:13:01,666 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49759675-32684454, IP 51.167.155.195, Port 22 2025-10-20 02:13:01,836 - DEBUG - VM ctest-TestBasicPolicy-49759675-32684454 is ready for SSH connections 2025-10-20 02:13:01,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:13:01,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.167.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:13:01,837 - DEBUG - ping -s 56 -c 3 -W 1 51.167.155.195 2025-10-20 02:13:05,945 - DEBUG - PING 51.167.155.195 (51.167.155.195): 56 data bytes 64 bytes from 51.167.155.195: seq=0 ttl=63 time=4.009 ms 64 bytes from 51.167.155.195: seq=1 ttl=63 time=1.141 ms 64 bytes from 51.167.155.195: seq=2 ttl=63 time=0.832 ms --- 51.167.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.994/4.009 ms 2025-10-20 02:13:05,945 - INFO - Ping to IP 51.167.155.195 from VM ctest-TestBasicPolicy-49759675-75232465 passed 2025-10-20 02:13:06,113 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b8e7dd00-5b31-478d-a218-506e44519899", "href": "http://10.0.0.38:8082/network-policy/b8e7dd00-5b31-478d-a218-506e44519899"}} 2025-10-20 02:13:06,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:13:06,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.167.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:13:06,114 - DEBUG - ping -s 56 -c 3 -W 1 51.167.155.195 2025-10-20 02:13:09,341 - DEBUG - PING 51.167.155.195 (51.167.155.195): 56 data bytes --- 51.167.155.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 02:13:09,341 - WARNING - Ping to IP 51.167.155.195 from VM ctest-TestBasicPolicy-49759675-75232465 failed 2025-10-20 02:13:09,341 - INFO - Deleting VM ctest-TestBasicPolicy-49759675-32684454 2025-10-20 02:13:09,418 - INFO - Deleting VM ctest-TestBasicPolicy-49759675-75232465 2025-10-20 02:13:09,866 - INFO - Deleted policy ctest-policy-allow-all-41294694 2025-10-20 02:13:09,866 - INFO - Deleting VN ctest-vn-39877456 2025-10-20 02:13:09,904 - DEBUG - VN a4efb5e0-566d-45dc-9cfa-0ddbeed9a262 still in use: Unable to complete operation on network a4efb5e0-566d-45dc-9cfa-0ddbeed9a262. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96f13e28-76ff-494f-a143-e02fff75cf2f'] 2025-10-20 02:13:09,904 - WARNING - Deleting VN ctest-vn-39877456 failed..Will retry 2025-10-20 02:13:12,012 - DEBUG - Response for deleting network () 2025-10-20 02:13:12,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd847e30-ce04-48b9-855c-5be2c7291fdb 2025-10-20 02:13:12,018 - DEBUG - Response Code: 404 2025-10-20 02:13:12,018 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:13:12,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:13:12,080 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:13:12,150 - INFO - Validated that VN ctest-vn-39877456 is not found in API Server 2025-10-20 02:13:12,159 - DEBUG - VN ctest-vn-39877456 is not present in Agent 10.0.0.38 2025-10-20 02:13:12,159 - INFO - Validated that VN ctest-vn-39877456 is not in any agent 2025-10-20 02:13:12,174 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39877456 info 2025-10-20 02:13:12,174 - INFO - Deleting VN ctest-vn-28072183 2025-10-20 02:13:12,274 - DEBUG - Response for deleting network () 2025-10-20 02:13:12,275 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46c7ed92-bb96-4f62-b8aa-86817165a52c 2025-10-20 02:13:12,282 - DEBUG - Response Code: 404 2025-10-20 02:13:12,282 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-20 02:13:12,287 - DEBUG - Requesting: http://10.0.0.38:8082/domain/312264c3-a2f3-4ed3-ae26-6820a78f0c55 2025-10-20 02:13:12,339 - DEBUG - Requesting: http://10.0.0.38:8082/project/eecbfe74-355e-45f1-b6a6-2327f3168722 2025-10-20 02:13:12,412 - INFO - Validated that VN ctest-vn-28072183 is not found in API Server 2025-10-20 02:13:12,422 - DEBUG - VN ctest-vn-28072183 is not present in Agent 10.0.0.38 2025-10-20 02:13:12,422 - INFO - Validated that VN ctest-vn-28072183 is not in any agent 2025-10-20 02:13:12,436 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28072183 info 2025-10-20 02:13:12,690 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 02:13:12,690 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-20 02:13:12,690 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:13:13,406 - INFO - Deleted project: ctest-TestBasicPolicy-49759675, ID : eecbfe74-355e-45f1-b6a6-2327f3168722