2025-07-21 02:30:46,013 - INFO - Domain Default found not creating 2025-07-21 02:30:46,343 - INFO - Project ctest-TestBasicPolicy-54023415 not found, creating it 2025-07-21 02:30:46,925 - INFO - Created Project:ctest-TestBasicPolicy-54023415, ID : 6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:30:49,085 - INFO - ================================================================================ 2025-07-21 02:30:49,085 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 02:30:49,085 - 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-07-21 02:30:49,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0'}} with 2025-07-21 02:30:49,409 - INFO - Initial checks done. Running the testcase now 2025-07-21 02:30:49,409 - INFO - 2025-07-21 02:30:50,207 - DEBUG - Response for create_network : {'network': {'id': '8d1d2940-6009-43fa-8ede-697d2645fdf3', 'name': 'ctest-vn-75357746', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'project_id': '6a2a271af1b543b5b5975fb97395f980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-vn-75357746'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:30:50,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cbcf54d-fef7-428c-a1da-ea1c5aa969d2', 'name': '', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'network_id': '8d1d2940-6009-43fa-8ede-697d2645fdf3', 'ip_version': 4, 'cidr': '153.31.47.192/26', 'allocation_pools': [{'start': '153.31.47.194', 'end': '153.31.47.254'}], 'gateway_ip': '153.31.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.31.47.194', 'tags': [], 'project_id': '6a2a271af1b543b5b5975fb97395f980'}} 2025-07-21 02:30:50,456 - INFO - Created VN ctest-vn-75357746 2025-07-21 02:30:50,513 - DEBUG - VN ctest-vn-75357746 UUID is 8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:50,956 - DEBUG - Response for create_network : {'network': {'id': '64438c18-4ac5-4edb-95ae-ec49bd0c633f', 'name': 'ctest-vn-50143644', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'project_id': '6a2a271af1b543b5b5975fb97395f980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-vn-50143644'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:30:51,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e4741f7-c43b-4c7c-b98a-b79cbda0979d', 'name': '', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'network_id': '64438c18-4ac5-4edb-95ae-ec49bd0c633f', 'ip_version': 4, 'cidr': '223.251.7.64/26', 'allocation_pools': [{'start': '223.251.7.66', 'end': '223.251.7.126'}], 'gateway_ip': '223.251.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.251.7.66', 'tags': [], 'project_id': '6a2a271af1b543b5b5975fb97395f980'}} 2025-07-21 02:30:51,256 - INFO - Created VN ctest-vn-50143644 2025-07-21 02:30:51,325 - DEBUG - VN ctest-vn-50143644 UUID is 64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:51,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746, 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-54023415:ctest-vn-50143644, 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-07-21 02:30:51,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d1d2940-6009-43fa-8ede-697d2645fdf3', 'name': 'ctest-vn-75357746', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'project_id': '6a2a271af1b543b5b5975fb97395f980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6cbcf54d-fef7-428c-a1da-ea1c5aa969d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-vn-75357746'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-policy-allow-all-02369219']], 'subnet_ipam': [{'subnet_cidr': '153.31.47.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:30:52,280 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '64438c18-4ac5-4edb-95ae-ec49bd0c633f', 'name': 'ctest-vn-50143644', 'tenant_id': '6a2a271af1b543b5b5975fb97395f980', 'project_id': '6a2a271af1b543b5b5975fb97395f980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e4741f7-c43b-4c7c-b98a-b79cbda0979d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-vn-50143644'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-policy-allow-all-02369219']], 'subnet_ipam': [{'subnet_cidr': '223.251.7.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:30:52,453 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:30:52,782 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:30:52,834 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:30:52,869 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:30:53,002 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,030 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,055 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:30:53,075 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:30:53,096 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/ed40cdde-db5d-40e1-af88-5ca56348c52e 2025-07-21 02:30:53,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:30:53,119 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,153 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:30:53,203 - INFO - Verified VN network id 7 for VN 8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,203 - INFO - Verifications in API Server for VN ctest-vn-75357746 passed 2025-07-21 02:30:53,204 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,228 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:30:53,243 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:30:53,260 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/ed40cdde-db5d-40e1-af88-5ca56348c52e 2025-07-21 02:30:53,288 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023415', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10168328890138313722', 'uuid-lslong': '10294781784449482227'}, 'enable': 'true', 'created': '2025-07-21T02:30:50', 'last-modified': '2025-07-21T02:30:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384625'} 2025-07-21 02:30:53,304 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:30:53,305 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75357746 passed 2025-07-21 02:30:53,305 - DEBUG - ====Verifying policy data for ctest-vn-75357746 in API_Server ====== 2025-07-21 02:30:53,305 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:30:53,322 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:30:53,341 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:30:53,441 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/8d1d2940-6009-43fa-8ede-697d2645fdf3 2025-07-21 02:30:53,455 - DEBUG - ==>Verifying data for policy with id: 0f6c97b9-7dd5-4985-b05e-0a7590c7f87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-policy-allow-all-02369219'] 2025-07-21 02:30:53,455 - INFO - VN ctest-vn-75357746 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:30:53,455 - DEBUG - Verifying the vn in opserver 2025-07-21 02:30:53,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746 virtual network link through opserver 10.0.0.73 2025-07-21 02:30:53,456 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-07-21 02:30:53,779 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-07-21 02:30:53,879 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746?flat'} 2025-07-21 02:30:53,879 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746 is found in opserver 2025-07-21 02:30:53,914 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:30:53,931 - DEBUG - VRF ids for VN ctest-vn-75357746: {} 2025-07-21 02:30:53,931 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:30:53,949 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:30:53,985 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:30:54,111 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,147 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,178 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:30:54,201 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:30:54,224 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/cfbf89cd-b9f4-4f71-956c-efef9866229e 2025-07-21 02:30:54,248 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:30:54,248 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,289 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:30:54,333 - INFO - Verified VN network id 8 for VN 64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,333 - INFO - Verifications in API Server for VN ctest-vn-50143644 passed 2025-07-21 02:30:54,333 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,355 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:30:54,375 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:30:54,399 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/cfbf89cd-b9f4-4f71-956c-efef9866229e 2025-07-21 02:30:54,443 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-50143644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023415', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7224772263193956059', 'uuid-lslong': '10785817959047390015'}, 'enable': 'true', 'created': '2025-07-21T02:30:50', 'last-modified': '2025-07-21T02:30:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.192154'} 2025-07-21 02:30:54,462 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:30:54,462 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50143644 passed 2025-07-21 02:30:54,463 - DEBUG - ====Verifying policy data for ctest-vn-50143644 in API_Server ====== 2025-07-21 02:30:54,463 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:30:54,484 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:30:54,532 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:30:54,620 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/64438c18-4ac5-4edb-95ae-ec49bd0c633f 2025-07-21 02:30:54,647 - DEBUG - ==>Verifying data for policy with id: 0f6c97b9-7dd5-4985-b05e-0a7590c7f87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023415', 'ctest-policy-allow-all-02369219'] 2025-07-21 02:30:54,648 - INFO - VN ctest-vn-50143644 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:30:54,648 - DEBUG - Verifying the vn in opserver 2025-07-21 02:30:54,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-50143644 virtual network link through opserver 10.0.0.73 2025-07-21 02:30:54,648 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-07-21 02:30:54,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-50143644', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-50143644?flat'} 2025-07-21 02:30:54,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-50143644 is found in opserver 2025-07-21 02:30:54,688 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:30:54,695 - DEBUG - VRF ids for VN ctest-vn-50143644: {} 2025-07-21 02:30:54,827 - DEBUG - Services list from nova: [, , ] 2025-07-21 02:30:56,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3674-1) 2025-07-21 02:30:57,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3674-1) 2025-07-21 02:30:57,964 - INFO - Waiting for VM ctest-TestBasicPolicy-54023415-69965673 to be up.. 2025-07-21 02:30:58,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 02:31:03,164 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:31:03,164 - INFO - VM name : ctest-TestBasicPolicy-54023415-69965673 2025-07-21 02:31:03,253 - DEBUG - VM ctest-TestBasicPolicy-54023415-69965673 ID is ed902920-5d6c-454c-a4a7-66b403bbfd5b 2025-07-21 02:31:03,270 - DEBUG - VM ctest-TestBasicPolicy-54023415-69965673 launched on Node cn-jenkins-deploy-platform-ansible-os-3674-1 2025-07-21 02:31:03,377 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ed902920-5d6c-454c-a4a7-66b403bbfd5b 2025-07-21 02:31:03,391 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/a802c863-5ae2-490d-8d5d-9083b4ad1fd9 2025-07-21 02:31:06,670 - 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 1017ms') 2025-07-21 02:31:06,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54023415-69965673 failed! 2025-07-21 02:31:06,737 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54023415:ctest-vn-75357746 is 153.31.47.193 and allocation pool is NOT set 2025-07-21 02:31:08,815 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.27 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 = 3.268/4.288/5.308/1.020 ms') 2025-07-21 02:31:08,815 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54023415-69965673 passed 2025-07-21 02:31:08,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:31:08,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023415-69965673, IP 153.31.47.195, Port 22 2025-07-21 02:31:09,058 - 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-07-21 02:31:09,237 - DEBUG - VM ctest-TestBasicPolicy-54023415-69965673 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 02:31:14,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:31:14,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023415-69965673, IP 153.31.47.195, Port 22 2025-07-21 02:31:14,443 - DEBUG - VM ctest-TestBasicPolicy-54023415-69965673 is ready for SSH connections 2025-07-21 02:31:14,444 - INFO - Waiting for VM ctest-TestBasicPolicy-54023415-47648332 to be up.. 2025-07-21 02:31:14,625 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:31:14,626 - INFO - VM name : ctest-TestBasicPolicy-54023415-47648332 2025-07-21 02:31:14,801 - DEBUG - VM ctest-TestBasicPolicy-54023415-47648332 ID is 5ab412e0-eacd-4acb-87f9-c8c3330da56c 2025-07-21 02:31:14,802 - DEBUG - VM ctest-TestBasicPolicy-54023415-47648332 launched on Node cn-jenkins-deploy-platform-ansible-os-3674-1 2025-07-21 02:31:14,901 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/5ab412e0-eacd-4acb-87f9-c8c3330da56c 2025-07-21 02:31:14,914 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/6ce037bc-b95d-4872-9db9-25cc5b6034cc 2025-07-21 02:31:16,216 - 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=9.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.630 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.630/5.051/9.473/4.421 ms') 2025-07-21 02:31:16,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54023415-47648332 passed 2025-07-21 02:31:16,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:31:16,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023415-47648332, IP 223.251.7.67, Port 22 2025-07-21 02:31:16,609 - DEBUG - VM ctest-TestBasicPolicy-54023415-47648332 is ready for SSH connections 2025-07-21 02:31:16,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:31:16,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.251.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-07-21 02:31:16,610 - DEBUG - ping -s 56 -c 3 -W 1 223.251.7.67 2025-07-21 02:31:21,201 - DEBUG - PING 223.251.7.67 (223.251.7.67): 56 data bytes 64 bytes from 223.251.7.67: seq=0 ttl=63 time=7.981 ms 64 bytes from 223.251.7.67: seq=1 ttl=63 time=1.734 ms 64 bytes from 223.251.7.67: seq=2 ttl=63 time=3.404 ms --- 223.251.7.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.734/4.373/7.981 ms 2025-07-21 02:31:21,201 - INFO - Ping to IP 223.251.7.67 from VM ctest-TestBasicPolicy-54023415-69965673 passed 2025-07-21 02:31:21,453 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f6c97b9-7dd5-4985-b05e-0a7590c7f87e", "href": "http://10.0.0.73:8082/network-policy/0f6c97b9-7dd5-4985-b05e-0a7590c7f87e"}} 2025-07-21 02:31:21,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:31:21,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.251.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-07-21 02:31:21,453 - DEBUG - ping -s 56 -c 3 -W 1 223.251.7.67 2025-07-21 02:31:24,748 - DEBUG - PING 223.251.7.67 (223.251.7.67): 56 data bytes --- 223.251.7.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 02:31:24,749 - WARNING - Ping to IP 223.251.7.67 from VM ctest-TestBasicPolicy-54023415-69965673 failed 2025-07-21 02:31:24,749 - INFO - Deleting VM ctest-TestBasicPolicy-54023415-47648332 2025-07-21 02:31:24,912 - INFO - Deleting VM ctest-TestBasicPolicy-54023415-69965673 2025-07-21 02:31:25,420 - INFO - Deleted policy ctest-policy-allow-all-02369219 2025-07-21 02:31:25,420 - INFO - Deleting VN ctest-vn-50143644 2025-07-21 02:31:25,460 - DEBUG - VN 64438c18-4ac5-4edb-95ae-ec49bd0c633f still in use: Unable to complete operation on network 64438c18-4ac5-4edb-95ae-ec49bd0c633f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbbde49f-f78b-4445-8ed1-a59192ec582a'] 2025-07-21 02:31:25,460 - WARNING - Deleting VN ctest-vn-50143644 failed..Will retry 2025-07-21 02:31:27,737 - DEBUG - Response for deleting network () 2025-07-21 02:31:27,737 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ac488aa7-6242-44ab-944e-e15783422922 2025-07-21 02:31:27,746 - DEBUG - Response Code: 404 2025-07-21 02:31:27,746 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:31:27,756 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:31:27,830 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:31:27,929 - INFO - Validated that VN ctest-vn-50143644 is not found in API Server 2025-07-21 02:31:27,953 - DEBUG - VN ctest-vn-50143644 is not present in Agent 10.0.0.73 2025-07-21 02:31:27,953 - INFO - Validated that VN ctest-vn-50143644 is not in any agent 2025-07-21 02:31:27,992 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50143644 info 2025-07-21 02:31:27,993 - INFO - Deleting VN ctest-vn-75357746 2025-07-21 02:31:28,251 - DEBUG - Response for deleting network () 2025-07-21 02:31:28,251 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0e8b45ae-f473-418b-a156-cb460e7c1176 2025-07-21 02:31:28,262 - DEBUG - Response Code: 404 2025-07-21 02:31:28,263 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-07-21 02:31:28,272 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7efc2d2b-d635-4bdd-aee4-a434fefb3828 2025-07-21 02:31:28,342 - DEBUG - Requesting: http://10.0.0.73:8082/project/6a2a271a-f1b5-43b5-b597-5fb97395f980 2025-07-21 02:31:28,458 - INFO - Validated that VN ctest-vn-75357746 is not found in API Server 2025-07-21 02:31:28,478 - DEBUG - VN ctest-vn-75357746 is not present in Agent 10.0.0.73 2025-07-21 02:31:28,478 - INFO - Validated that VN ctest-vn-75357746 is not in any agent 2025-07-21 02:31:28,512 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75357746 info 2025-07-21 02:31:28,819 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 02:31:28,820 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-07-21 02:31:28,820 - INFO - -------------------------------------------------------------------------------- 2025-07-21 02:31:29,775 - INFO - Deleted project: ctest-TestBasicPolicy-54023415, ID : 6a2a271a-f1b5-43b5-b597-5fb97395f980