2025-11-03 10:27:21,658 - INFO - Domain Default found not creating 2025-11-03 10:27:22,046 - INFO - Project ctest-TestBasicPolicy-05669395 not found, creating it 2025-11-03 10:27:22,732 - INFO - Created Project:ctest-TestBasicPolicy-05669395, ID : d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:27:24,946 - INFO - ================================================================================ 2025-11-03 10:27:24,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 10:27:24,947 - 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-11-03 10:27:25,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 10:27:25,291 - INFO - Initial checks done. Running the testcase now 2025-11-03 10:27:25,291 - INFO - 2025-11-03 10:27:26,063 - DEBUG - Response for create_network : {'network': {'id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'name': 'ctest-vn-23026783', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-23026783'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:27:26,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecbd2927-5b7e-4662-a511-305b50704699', 'name': '', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'network_id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'ip_version': 4, 'cidr': '133.141.185.64/26', 'allocation_pools': [{'start': '133.141.185.66', 'end': '133.141.185.126'}], 'gateway_ip': '133.141.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.141.185.66', 'tags': [], 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1'}} 2025-11-03 10:27:26,373 - INFO - Created VN ctest-vn-23026783 2025-11-03 10:27:26,429 - DEBUG - VN ctest-vn-23026783 UUID is 56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:26,866 - DEBUG - Response for create_network : {'network': {'id': 'c1f44c90-496a-487d-94af-a61d20953529', 'name': 'ctest-vn-29421233', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-29421233'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:27:27,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d2010d-3ecc-41aa-b591-3be3dd3b9425', 'name': '', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'network_id': 'c1f44c90-496a-487d-94af-a61d20953529', 'ip_version': 4, 'cidr': '213.107.19.64/26', 'allocation_pools': [{'start': '213.107.19.66', 'end': '213.107.19.126'}], 'gateway_ip': '213.107.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.107.19.66', 'tags': [], 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1'}} 2025-11-03 10:27:27,152 - INFO - Created VN ctest-vn-29421233 2025-11-03 10:27:27,214 - DEBUG - VN ctest-vn-29421233 UUID is c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:27,408 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783, 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-05669395:ctest-vn-29421233, 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-11-03 10:27:27,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'name': 'ctest-vn-23026783', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecbd2927-5b7e-4662-a511-305b50704699'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-23026783'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']], 'subnet_ipam': [{'subnet_cidr': '133.141.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:27:28,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1f44c90-496a-487d-94af-a61d20953529', 'name': 'ctest-vn-29421233', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30d2010d-3ecc-41aa-b591-3be3dd3b9425'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-29421233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']], 'subnet_ipam': [{'subnet_cidr': '213.107.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:27:28,385 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:27:28,688 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:27:28,734 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:27:28,755 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:27:28,859 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:28,887 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:28,914 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:27:28,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:27:28,944 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1efe218d-8ac3-4b0f-9c09-5cd0b9653c52 2025-11-03 10:27:28,962 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 10:27:28,963 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:28,985 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:27:29,023 - INFO - Verified VN network id 11 for VN 56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:29,023 - INFO - Verifications in API Server for VN ctest-vn-23026783 passed 2025-11-03 10:27:29,023 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:29,047 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:27:29,063 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:27:29,079 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1efe218d-8ac3-4b0f-9c09-5cd0b9653c52 2025-11-03 10:27:29,108 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05669395', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6230867801559287322', 'uuid-lslong': '13170505921558755989'}, 'enable': 'true', 'created': '2025-11-03T10:27:26', 'last-modified': '2025-11-03T10:27:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274953'} 2025-11-03 10:27:29,122 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 10:27:29,122 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23026783 passed 2025-11-03 10:27:29,122 - DEBUG - ====Verifying policy data for ctest-vn-23026783 in API_Server ====== 2025-11-03 10:27:29,123 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:27:29,134 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:27:29,159 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:27:29,272 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95 2025-11-03 10:27:29,303 - DEBUG - ==>Verifying data for policy with id: 42d5352b-0316-4022-bf88-f57c161a5da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281'] 2025-11-03 10:27:29,303 - INFO - VN ctest-vn-23026783 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 10:27:29,303 - DEBUG - Verifying the vn in opserver 2025-11-03 10:27:29,304 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783 virtual network link through opserver 10.0.0.48 2025-11-03 10:27:29,304 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 10:27:29,628 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 10:27:29,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783?flat'} 2025-11-03 10:27:29,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783 is found in opserver 2025-11-03 10:27:29,809 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 10:27:29,823 - DEBUG - VRF ids for VN ctest-vn-23026783: {} 2025-11-03 10:27:29,823 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:27:29,837 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:27:29,869 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:27:29,989 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,024 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,051 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:27:30,071 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:27:30,085 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4a9229b6-ee02-4466-99bf-84f66018a9eb 2025-11-03 10:27:30,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 10:27:30,101 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,117 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:27:30,140 - INFO - Verified VN network id 12 for VN c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,140 - INFO - Verifications in API Server for VN ctest-vn-29421233 passed 2025-11-03 10:27:30,140 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,155 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:27:30,169 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:27:30,180 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4a9229b6-ee02-4466-99bf-84f66018a9eb 2025-11-03 10:27:30,196 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05669395', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13975879726228195453', 'uuid-lslong': '10713964682568611113'}, 'enable': 'true', 'created': '2025-11-03T10:27:26', 'last-modified': '2025-11-03T10:27:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.026932'} 2025-11-03 10:27:30,204 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 10:27:30,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29421233 passed 2025-11-03 10:27:30,205 - DEBUG - ====Verifying policy data for ctest-vn-29421233 in API_Server ====== 2025-11-03 10:27:30,205 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:27:30,213 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:27:30,230 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:27:30,314 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529 2025-11-03 10:27:30,327 - DEBUG - ==>Verifying data for policy with id: 42d5352b-0316-4022-bf88-f57c161a5da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281'] 2025-11-03 10:27:30,327 - INFO - VN ctest-vn-29421233 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 10:27:30,327 - DEBUG - Verifying the vn in opserver 2025-11-03 10:27:30,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233 virtual network link through opserver 10.0.0.48 2025-11-03 10:27:30,327 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 10:27:30,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233?flat'} 2025-11-03 10:27:30,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233 is found in opserver 2025-11-03 10:27:30,358 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 10:27:30,365 - DEBUG - VRF ids for VN ctest-vn-29421233: {} 2025-11-03 10:27:30,455 - DEBUG - Services list from nova: [, , ] 2025-11-03 10:27:31,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:27:33,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:27:33,300 - INFO - Waiting for VM ctest-TestBasicPolicy-05669395-51457005 to be up.. 2025-11-03 10:27:33,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 10:27:38,595 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:27:38,595 - INFO - VM name : ctest-TestBasicPolicy-05669395-51457005 2025-11-03 10:27:38,728 - DEBUG - VM ctest-TestBasicPolicy-05669395-51457005 ID is c04077d9-6872-4745-a375-ceedbd978184 2025-11-03 10:27:38,752 - DEBUG - VM ctest-TestBasicPolicy-05669395-51457005 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:27:38,880 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c04077d9-6872-4745-a375-ceedbd978184 2025-11-03 10:27:38,890 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ca49d6eb-0d28-4f0c-a36f-1556bbd575b2 2025-11-03 10:27:42,186 - 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-11-03 10:27:42,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05669395-51457005 failed! 2025-11-03 10:27:42,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783 is 133.141.185.65 and allocation pool is NOT set 2025-11-03 10:27:44,331 - 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=14.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.039/8.942/14.846/5.903 ms') 2025-11-03 10:27:44,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05669395-51457005 passed 2025-11-03 10:27:44,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:27:44,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05669395-51457005, IP 133.141.185.67, Port 22 2025-11-03 10:27:44,576 - 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-11-03 10:27:44,767 - DEBUG - VM ctest-TestBasicPolicy-05669395-51457005 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 10:27:49,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:27:49,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05669395-51457005, IP 133.141.185.67, Port 22 2025-11-03 10:27:49,952 - DEBUG - VM ctest-TestBasicPolicy-05669395-51457005 is ready for SSH connections 2025-11-03 10:27:49,952 - INFO - Waiting for VM ctest-TestBasicPolicy-05669395-93262297 to be up.. 2025-11-03 10:27:50,085 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:27:50,085 - INFO - VM name : ctest-TestBasicPolicy-05669395-93262297 2025-11-03 10:27:50,258 - DEBUG - VM ctest-TestBasicPolicy-05669395-93262297 ID is 1b5852e5-9630-435f-a9a5-c54e754ae3bc 2025-11-03 10:27:50,258 - DEBUG - VM ctest-TestBasicPolicy-05669395-93262297 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:27:50,378 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1b5852e5-9630-435f-a9a5-c54e754ae3bc 2025-11-03 10:27:50,390 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e43c8705-5990-4211-89e5-fda447239a71 2025-11-03 10:27:51,712 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/2.162/3.467/1.304 ms') 2025-11-03 10:27:51,712 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05669395-93262297 passed 2025-11-03 10:27:51,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:27:51,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05669395-93262297, IP 213.107.19.67, Port 22 2025-11-03 10:27:52,083 - DEBUG - VM ctest-TestBasicPolicy-05669395-93262297 is ready for SSH connections 2025-11-03 10:27:52,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:27:52,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.107.19.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:27:52,084 - DEBUG - ping -s 56 -c 3 -W 1 213.107.19.67 2025-11-03 10:27:56,429 - DEBUG - PING 213.107.19.67 (213.107.19.67): 56 data bytes 64 bytes from 213.107.19.67: seq=0 ttl=63 time=5.643 ms 64 bytes from 213.107.19.67: seq=1 ttl=63 time=1.866 ms 64 bytes from 213.107.19.67: seq=2 ttl=63 time=2.872 ms --- 213.107.19.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.866/3.460/5.643 ms 2025-11-03 10:27:56,430 - INFO - Ping to IP 213.107.19.67 from VM ctest-TestBasicPolicy-05669395-51457005 passed 2025-11-03 10:27:56,685 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42d5352b-0316-4022-bf88-f57c161a5da6", "href": "http://10.0.0.48:8082/network-policy/42d5352b-0316-4022-bf88-f57c161a5da6"}} 2025-11-03 10:27:56,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:27:56,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.107.19.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:27:56,686 - DEBUG - ping -s 56 -c 3 -W 1 213.107.19.67 2025-11-03 10:28:00,008 - DEBUG - PING 213.107.19.67 (213.107.19.67): 56 data bytes --- 213.107.19.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 10:28:00,008 - WARNING - Ping to IP 213.107.19.67 from VM ctest-TestBasicPolicy-05669395-51457005 failed 2025-11-03 10:28:00,009 - INFO - Deleting VM ctest-TestBasicPolicy-05669395-93262297 2025-11-03 10:28:00,197 - INFO - Deleting VM ctest-TestBasicPolicy-05669395-51457005 2025-11-03 10:28:00,716 - INFO - Deleted policy ctest-policy-allow-all-82544281 2025-11-03 10:28:00,716 - INFO - Deleting VN ctest-vn-29421233 2025-11-03 10:28:00,758 - DEBUG - VN c1f44c90-496a-487d-94af-a61d20953529 still in use: Unable to complete operation on network c1f44c90-496a-487d-94af-a61d20953529. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3e4ab58-139d-461e-a288-2e4fad5dc8ff'] 2025-11-03 10:28:00,759 - WARNING - Deleting VN ctest-vn-29421233 failed..Will retry 2025-11-03 10:28:02,944 - DEBUG - Response for deleting network () 2025-11-03 10:28:02,945 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb 2025-11-03 10:28:02,951 - DEBUG - Response Code: 404 2025-11-03 10:28:02,951 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:28:02,963 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:28:03,021 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:28:03,104 - INFO - Validated that VN ctest-vn-29421233 is not found in API Server 2025-11-03 10:28:03,123 - DEBUG - VN ctest-vn-29421233 is not present in Agent 10.0.0.48 2025-11-03 10:28:03,123 - INFO - Validated that VN ctest-vn-29421233 is not in any agent 2025-11-03 10:28:03,150 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29421233 info 2025-11-03 10:28:03,151 - INFO - Deleting VN ctest-vn-23026783 2025-11-03 10:28:03,374 - DEBUG - Response for deleting network () 2025-11-03 10:28:03,375 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da 2025-11-03 10:28:03,385 - DEBUG - Response Code: 404 2025-11-03 10:28:03,385 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 10:28:03,391 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e 2025-11-03 10:28:03,450 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1 2025-11-03 10:28:03,541 - INFO - Validated that VN ctest-vn-23026783 is not found in API Server 2025-11-03 10:28:03,556 - DEBUG - VN ctest-vn-23026783 is not present in Agent 10.0.0.48 2025-11-03 10:28:03,556 - INFO - Validated that VN ctest-vn-23026783 is not in any agent 2025-11-03 10:28:03,576 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23026783 info 2025-11-03 10:28:03,861 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 10:28:03,861 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-11-03 10:28:03,861 - INFO - -------------------------------------------------------------------------------- 2025-11-03 10:28:04,598 - INFO - Deleted project: ctest-TestBasicPolicy-05669395, ID : d9538290-8cbc-4ccd-842a-ef11fdc4b1e1