2025-08-28 17:57:05,753 - INFO - Domain Default found not creating 2025-08-28 17:57:06,083 - INFO - Project ctest-TestBasicPolicy-75812319 not found, creating it 2025-08-28 17:57:06,852 - INFO - Created Project:ctest-TestBasicPolicy-75812319, ID : 3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:09,029 - INFO - ================================================================================ 2025-08-28 17:57:09,029 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 17:57:09,030 - 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-28 17:57:09,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-28 17:57:09,357 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:57:09,357 - INFO - 2025-08-28 17:57:10,207 - DEBUG - Response for create_network : {'network': {'id': '4a705c8f-a94f-40bb-abee-d54aa4d345b0', 'name': 'ctest-vn-91369387', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-vn-91369387'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:57:10,444 - DEBUG - Response for create_subnet : {'subnet': {'id': '08ec80ca-fd24-40bb-961c-7df33610272d', 'name': '', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'network_id': '4a705c8f-a94f-40bb-abee-d54aa4d345b0', 'ip_version': 4, 'cidr': '155.221.184.64/26', 'allocation_pools': [{'start': '155.221.184.66', 'end': '155.221.184.126'}], 'gateway_ip': '155.221.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.221.184.66', 'tags': [], 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9'}} 2025-08-28 17:57:10,464 - INFO - Created VN ctest-vn-91369387 2025-08-28 17:57:10,516 - DEBUG - VN ctest-vn-91369387 UUID is 4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:11,016 - DEBUG - Response for create_network : {'network': {'id': 'ee4f7f05-10b9-4174-ab30-4b9fef809454', 'name': 'ctest-vn-39403156', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-vn-39403156'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:57:11,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a97a88b6-25b8-43e4-b055-03e22423fb31', 'name': '', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'network_id': 'ee4f7f05-10b9-4174-ab30-4b9fef809454', 'ip_version': 4, 'cidr': '156.59.18.64/26', 'allocation_pools': [{'start': '156.59.18.66', 'end': '156.59.18.126'}], 'gateway_ip': '156.59.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.59.18.66', 'tags': [], 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9'}} 2025-08-28 17:57:11,267 - INFO - Created VN ctest-vn-39403156 2025-08-28 17:57:11,332 - DEBUG - VN ctest-vn-39403156 UUID is ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:11,496 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387, 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-75812319:ctest-vn-39403156, 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-28 17:57:11,963 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a705c8f-a94f-40bb-abee-d54aa4d345b0', 'name': 'ctest-vn-91369387', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08ec80ca-fd24-40bb-961c-7df33610272d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-vn-91369387'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-policy-allow-all-11303583']], 'subnet_ipam': [{'subnet_cidr': '155.221.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:57:12,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee4f7f05-10b9-4174-ab30-4b9fef809454', 'name': 'ctest-vn-39403156', 'tenant_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'project_id': '3ee9ac20863f4442aaa455e4acd3a6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a97a88b6-25b8-43e4-b055-03e22423fb31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-vn-39403156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-policy-allow-all-11303583']], 'subnet_ipam': [{'subnet_cidr': '156.59.18.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:57:12,416 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:12,747 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:12,790 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:12,810 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:12,938 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:12,966 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:12,993 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:13,012 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:13,032 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/562b5b7f-0430-4081-a7f9-6332012843ce 2025-08-28 17:57:13,049 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 17:57:13,050 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:13,072 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:13,107 - INFO - Verified VN network id 10 for VN 4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:13,107 - INFO - Verifications in API Server for VN ctest-vn-91369387 passed 2025-08-28 17:57:13,107 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:13,129 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:13,144 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:13,161 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/562b5b7f-0430-4081-a7f9-6332012843ce 2025-08-28 17:57:13,192 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75812319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5363888928288882875', 'uuid-lslong': '12389074141512418736'}, 'enable': 'true', 'created': '2025-08-28T17:57:10', 'last-modified': '2025-08-28T17:57:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275648'} 2025-08-28 17:57:13,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 17:57:13,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91369387 passed 2025-08-28 17:57:13,210 - DEBUG - ====Verifying policy data for ctest-vn-91369387 in API_Server ====== 2025-08-28 17:57:13,210 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:13,223 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:13,258 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:13,365 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4a705c8f-a94f-40bb-abee-d54aa4d345b0 2025-08-28 17:57:13,379 - DEBUG - ==>Verifying data for policy with id: 0d739f4c-4c3b-4986-8db9-1090209f4a99, fqn: ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-policy-allow-all-11303583'] 2025-08-28 17:57:13,379 - INFO - VN ctest-vn-91369387 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 17:57:13,380 - DEBUG - Verifying the vn in opserver 2025-08-28 17:57:13,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387 virtual network link through opserver 10.0.0.141 2025-08-28 17:57:13,380 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-28 17:57:13,760 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-28 17:57:13,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387?flat'} 2025-08-28 17:57:13,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387 is found in opserver 2025-08-28 17:57:13,909 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 17:57:13,925 - DEBUG - VRF ids for VN ctest-vn-91369387: {} 2025-08-28 17:57:13,925 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:13,936 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:13,961 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:14,060 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,084 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,094 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:14,108 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:14,117 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/29257256-244d-4148-903d-390c4184fcf6 2025-08-28 17:57:14,125 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 17:57:14,125 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,136 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:14,154 - INFO - Verified VN network id 11 for VN ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,157 - INFO - Verifications in API Server for VN ctest-vn-39403156 passed 2025-08-28 17:57:14,157 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,168 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:14,175 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:14,182 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/29257256-244d-4148-903d-390c4184fcf6 2025-08-28 17:57:14,195 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-39403156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75812319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17172083563919130996', 'uuid-lslong': '12335442529657853012'}, 'enable': 'true', 'created': '2025-08-28T17:57:10', 'last-modified': '2025-08-28T17:57:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.974051'} 2025-08-28 17:57:14,202 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 17:57:14,202 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39403156 passed 2025-08-28 17:57:14,202 - DEBUG - ====Verifying policy data for ctest-vn-39403156 in API_Server ====== 2025-08-28 17:57:14,203 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:14,210 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:14,224 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:14,316 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ee4f7f05-10b9-4174-ab30-4b9fef809454 2025-08-28 17:57:14,341 - DEBUG - ==>Verifying data for policy with id: 0d739f4c-4c3b-4986-8db9-1090209f4a99, fqn: ['default-domain', 'ctest-TestBasicPolicy-75812319', 'ctest-policy-allow-all-11303583'] 2025-08-28 17:57:14,341 - INFO - VN ctest-vn-39403156 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 17:57:14,342 - DEBUG - Verifying the vn in opserver 2025-08-28 17:57:14,342 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-39403156 virtual network link through opserver 10.0.0.141 2025-08-28 17:57:14,342 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-28 17:57:14,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-39403156', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-39403156?flat'} 2025-08-28 17:57:14,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-39403156 is found in opserver 2025-08-28 17:57:14,373 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 17:57:14,378 - DEBUG - VRF ids for VN ctest-vn-39403156: {} 2025-08-28 17:57:14,459 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:57:15,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:57:17,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:57:17,428 - INFO - Waiting for VM ctest-TestBasicPolicy-75812319-92164304 to be up.. 2025-08-28 17:57:17,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:57:22,696 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:57:22,697 - INFO - VM name : ctest-TestBasicPolicy-75812319-92164304 2025-08-28 17:57:22,799 - DEBUG - VM ctest-TestBasicPolicy-75812319-92164304 ID is 80d0c2f2-905b-4ed1-880a-d8e6a608f1f0 2025-08-28 17:57:22,831 - DEBUG - VM ctest-TestBasicPolicy-75812319-92164304 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:57:22,930 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/80d0c2f2-905b-4ed1-880a-d8e6a608f1f0 2025-08-28 17:57:22,940 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/556ba16b-b7e2-4613-9b89-a24128704f2b 2025-08-28 17:57:26,251 - 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-28 17:57:26,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75812319-92164304 failed! 2025-08-28 17:57:26,324 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75812319:ctest-vn-91369387 is 155.221.184.65 and allocation pool is NOT set 2025-08-28 17:57:28,412 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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 = 0.577/5.702/10.828/5.125 ms') 2025-08-28 17:57:28,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75812319-92164304 passed 2025-08-28 17:57:28,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:57:28,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75812319-92164304, IP 155.221.184.67, Port 22 2025-08-28 17:57:28,667 - 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-28 17:57:28,872 - DEBUG - VM ctest-TestBasicPolicy-75812319-92164304 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 17:57:33,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:57:33,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75812319-92164304, IP 155.221.184.67, Port 22 2025-08-28 17:57:34,053 - DEBUG - VM ctest-TestBasicPolicy-75812319-92164304 is ready for SSH connections 2025-08-28 17:57:34,053 - INFO - Waiting for VM ctest-TestBasicPolicy-75812319-78178520 to be up.. 2025-08-28 17:57:34,224 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:57:34,224 - INFO - VM name : ctest-TestBasicPolicy-75812319-78178520 2025-08-28 17:57:34,382 - DEBUG - VM ctest-TestBasicPolicy-75812319-78178520 ID is fbb810ca-6528-48b9-a3f8-42c27151f770 2025-08-28 17:57:34,382 - DEBUG - VM ctest-TestBasicPolicy-75812319-78178520 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:57:34,563 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fbb810ca-6528-48b9-a3f8-42c27151f770 2025-08-28 17:57:34,583 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4753531b-0b64-4147-896b-b8a9ed109d95 2025-08-28 17:57:35,913 - 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=7.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/4.082/7.638/3.555 ms') 2025-08-28 17:57:35,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75812319-78178520 passed 2025-08-28 17:57:36,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:57:36,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75812319-78178520, IP 156.59.18.67, Port 22 2025-08-28 17:57:36,344 - DEBUG - VM ctest-TestBasicPolicy-75812319-78178520 is ready for SSH connections 2025-08-28 17:57:36,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:57:36,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.59.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:57:36,344 - DEBUG - ping -s 56 -c 3 -W 1 156.59.18.67 2025-08-28 17:57:41,009 - DEBUG - PING 156.59.18.67 (156.59.18.67): 56 data bytes 64 bytes from 156.59.18.67: seq=0 ttl=63 time=5.918 ms 64 bytes from 156.59.18.67: seq=1 ttl=63 time=1.985 ms 64 bytes from 156.59.18.67: seq=2 ttl=63 time=2.088 ms --- 156.59.18.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.985/3.330/5.918 ms 2025-08-28 17:57:41,009 - INFO - Ping to IP 156.59.18.67 from VM ctest-TestBasicPolicy-75812319-92164304 passed 2025-08-28 17:57:41,240 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0d739f4c-4c3b-4986-8db9-1090209f4a99", "href": "http://10.0.0.141:8082/network-policy/0d739f4c-4c3b-4986-8db9-1090209f4a99"}} 2025-08-28 17:57:41,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:57:41,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.59.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:57:41,241 - DEBUG - ping -s 56 -c 3 -W 1 156.59.18.67 2025-08-28 17:57:44,537 - DEBUG - PING 156.59.18.67 (156.59.18.67): 56 data bytes 64 bytes from 156.59.18.67: seq=0 ttl=63 time=1.847 ms --- 156.59.18.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.847/1.847/1.847 ms 2025-08-28 17:57:44,537 - WARNING - Ping to IP 156.59.18.67 from VM ctest-TestBasicPolicy-75812319-92164304 failed 2025-08-28 17:57:44,538 - INFO - Deleting VM ctest-TestBasicPolicy-75812319-78178520 2025-08-28 17:57:44,645 - INFO - Deleting VM ctest-TestBasicPolicy-75812319-92164304 2025-08-28 17:57:45,092 - INFO - Deleted policy ctest-policy-allow-all-11303583 2025-08-28 17:57:45,092 - INFO - Deleting VN ctest-vn-39403156 2025-08-28 17:57:45,130 - DEBUG - VN ee4f7f05-10b9-4174-ab30-4b9fef809454 still in use: Unable to complete operation on network ee4f7f05-10b9-4174-ab30-4b9fef809454. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8be9dd11-bc1c-47df-8ca3-7cf67dcbff3b'] 2025-08-28 17:57:45,130 - WARNING - Deleting VN ctest-vn-39403156 failed..Will retry 2025-08-28 17:57:47,361 - DEBUG - Response for deleting network () 2025-08-28 17:57:47,361 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a28050fa-b23f-4968-ae40-4d3163291da9 2025-08-28 17:57:47,373 - DEBUG - Response Code: 404 2025-08-28 17:57:47,373 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:47,381 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:47,445 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:47,545 - INFO - Validated that VN ctest-vn-39403156 is not found in API Server 2025-08-28 17:57:47,573 - DEBUG - VN ctest-vn-39403156 is not present in Agent 10.0.0.141 2025-08-28 17:57:47,573 - INFO - Validated that VN ctest-vn-39403156 is not in any agent 2025-08-28 17:57:47,598 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39403156 info 2025-08-28 17:57:47,599 - INFO - Deleting VN ctest-vn-91369387 2025-08-28 17:57:47,761 - DEBUG - Response for deleting network () 2025-08-28 17:57:47,761 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a4f5de1d-63a2-477e-b0e9-6a7826ce5c63 2025-08-28 17:57:47,768 - DEBUG - Response Code: 404 2025-08-28 17:57:47,769 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-28 17:57:47,775 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ee867886-2840-4fef-bf1f-acee1c8118fb 2025-08-28 17:57:47,831 - DEBUG - Requesting: http://10.0.0.141:8082/project/3ee9ac20-863f-4442-aaa4-55e4acd3a6d9 2025-08-28 17:57:47,908 - INFO - Validated that VN ctest-vn-91369387 is not found in API Server 2025-08-28 17:57:47,924 - DEBUG - VN ctest-vn-91369387 is not present in Agent 10.0.0.141 2025-08-28 17:57:47,925 - INFO - Validated that VN ctest-vn-91369387 is not in any agent 2025-08-28 17:57:47,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91369387 info 2025-08-28 17:57:48,255 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:57:48,256 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-08-28 17:57:48,256 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:57:49,192 - INFO - Deleted project: ctest-TestBasicPolicy-75812319, ID : 3ee9ac20-863f-4442-aaa4-55e4acd3a6d9