2025-08-31 02:34:32,511 - INFO - Domain Default found not creating 2025-08-31 02:34:32,635 - INFO - Project ctest-TestBasicPolicy-77915727 not found, creating it 2025-08-31 02:34:33,059 - INFO - Created Project:ctest-TestBasicPolicy-77915727, ID : 21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:34:34,468 - INFO - ================================================================================ 2025-08-31 02:34:34,468 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-31 02:34:34,468 - 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-08-31 02:34:34,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 02:34:34,726 - INFO - Initial checks done. Running the testcase now 2025-08-31 02:34:34,726 - INFO - 2025-08-31 02:34:35,282 - DEBUG - Response for create_network : {'network': {'id': '1c4a57e9-e828-4380-abdd-c7ea795ddae0', 'name': 'ctest-vn-49316814', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'project_id': '21b747e7c52a44f7839957db31c60a2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-vn-49316814'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:34:35,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '25ecbbc2-faa5-46b1-9d6d-1d5850d3e041', 'name': '', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'network_id': '1c4a57e9-e828-4380-abdd-c7ea795ddae0', 'ip_version': 4, 'cidr': '6.93.109.64/26', 'allocation_pools': [{'start': '6.93.109.66', 'end': '6.93.109.126'}], 'gateway_ip': '6.93.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.93.109.66', 'tags': [], 'project_id': '21b747e7c52a44f7839957db31c60a2b'}} 2025-08-31 02:34:35,487 - INFO - Created VN ctest-vn-49316814 2025-08-31 02:34:35,542 - DEBUG - VN ctest-vn-49316814 UUID is 1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:35,880 - DEBUG - Response for create_network : {'network': {'id': 'c12afb68-4c3a-4bb5-aa2b-ebfff5f87480', 'name': 'ctest-vn-36173235', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'project_id': '21b747e7c52a44f7839957db31c60a2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-vn-36173235'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:34:36,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dd6e13c-e161-4305-b72d-0794a4144c0b', 'name': '', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'network_id': 'c12afb68-4c3a-4bb5-aa2b-ebfff5f87480', 'ip_version': 4, 'cidr': '122.213.2.64/26', 'allocation_pools': [{'start': '122.213.2.66', 'end': '122.213.2.126'}], 'gateway_ip': '122.213.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.213.2.66', 'tags': [], 'project_id': '21b747e7c52a44f7839957db31c60a2b'}} 2025-08-31 02:34:36,072 - INFO - Created VN ctest-vn-36173235 2025-08-31 02:34:36,122 - DEBUG - VN ctest-vn-36173235 UUID is c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:36,235 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814, 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-77915727:ctest-vn-36173235, 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-08-31 02:34:36,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c4a57e9-e828-4380-abdd-c7ea795ddae0', 'name': 'ctest-vn-49316814', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'project_id': '21b747e7c52a44f7839957db31c60a2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25ecbbc2-faa5-46b1-9d6d-1d5850d3e041'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-vn-49316814'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-policy-allow-all-00472208']], 'subnet_ipam': [{'subnet_cidr': '6.93.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:34:36,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c12afb68-4c3a-4bb5-aa2b-ebfff5f87480', 'name': 'ctest-vn-36173235', 'tenant_id': '21b747e7c52a44f7839957db31c60a2b', 'project_id': '21b747e7c52a44f7839957db31c60a2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dd6e13c-e161-4305-b72d-0794a4144c0b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-vn-36173235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-policy-allow-all-00472208']], 'subnet_ipam': [{'subnet_cidr': '122.213.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:34:37,070 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:34:37,392 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:34:37,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:34:37,445 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:34:37,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,531 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:34:37,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:34:37,542 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/972534c5-4755-4158-89c2-63b52890a266 2025-08-31 02:34:37,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 02:34:37,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,554 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:34:37,566 - INFO - Verified VN network id 12 for VN 1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,566 - INFO - Verifications in API Server for VN ctest-vn-49316814 passed 2025-08-31 02:34:37,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,573 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:34:37,578 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:34:37,583 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/972534c5-4755-4158-89c2-63b52890a266 2025-08-31 02:34:37,592 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77915727', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2038538443472520064', 'uuid-lslong': '12384274360211200736'}, 'enable': 'true', 'created': '2025-08-31T02:34:35', 'last-modified': '2025-08-31T02:34:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.083047'} 2025-08-31 02:34:37,597 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 02:34:37,597 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49316814 passed 2025-08-31 02:34:37,597 - DEBUG - ====Verifying policy data for ctest-vn-49316814 in API_Server ====== 2025-08-31 02:34:37,597 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:34:37,601 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:34:37,609 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:34:37,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4a57e9-e828-4380-abdd-c7ea795ddae0 2025-08-31 02:34:37,684 - DEBUG - ==>Verifying data for policy with id: 8cb10fca-a41e-4584-af0b-69aa63b23577, fqn: ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-policy-allow-all-00472208'] 2025-08-31 02:34:37,684 - INFO - VN ctest-vn-49316814 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 02:34:37,685 - DEBUG - Verifying the vn in opserver 2025-08-31 02:34:37,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814 virtual network link through opserver 10.0.0.50 2025-08-31 02:34:37,685 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 02:34:37,973 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 02:34:38,020 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814?flat'} 2025-08-31 02:34:38,020 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814 is found in opserver 2025-08-31 02:34:38,029 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 02:34:38,033 - DEBUG - VRF ids for VN ctest-vn-49316814: {} 2025-08-31 02:34:38,033 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:34:38,038 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:34:38,047 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:34:38,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,129 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:34:38,135 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:34:38,140 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/546ddae9-a3cc-434d-aa40-2c498e5a224a 2025-08-31 02:34:38,145 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 02:34:38,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,153 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:34:38,163 - INFO - Verified VN network id 13 for VN c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,163 - INFO - Verifications in API Server for VN ctest-vn-36173235 passed 2025-08-31 02:34:38,163 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,170 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:34:38,175 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:34:38,180 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/546ddae9-a3cc-434d-aa40-2c498e5a224a 2025-08-31 02:34:38,190 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-36173235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77915727', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13919214023715998645', 'uuid-lslong': '12262153895022195840'}, 'enable': 'true', 'created': '2025-08-31T02:34:35', 'last-modified': '2025-08-31T02:34:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366861'} 2025-08-31 02:34:38,194 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 02:34:38,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36173235 passed 2025-08-31 02:34:38,195 - DEBUG - ====Verifying policy data for ctest-vn-36173235 in API_Server ====== 2025-08-31 02:34:38,195 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:34:38,199 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:34:38,208 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:34:38,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 2025-08-31 02:34:38,282 - DEBUG - ==>Verifying data for policy with id: 8cb10fca-a41e-4584-af0b-69aa63b23577, fqn: ['default-domain', 'ctest-TestBasicPolicy-77915727', 'ctest-policy-allow-all-00472208'] 2025-08-31 02:34:38,282 - INFO - VN ctest-vn-36173235 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 02:34:38,282 - DEBUG - Verifying the vn in opserver 2025-08-31 02:34:38,282 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-36173235 virtual network link through opserver 10.0.0.50 2025-08-31 02:34:38,282 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 02:34:38,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-36173235', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-36173235?flat'} 2025-08-31 02:34:38,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-36173235 is found in opserver 2025-08-31 02:34:38,299 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 02:34:38,304 - DEBUG - VRF ids for VN ctest-vn-36173235: {} 2025-08-31 02:34:38,356 - DEBUG - Services list from nova: [, , ] 2025-08-31 02:34:39,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:34:40,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:34:40,463 - INFO - Waiting for VM ctest-TestBasicPolicy-77915727-72918776 to be up.. 2025-08-31 02:34:40,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 02:34:45,620 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:34:45,620 - INFO - VM name : ctest-TestBasicPolicy-77915727-72918776 2025-08-31 02:34:45,688 - DEBUG - VM ctest-TestBasicPolicy-77915727-72918776 ID is 7e21ed03-3329-48ba-8166-5298c1ce7912 2025-08-31 02:34:45,708 - DEBUG - VM ctest-TestBasicPolicy-77915727-72918776 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:34:45,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7e21ed03-3329-48ba-8166-5298c1ce7912 2025-08-31 02:34:45,787 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1bf409f9-eb96-413d-b618-ca615660ea7c 2025-08-31 02:34:49,041 - 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 1019ms') 2025-08-31 02:34:49,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77915727-72918776 failed! 2025-08-31 02:34:49,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77915727:ctest-vn-49316814 is 6.93.109.65 and allocation pool is NOT set 2025-08-31 02:34:51,153 - 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=5.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/2.919/5.349/2.430 ms') 2025-08-31 02:34:51,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77915727-72918776 passed 2025-08-31 02:34:51,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:34:51,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77915727-72918776, IP 6.93.109.67, Port 22 2025-08-31 02:34:51,361 - 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-08-31 02:34:51,433 - DEBUG - VM ctest-TestBasicPolicy-77915727-72918776 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-31 02:34:56,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:34:56,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77915727-72918776, IP 6.93.109.67, Port 22 2025-08-31 02:34:56,594 - DEBUG - VM ctest-TestBasicPolicy-77915727-72918776 is ready for SSH connections 2025-08-31 02:34:56,594 - INFO - Waiting for VM ctest-TestBasicPolicy-77915727-19380172 to be up.. 2025-08-31 02:34:56,675 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:34:56,675 - INFO - VM name : ctest-TestBasicPolicy-77915727-19380172 2025-08-31 02:34:56,753 - DEBUG - VM ctest-TestBasicPolicy-77915727-19380172 ID is a8b553ff-bf33-4493-acd3-34d316fd6b65 2025-08-31 02:34:56,753 - DEBUG - VM ctest-TestBasicPolicy-77915727-19380172 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:34:56,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a8b553ff-bf33-4493-acd3-34d316fd6b65 2025-08-31 02:34:56,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d2f58ca7-4144-412c-8abf-8a716c4d2cde 2025-08-31 02:34:58,085 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.650/2.831/1.181 ms') 2025-08-31 02:34:58,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77915727-19380172 passed 2025-08-31 02:34:58,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:34:58,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77915727-19380172, IP 122.213.2.67, Port 22 2025-08-31 02:34:58,405 - DEBUG - VM ctest-TestBasicPolicy-77915727-19380172 is ready for SSH connections 2025-08-31 02:34:58,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:34:58,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.213.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:34:58,406 - DEBUG - ping -s 56 -c 3 -W 1 122.213.2.67 2025-08-31 02:35:02,061 - DEBUG - PING 122.213.2.67 (122.213.2.67): 56 data bytes 64 bytes from 122.213.2.67: seq=0 ttl=63 time=4.622 ms 64 bytes from 122.213.2.67: seq=1 ttl=63 time=0.760 ms 64 bytes from 122.213.2.67: seq=2 ttl=63 time=0.791 ms --- 122.213.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/2.057/4.622 ms 2025-08-31 02:35:02,061 - INFO - Ping to IP 122.213.2.67 from VM ctest-TestBasicPolicy-77915727-72918776 passed 2025-08-31 02:35:02,241 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8cb10fca-a41e-4584-af0b-69aa63b23577", "href": "http://10.0.0.50:8082/network-policy/8cb10fca-a41e-4584-af0b-69aa63b23577"}} 2025-08-31 02:35:02,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:35:02,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.213.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:35:02,242 - DEBUG - ping -s 56 -c 3 -W 1 122.213.2.67 2025-08-31 02:35:05,458 - DEBUG - PING 122.213.2.67 (122.213.2.67): 56 data bytes --- 122.213.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 02:35:05,458 - WARNING - Ping to IP 122.213.2.67 from VM ctest-TestBasicPolicy-77915727-72918776 failed 2025-08-31 02:35:05,458 - INFO - Deleting VM ctest-TestBasicPolicy-77915727-19380172 2025-08-31 02:35:05,521 - INFO - Deleting VM ctest-TestBasicPolicy-77915727-72918776 2025-08-31 02:35:05,876 - INFO - Deleted policy ctest-policy-allow-all-00472208 2025-08-31 02:35:05,876 - INFO - Deleting VN ctest-vn-36173235 2025-08-31 02:35:05,920 - DEBUG - VN c12afb68-4c3a-4bb5-aa2b-ebfff5f87480 still in use: Unable to complete operation on network c12afb68-4c3a-4bb5-aa2b-ebfff5f87480. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4009cbfc-8493-45f4-b718-8de60af766ca'] 2025-08-31 02:35:05,920 - WARNING - Deleting VN ctest-vn-36173235 failed..Will retry 2025-08-31 02:35:08,002 - DEBUG - Response for deleting network () 2025-08-31 02:35:08,003 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e56ea5dd-3cd3-4a10-a0c6-2c7f872c0e27 2025-08-31 02:35:08,007 - DEBUG - Response Code: 404 2025-08-31 02:35:08,007 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:35:08,016 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:35:08,067 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:35:08,132 - INFO - Validated that VN ctest-vn-36173235 is not found in API Server 2025-08-31 02:35:08,140 - DEBUG - VN ctest-vn-36173235 is not present in Agent 10.0.0.50 2025-08-31 02:35:08,140 - INFO - Validated that VN ctest-vn-36173235 is not in any agent 2025-08-31 02:35:08,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36173235 info 2025-08-31 02:35:08,152 - INFO - Deleting VN ctest-vn-49316814 2025-08-31 02:35:08,237 - DEBUG - Response for deleting network () 2025-08-31 02:35:08,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d5d21d0-1d55-4d69-965b-e8be7c1d2427 2025-08-31 02:35:08,241 - DEBUG - Response Code: 404 2025-08-31 02:35:08,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 02:35:08,250 - DEBUG - Requesting: http://10.0.0.50:8082/domain/70d7e6a2-f546-44a0-8971-885b2793ec9a 2025-08-31 02:35:08,306 - DEBUG - Requesting: http://10.0.0.50:8082/project/21b747e7-c52a-44f7-8399-57db31c60a2b 2025-08-31 02:35:08,373 - INFO - Validated that VN ctest-vn-49316814 is not found in API Server 2025-08-31 02:35:08,382 - DEBUG - VN ctest-vn-49316814 is not present in Agent 10.0.0.50 2025-08-31 02:35:08,382 - INFO - Validated that VN ctest-vn-49316814 is not in any agent 2025-08-31 02:35:08,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49316814 info 2025-08-31 02:35:08,646 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 02:35:08,646 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-08-31 02:35:08,646 - INFO - -------------------------------------------------------------------------------- 2025-08-31 02:35:09,293 - INFO - Deleted project: ctest-TestBasicPolicy-77915727, ID : 21b747e7-c52a-44f7-8399-57db31c60a2b