2025-12-21 15:04:42,334 - INFO - Domain Default found not creating 2025-12-21 15:04:42,503 - INFO - Project ctest-TestBasicPolicy-96455572 not found, creating it 2025-12-21 15:04:42,953 - INFO - Created Project:ctest-TestBasicPolicy-96455572, ID : 01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:04:44,427 - INFO - ================================================================================ 2025-12-21 15:04:44,427 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-21 15:04:44,427 - 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-12-21 15:04:44,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-21 15:04:44,682 - INFO - Initial checks done. Running the testcase now 2025-12-21 15:04:44,682 - INFO - 2025-12-21 15:04:45,249 - DEBUG - Response for create_network : {'network': {'id': '2836327b-4a6a-4c00-926e-39974236152a', 'name': 'ctest-vn-72716787', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-72716787'], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:45,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '16004c1f-c657-4319-ab5f-1970b3abdad7', 'name': '', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'network_id': '2836327b-4a6a-4c00-926e-39974236152a', 'ip_version': 4, 'cidr': '140.43.247.192/26', 'allocation_pools': [{'start': '140.43.247.194', 'end': '140.43.247.254'}], 'gateway_ip': '140.43.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.43.247.194', 'tags': [], 'project_id': '01a248d049494ffe9b71c141ed14dd1e'}} 2025-12-21 15:04:45,447 - INFO - Created VN ctest-vn-72716787 2025-12-21 15:04:45,499 - DEBUG - VN ctest-vn-72716787 UUID is 2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:45,775 - DEBUG - Response for create_network : {'network': {'id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'name': 'ctest-vn-11558531', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-11558531'], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:45,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '9282a26a-b75b-46e1-bce7-b341c31e5fbc', 'name': '', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'network_id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'ip_version': 4, 'cidr': '141.226.203.0/26', 'allocation_pools': [{'start': '141.226.203.2', 'end': '141.226.203.62'}], 'gateway_ip': '141.226.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.226.203.2', 'tags': [], 'project_id': '01a248d049494ffe9b71c141ed14dd1e'}} 2025-12-21 15:04:45,983 - INFO - Created VN ctest-vn-11558531 2025-12-21 15:04:46,035 - DEBUG - VN ctest-vn-11558531 UUID is b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:46,187 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787, 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-96455572:ctest-vn-11558531, 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-12-21 15:04:46,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2836327b-4a6a-4c00-926e-39974236152a', 'name': 'ctest-vn-72716787', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16004c1f-c657-4319-ab5f-1970b3abdad7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-72716787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']], 'subnet_ipam': [{'subnet_cidr': '140.43.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:46,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'name': 'ctest-vn-11558531', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9282a26a-b75b-46e1-bce7-b341c31e5fbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-11558531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']], 'subnet_ipam': [{'subnet_cidr': '141.226.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:46,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:04:47,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:04:47,202 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:04:47,213 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:04:47,283 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:04:47,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:04:47,318 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3494a769-c7c3-4663-8ccc-610f6fa8d082 2025-12-21 15:04:47,324 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-21 15:04:47,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:04:47,349 - INFO - Verified VN network id 11 for VN 2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,350 - INFO - Verifications in API Server for VN ctest-vn-72716787 passed 2025-12-21 15:04:47,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,359 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:04:47,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:04:47,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3494a769-c7c3-4663-8ccc-610f6fa8d082 2025-12-21 15:04:47,387 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96455572', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2897558915370339328', 'uuid-lslong': '10551434298789336362'}, 'enable': 'true', 'created': '2025-12-21T15:04:45', 'last-modified': '2025-12-21T15:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925940'} 2025-12-21 15:04:47,393 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-21 15:04:47,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72716787 passed 2025-12-21 15:04:47,393 - DEBUG - ====Verifying policy data for ctest-vn-72716787 in API_Server ====== 2025-12-21 15:04:47,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:04:47,399 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:04:47,409 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:04:47,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a 2025-12-21 15:04:47,490 - DEBUG - ==>Verifying data for policy with id: bd80856e-5c0b-43f3-b377-b85c990295c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095'] 2025-12-21 15:04:47,490 - INFO - VN ctest-vn-72716787 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-21 15:04:47,490 - DEBUG - Verifying the vn in opserver 2025-12-21 15:04:47,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787 virtual network link through opserver 10.0.0.38 2025-12-21 15:04:47,490 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-21 15:04:47,797 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-21 15:04:47,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787?flat'} 2025-12-21 15:04:47,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787 is found in opserver 2025-12-21 15:04:47,876 - DEBUG - Do not have enough data to verify VN in agent 2025-12-21 15:04:47,880 - DEBUG - VRF ids for VN ctest-vn-72716787: {} 2025-12-21 15:04:47,880 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:04:47,886 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:04:47,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:04:47,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:47,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:47,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:04:47,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:04:48,001 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b73d16a8-e295-45d9-b7e7-16a5459255a4 2025-12-21 15:04:48,008 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-21 15:04:48,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:48,017 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:04:48,032 - INFO - Verified VN network id 12 for VN b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:48,032 - INFO - Verifications in API Server for VN ctest-vn-11558531 passed 2025-12-21 15:04:48,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:48,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:04:48,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:04:48,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b73d16a8-e295-45d9-b7e7-16a5459255a4 2025-12-21 15:04:48,067 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96455572', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13315832948412796103', 'uuid-lslong': '10855432444420561495'}, 'enable': 'true', 'created': '2025-12-21T15:04:45', 'last-modified': '2025-12-21T15:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379831'} 2025-12-21 15:04:48,073 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-21 15:04:48,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11558531 passed 2025-12-21 15:04:48,073 - DEBUG - ====Verifying policy data for ctest-vn-11558531 in API_Server ====== 2025-12-21 15:04:48,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:04:48,079 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:04:48,091 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:04:48,161 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 2025-12-21 15:04:48,170 - DEBUG - ==>Verifying data for policy with id: bd80856e-5c0b-43f3-b377-b85c990295c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095'] 2025-12-21 15:04:48,170 - INFO - VN ctest-vn-11558531 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-21 15:04:48,170 - DEBUG - Verifying the vn in opserver 2025-12-21 15:04:48,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531 virtual network link through opserver 10.0.0.38 2025-12-21 15:04:48,170 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-21 15:04:48,180 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531?flat'} 2025-12-21 15:04:48,180 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531 is found in opserver 2025-12-21 15:04:48,190 - DEBUG - Do not have enough data to verify VN in agent 2025-12-21 15:04:48,194 - DEBUG - VRF ids for VN ctest-vn-11558531: {} 2025-12-21 15:04:48,252 - DEBUG - Services list from nova: [, , ] 2025-12-21 15:04:49,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1) 2025-12-21 15:04:50,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1) 2025-12-21 15:04:50,421 - INFO - Waiting for VM ctest-TestBasicPolicy-96455572-19940726 to be up.. 2025-12-21 15:04:50,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-21 15:04:55,588 - DEBUG - VM is in ACTIVE state now 2025-12-21 15:04:55,588 - INFO - VM name : ctest-TestBasicPolicy-96455572-19940726 2025-12-21 15:04:55,666 - DEBUG - VM ctest-TestBasicPolicy-96455572-19940726 ID is fe974916-a93e-4be8-ace5-87613362cbb5 2025-12-21 15:04:55,692 - DEBUG - VM ctest-TestBasicPolicy-96455572-19940726 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1 2025-12-21 15:04:55,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe974916-a93e-4be8-ace5-87613362cbb5 2025-12-21 15:04:55,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/984cf674-79e5-4446-af07-27a92753333d 2025-12-21 15:04:59,029 - 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-12-21 15:04:59,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96455572-19940726 failed! 2025-12-21 15:04:59,087 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787 is 140.43.247.193 and allocation pool is NOT set 2025-12-21 15:05:01,150 - 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=6.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 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 = 2.935/4.841/6.747/1.906 ms') 2025-12-21 15:05:01,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96455572-19940726 passed 2025-12-21 15:05:01,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:05:01,299 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96455572-19940726, IP 140.43.247.195, Port 22 2025-12-21 15:05:01,355 - 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-12-21 15:05:01,435 - DEBUG - VM ctest-TestBasicPolicy-96455572-19940726 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-21 15:05:06,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:05:06,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96455572-19940726, IP 140.43.247.195, Port 22 2025-12-21 15:05:06,591 - DEBUG - VM ctest-TestBasicPolicy-96455572-19940726 is ready for SSH connections 2025-12-21 15:05:06,591 - INFO - Waiting for VM ctest-TestBasicPolicy-96455572-40773267 to be up.. 2025-12-21 15:05:06,673 - DEBUG - VM is in ACTIVE state now 2025-12-21 15:05:06,673 - INFO - VM name : ctest-TestBasicPolicy-96455572-40773267 2025-12-21 15:05:06,748 - DEBUG - VM ctest-TestBasicPolicy-96455572-40773267 ID is ba3a65e9-89d9-4e1d-a11f-88b4351bf0bf 2025-12-21 15:05:06,749 - DEBUG - VM ctest-TestBasicPolicy-96455572-40773267 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1 2025-12-21 15:05:06,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba3a65e9-89d9-4e1d-a11f-88b4351bf0bf 2025-12-21 15:05:06,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2fa208c9-d2f5-4ef9-9dd1-12c2c858db6e 2025-12-21 15:05:08,079 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.611/2.866/1.255 ms') 2025-12-21 15:05:08,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96455572-40773267 passed 2025-12-21 15:05:08,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:05:08,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96455572-40773267, IP 141.226.203.3, Port 22 2025-12-21 15:05:08,394 - DEBUG - VM ctest-TestBasicPolicy-96455572-40773267 is ready for SSH connections 2025-12-21 15:05:08,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:05:08,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.226.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-21 15:05:08,394 - DEBUG - ping -s 56 -c 3 -W 1 141.226.203.3 2025-12-21 15:05:12,451 - DEBUG - PING 141.226.203.3 (141.226.203.3): 56 data bytes 64 bytes from 141.226.203.3: seq=0 ttl=63 time=4.230 ms 64 bytes from 141.226.203.3: seq=1 ttl=63 time=0.890 ms 64 bytes from 141.226.203.3: seq=2 ttl=63 time=0.878 ms --- 141.226.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.999/4.230 ms 2025-12-21 15:05:12,452 - INFO - Ping to IP 141.226.203.3 from VM ctest-TestBasicPolicy-96455572-19940726 passed 2025-12-21 15:05:12,631 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bd80856e-5c0b-43f3-b377-b85c990295c8", "href": "http://10.0.0.38:8082/network-policy/bd80856e-5c0b-43f3-b377-b85c990295c8"}} 2025-12-21 15:05:12,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:05:12,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.226.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-21 15:05:12,631 - DEBUG - ping -s 56 -c 3 -W 1 141.226.203.3 2025-12-21 15:05:15,855 - DEBUG - PING 141.226.203.3 (141.226.203.3): 56 data bytes --- 141.226.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-21 15:05:15,855 - WARNING - Ping to IP 141.226.203.3 from VM ctest-TestBasicPolicy-96455572-19940726 failed 2025-12-21 15:05:15,855 - INFO - Deleting VM ctest-TestBasicPolicy-96455572-40773267 2025-12-21 15:05:15,920 - INFO - Deleting VM ctest-TestBasicPolicy-96455572-19940726 2025-12-21 15:05:16,320 - INFO - Deleted policy ctest-policy-allow-all-47711095 2025-12-21 15:05:16,321 - INFO - Deleting VN ctest-vn-11558531 2025-12-21 15:05:16,361 - DEBUG - VN b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57 still in use: Unable to complete operation on network b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ddf619d9-ec91-4987-8a53-8b218e8c6fc1'] 2025-12-21 15:05:16,361 - WARNING - Deleting VN ctest-vn-11558531 failed..Will retry 2025-12-21 15:05:18,455 - DEBUG - Response for deleting network () 2025-12-21 15:05:18,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4 2025-12-21 15:05:18,462 - DEBUG - Response Code: 404 2025-12-21 15:05:18,462 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:05:18,466 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:05:18,520 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:05:18,589 - INFO - Validated that VN ctest-vn-11558531 is not found in API Server 2025-12-21 15:05:18,598 - DEBUG - VN ctest-vn-11558531 is not present in Agent 10.0.0.38 2025-12-21 15:05:18,598 - INFO - Validated that VN ctest-vn-11558531 is not in any agent 2025-12-21 15:05:18,611 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11558531 info 2025-12-21 15:05:18,611 - INFO - Deleting VN ctest-vn-72716787 2025-12-21 15:05:18,707 - DEBUG - Response for deleting network () 2025-12-21 15:05:18,707 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf 2025-12-21 15:05:18,714 - DEBUG - Response Code: 404 2025-12-21 15:05:18,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-21 15:05:18,719 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d 2025-12-21 15:05:18,772 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e 2025-12-21 15:05:18,837 - INFO - Validated that VN ctest-vn-72716787 is not found in API Server 2025-12-21 15:05:18,846 - DEBUG - VN ctest-vn-72716787 is not present in Agent 10.0.0.38 2025-12-21 15:05:18,846 - INFO - Validated that VN ctest-vn-72716787 is not in any agent 2025-12-21 15:05:18,860 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72716787 info 2025-12-21 15:05:19,123 - DEBUG - No XMPP flaps were noticed during the test 2025-12-21 15:05:19,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-21 15:05:19,123 - INFO - -------------------------------------------------------------------------------- 2025-12-21 15:05:19,805 - INFO - Deleted project: ctest-TestBasicPolicy-96455572, ID : 01a248d0-4949-4ffe-9b71-c141ed14dd1e