2025-11-01 05:22:29,930 - INFO - Domain Default found not creating 2025-11-01 05:22:30,115 - INFO - Project ctest-TestBasicPolicy-23679549 not found, creating it 2025-11-01 05:22:30,590 - INFO - Created Project:ctest-TestBasicPolicy-23679549, ID : 749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:22:32,205 - INFO - ================================================================================ 2025-11-01 05:22:32,206 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-01 05:22:32,206 - 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-01 05:22:32,466 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 05:22:32,466 - INFO - Initial checks done. Running the testcase now 2025-11-01 05:22:32,466 - INFO - 2025-11-01 05:22:33,091 - DEBUG - Response for create_network : {'network': {'id': '7b68e590-5224-49b8-a901-df25ef77fed4', 'name': 'ctest-vn-00030668', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'project_id': '749c614c7112427db948527d1ededdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-vn-00030668'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:22:33,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '889669eb-1d48-45b8-b677-a3dffd975b5c', 'name': '', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'network_id': '7b68e590-5224-49b8-a901-df25ef77fed4', 'ip_version': 4, 'cidr': '96.222.126.128/26', 'allocation_pools': [{'start': '96.222.126.130', 'end': '96.222.126.190'}], 'gateway_ip': '96.222.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.222.126.130', 'tags': [], 'project_id': '749c614c7112427db948527d1ededdb5'}} 2025-11-01 05:22:33,338 - INFO - Created VN ctest-vn-00030668 2025-11-01 05:22:33,392 - DEBUG - VN ctest-vn-00030668 UUID is 7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:33,769 - DEBUG - Response for create_network : {'network': {'id': '48a50eb1-0bd4-4b1a-aea4-e45dd22f550e', 'name': 'ctest-vn-45069958', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'project_id': '749c614c7112427db948527d1ededdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-vn-45069958'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:22:34,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e36eb897-31c1-402e-a5dd-e0809933eda8', 'name': '', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'network_id': '48a50eb1-0bd4-4b1a-aea4-e45dd22f550e', 'ip_version': 4, 'cidr': '158.97.158.64/26', 'allocation_pools': [{'start': '158.97.158.66', 'end': '158.97.158.126'}], 'gateway_ip': '158.97.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.97.158.66', 'tags': [], 'project_id': '749c614c7112427db948527d1ededdb5'}} 2025-11-01 05:22:34,028 - INFO - Created VN ctest-vn-45069958 2025-11-01 05:22:34,084 - DEBUG - VN ctest-vn-45069958 UUID is 48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:34,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668, 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-23679549:ctest-vn-45069958, 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-01 05:22:34,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b68e590-5224-49b8-a901-df25ef77fed4', 'name': 'ctest-vn-00030668', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'project_id': '749c614c7112427db948527d1ededdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['889669eb-1d48-45b8-b677-a3dffd975b5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-vn-00030668'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-policy-allow-all-19365536']], 'subnet_ipam': [{'subnet_cidr': '96.222.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:22:34,759 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48a50eb1-0bd4-4b1a-aea4-e45dd22f550e', 'name': 'ctest-vn-45069958', 'tenant_id': '749c614c7112427db948527d1ededdb5', 'project_id': '749c614c7112427db948527d1ededdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e36eb897-31c1-402e-a5dd-e0809933eda8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-vn-45069958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-policy-allow-all-19365536']], 'subnet_ipam': [{'subnet_cidr': '158.97.158.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:22:34,924 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:22:35,285 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:22:35,314 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:22:35,326 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:22:35,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:22:35,424 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:22:35,432 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/80f3e1e7-8590-447c-9c49-146c39f83a30 2025-11-01 05:22:35,439 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 05:22:35,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:22:35,465 - INFO - Verified VN network id 11 for VN 7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,465 - INFO - Verifications in API Server for VN ctest-vn-00030668 passed 2025-11-01 05:22:35,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:22:35,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:22:35,491 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/80f3e1e7-8590-447c-9c49-146c39f83a30 2025-11-01 05:22:35,505 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23679549', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8892609872259205560', 'uuid-lslong': '12178260221410934484'}, 'enable': 'true', 'created': '2025-11-01T05:22:33', 'last-modified': '2025-11-01T05:22:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028337'} 2025-11-01 05:22:35,512 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 05:22:35,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00030668 passed 2025-11-01 05:22:35,513 - DEBUG - ====Verifying policy data for ctest-vn-00030668 in API_Server ====== 2025-11-01 05:22:35,513 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:22:35,519 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:22:35,531 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:22:35,606 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b68e590-5224-49b8-a901-df25ef77fed4 2025-11-01 05:22:35,622 - DEBUG - ==>Verifying data for policy with id: 66b1b6ee-e719-423e-b689-05294cecf3ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-policy-allow-all-19365536'] 2025-11-01 05:22:35,623 - INFO - VN ctest-vn-00030668 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 05:22:35,623 - DEBUG - Verifying the vn in opserver 2025-11-01 05:22:35,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668 virtual network link through opserver 10.0.0.38 2025-11-01 05:22:35,623 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-01 05:22:35,962 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-01 05:22:36,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668?flat'} 2025-11-01 05:22:36,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668 is found in opserver 2025-11-01 05:22:36,045 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 05:22:36,051 - DEBUG - VRF ids for VN ctest-vn-00030668: {} 2025-11-01 05:22:36,051 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:22:36,057 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:22:36,070 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:22:36,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:22:36,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:22:36,182 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fac1811a-c30e-421d-9837-60ee87892f5f 2025-11-01 05:22:36,189 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 05:22:36,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:22:36,213 - INFO - Verified VN network id 12 for VN 48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,213 - INFO - Verifications in API Server for VN ctest-vn-45069958 passed 2025-11-01 05:22:36,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:22:36,230 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:22:36,237 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fac1811a-c30e-421d-9837-60ee87892f5f 2025-11-01 05:22:36,250 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-45069958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23679549', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5234606295458532122', 'uuid-lslong': '12584434350389417230'}, 'enable': 'true', 'created': '2025-11-01T05:22:33', 'last-modified': '2025-11-01T05:22:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518664'} 2025-11-01 05:22:36,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 05:22:36,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45069958 passed 2025-11-01 05:22:36,257 - DEBUG - ====Verifying policy data for ctest-vn-45069958 in API_Server ====== 2025-11-01 05:22:36,257 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:22:36,263 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:22:36,274 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:22:36,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48a50eb1-0bd4-4b1a-aea4-e45dd22f550e 2025-11-01 05:22:36,359 - DEBUG - ==>Verifying data for policy with id: 66b1b6ee-e719-423e-b689-05294cecf3ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-23679549', 'ctest-policy-allow-all-19365536'] 2025-11-01 05:22:36,359 - INFO - VN ctest-vn-45069958 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 05:22:36,359 - DEBUG - Verifying the vn in opserver 2025-11-01 05:22:36,359 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-45069958 virtual network link through opserver 10.0.0.38 2025-11-01 05:22:36,359 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-01 05:22:36,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-45069958', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-45069958?flat'} 2025-11-01 05:22:36,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-45069958 is found in opserver 2025-11-01 05:22:36,380 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 05:22:36,385 - DEBUG - VRF ids for VN ctest-vn-45069958: {} 2025-11-01 05:22:36,448 - DEBUG - Services list from nova: [, , ] 2025-11-01 05:22:37,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:22:39,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:22:39,030 - INFO - Waiting for VM ctest-TestBasicPolicy-23679549-32004223 to be up.. 2025-11-01 05:22:39,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 05:22:44,207 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:22:44,207 - INFO - VM name : ctest-TestBasicPolicy-23679549-32004223 2025-11-01 05:22:44,289 - DEBUG - VM ctest-TestBasicPolicy-23679549-32004223 ID is 4da700eb-98d7-466b-8ec9-f9567394f47a 2025-11-01 05:22:44,310 - DEBUG - VM ctest-TestBasicPolicy-23679549-32004223 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:22:44,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4da700eb-98d7-466b-8ec9-f9567394f47a 2025-11-01 05:22:44,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c1d9d37-e020-4f6d-805f-07ae32d6b4d8 2025-11-01 05:22:47,633 - 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 1014ms') 2025-11-01 05:22:47,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23679549-32004223 failed! 2025-11-01 05:22:47,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23679549:ctest-vn-00030668 is 96.222.126.129 and allocation pool is NOT set 2025-11-01 05:22:49,755 - 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=17.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.89 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 = 2.889/10.323/17.757/7.434 ms') 2025-11-01 05:22:49,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23679549-32004223 passed 2025-11-01 05:22:49,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:22:49,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23679549-32004223, IP 96.222.126.131, Port 22 2025-11-01 05:22:49,971 - 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-01 05:22:50,059 - DEBUG - VM ctest-TestBasicPolicy-23679549-32004223 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 05:22:55,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:22:55,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23679549-32004223, IP 96.222.126.131, Port 22 2025-11-01 05:22:55,234 - DEBUG - VM ctest-TestBasicPolicy-23679549-32004223 is ready for SSH connections 2025-11-01 05:22:55,234 - INFO - Waiting for VM ctest-TestBasicPolicy-23679549-18492144 to be up.. 2025-11-01 05:22:55,317 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:22:55,317 - INFO - VM name : ctest-TestBasicPolicy-23679549-18492144 2025-11-01 05:22:55,398 - DEBUG - VM ctest-TestBasicPolicy-23679549-18492144 ID is 01265d5c-91b0-4457-8fb9-be1ebf3d3fe9 2025-11-01 05:22:55,398 - DEBUG - VM ctest-TestBasicPolicy-23679549-18492144 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:22:55,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01265d5c-91b0-4457-8fb9-be1ebf3d3fe9 2025-11-01 05:22:55,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/27fb290e-dc8a-4545-ba97-463976497ec3 2025-11-01 05:22:56,723 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/2.233/4.003/1.770 ms') 2025-11-01 05:22:56,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23679549-18492144 passed 2025-11-01 05:22:56,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:22:56,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23679549-18492144, IP 158.97.158.67, Port 22 2025-11-01 05:22:57,042 - DEBUG - VM ctest-TestBasicPolicy-23679549-18492144 is ready for SSH connections 2025-11-01 05:22:57,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:22:57,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.97.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:22:57,043 - DEBUG - ping -s 56 -c 3 -W 1 158.97.158.67 2025-11-01 05:23:01,217 - DEBUG - PING 158.97.158.67 (158.97.158.67): 56 data bytes 64 bytes from 158.97.158.67: seq=0 ttl=63 time=4.470 ms 64 bytes from 158.97.158.67: seq=1 ttl=63 time=0.911 ms 64 bytes from 158.97.158.67: seq=2 ttl=63 time=1.394 ms --- 158.97.158.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.258/4.470 ms 2025-11-01 05:23:01,217 - INFO - Ping to IP 158.97.158.67 from VM ctest-TestBasicPolicy-23679549-32004223 passed 2025-11-01 05:23:01,400 - DEBUG - Policy Update Response {"network-policy": {"uuid": "66b1b6ee-e719-423e-b689-05294cecf3ae", "href": "http://10.0.0.38:8082/network-policy/66b1b6ee-e719-423e-b689-05294cecf3ae"}} 2025-11-01 05:23:01,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:23:01,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.97.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:23:01,400 - DEBUG - ping -s 56 -c 3 -W 1 158.97.158.67 2025-11-01 05:23:04,639 - DEBUG - PING 158.97.158.67 (158.97.158.67): 56 data bytes --- 158.97.158.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 05:23:04,640 - WARNING - Ping to IP 158.97.158.67 from VM ctest-TestBasicPolicy-23679549-32004223 failed 2025-11-01 05:23:04,640 - INFO - Deleting VM ctest-TestBasicPolicy-23679549-18492144 2025-11-01 05:23:04,721 - INFO - Deleting VM ctest-TestBasicPolicy-23679549-32004223 2025-11-01 05:23:05,146 - INFO - Deleted policy ctest-policy-allow-all-19365536 2025-11-01 05:23:05,146 - INFO - Deleting VN ctest-vn-45069958 2025-11-01 05:23:05,185 - DEBUG - VN 48a50eb1-0bd4-4b1a-aea4-e45dd22f550e still in use: Unable to complete operation on network 48a50eb1-0bd4-4b1a-aea4-e45dd22f550e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff8ba8b2-a8ca-4de6-b3c8-ccaf2f68bbb3'] 2025-11-01 05:23:05,185 - WARNING - Deleting VN ctest-vn-45069958 failed..Will retry 2025-11-01 05:23:07,295 - DEBUG - Response for deleting network () 2025-11-01 05:23:07,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf7574af-2acf-46ea-a728-bdc52709bc40 2025-11-01 05:23:07,303 - DEBUG - Response Code: 404 2025-11-01 05:23:07,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:23:07,309 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:23:07,364 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:23:07,433 - INFO - Validated that VN ctest-vn-45069958 is not found in API Server 2025-11-01 05:23:07,443 - DEBUG - VN ctest-vn-45069958 is not present in Agent 10.0.0.38 2025-11-01 05:23:07,443 - INFO - Validated that VN ctest-vn-45069958 is not in any agent 2025-11-01 05:23:07,457 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45069958 info 2025-11-01 05:23:07,458 - INFO - Deleting VN ctest-vn-00030668 2025-11-01 05:23:07,561 - DEBUG - Response for deleting network () 2025-11-01 05:23:07,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95813982-27d2-4ed5-ab98-85b722e6c3a3 2025-11-01 05:23:07,574 - DEBUG - Response Code: 404 2025-11-01 05:23:07,575 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-01 05:23:07,582 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c2b9b77-6b59-414e-936b-68e888caca5b 2025-11-01 05:23:07,633 - DEBUG - Requesting: http://10.0.0.38:8082/project/749c614c-7112-427d-b948-527d1ededdb5 2025-11-01 05:23:07,708 - INFO - Validated that VN ctest-vn-00030668 is not found in API Server 2025-11-01 05:23:07,720 - DEBUG - VN ctest-vn-00030668 is not present in Agent 10.0.0.38 2025-11-01 05:23:07,720 - INFO - Validated that VN ctest-vn-00030668 is not in any agent 2025-11-01 05:23:07,734 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00030668 info 2025-11-01 05:23:07,998 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 05:23:07,999 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-01 05:23:07,999 - INFO - -------------------------------------------------------------------------------- 2025-11-01 05:23:08,737 - INFO - Deleted project: ctest-TestBasicPolicy-23679549, ID : 749c614c-7112-427d-b948-527d1ededdb5