2025-11-05 10:49:50,479 - INFO - Domain Default found not creating 2025-11-05 10:49:50,642 - INFO - Project ctest-TestBasicPolicy-33497673 not found, creating it 2025-11-05 10:49:51,063 - INFO - Created Project:ctest-TestBasicPolicy-33497673, ID : fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:49:52,568 - INFO - ================================================================================ 2025-11-05 10:49:52,568 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 10:49:52,568 - 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-05 10:49:52,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-05 10:49:52,824 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:49:52,825 - INFO - 2025-11-05 10:49:53,436 - DEBUG - Response for create_network : {'network': {'id': '71e6cb67-c39b-4b95-8e19-3d1d6a982aef', 'name': 'ctest-vn-14848973', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-vn-14848973'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:53,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7e4e486-0058-4344-8c13-b8d87211a81b', 'name': '', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'network_id': '71e6cb67-c39b-4b95-8e19-3d1d6a982aef', 'ip_version': 4, 'cidr': '216.22.7.64/26', 'allocation_pools': [{'start': '216.22.7.66', 'end': '216.22.7.126'}], 'gateway_ip': '216.22.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.22.7.66', 'tags': [], 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b'}} 2025-11-05 10:49:53,670 - INFO - Created VN ctest-vn-14848973 2025-11-05 10:49:53,722 - DEBUG - VN ctest-vn-14848973 UUID is 71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:54,016 - DEBUG - Response for create_network : {'network': {'id': 'a36e5de9-bcb5-411d-a75a-abd51aa47eba', 'name': 'ctest-vn-33109270', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-vn-33109270'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:54,244 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de9b1e7b-2912-4ea3-88ea-985ebccac6d3', 'name': '', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'network_id': 'a36e5de9-bcb5-411d-a75a-abd51aa47eba', 'ip_version': 4, 'cidr': '134.40.137.64/26', 'allocation_pools': [{'start': '134.40.137.66', 'end': '134.40.137.126'}], 'gateway_ip': '134.40.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.40.137.66', 'tags': [], 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b'}} 2025-11-05 10:49:54,262 - INFO - Created VN ctest-vn-33109270 2025-11-05 10:49:54,318 - DEBUG - VN ctest-vn-33109270 UUID is a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:54,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973, 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-33497673:ctest-vn-33109270, 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-05 10:49:54,789 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71e6cb67-c39b-4b95-8e19-3d1d6a982aef', 'name': 'ctest-vn-14848973', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7e4e486-0058-4344-8c13-b8d87211a81b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-vn-14848973'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-policy-allow-all-11493143']], 'subnet_ipam': [{'subnet_cidr': '216.22.7.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:55,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a36e5de9-bcb5-411d-a75a-abd51aa47eba', 'name': 'ctest-vn-33109270', 'tenant_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'project_id': 'fbdda7308eef4c14a4fce635c4a8145b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de9b1e7b-2912-4ea3-88ea-985ebccac6d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-vn-33109270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-policy-allow-all-11493143']], 'subnet_ipam': [{'subnet_cidr': '134.40.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:55,206 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:49:55,512 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:49:55,543 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:49:55,558 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:49:55,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,640 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,649 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:49:55,657 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:49:55,664 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8806cc60-38f7-4883-a1a6-4198dd9678fe 2025-11-05 10:49:55,673 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 10:49:55,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,682 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:49:55,697 - INFO - Verified VN network id 11 for VN 71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,697 - INFO - Verifications in API Server for VN ctest-vn-14848973 passed 2025-11-05 10:49:55,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:49:55,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:49:55,719 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8806cc60-38f7-4883-a1a6-4198dd9678fe 2025-11-05 10:49:55,732 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33497673', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8207471017453112213', 'uuid-lslong': '10239282424355236591'}, 'enable': 'true', 'created': '2025-11-05T10:49:53', 'last-modified': '2025-11-05T10:49:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971675'} 2025-11-05 10:49:55,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 10:49:55,739 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14848973 passed 2025-11-05 10:49:55,740 - DEBUG - ====Verifying policy data for ctest-vn-14848973 in API_Server ====== 2025-11-05 10:49:55,740 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:49:55,747 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:49:55,759 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:49:55,829 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/71e6cb67-c39b-4b95-8e19-3d1d6a982aef 2025-11-05 10:49:55,839 - DEBUG - ==>Verifying data for policy with id: 2bd89da0-9f34-4d71-b04d-f3da0780a66c, fqn: ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-policy-allow-all-11493143'] 2025-11-05 10:49:55,839 - INFO - VN ctest-vn-14848973 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 10:49:55,840 - DEBUG - Verifying the vn in opserver 2025-11-05 10:49:55,840 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973 virtual network link through opserver 10.0.0.50 2025-11-05 10:49:55,840 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 10:49:56,150 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 10:49:56,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973?flat'} 2025-11-05 10:49:56,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973 is found in opserver 2025-11-05 10:49:56,215 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 10:49:56,220 - DEBUG - VRF ids for VN ctest-vn-14848973: {} 2025-11-05 10:49:56,220 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:49:56,225 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:49:56,234 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:49:56,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,322 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,330 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:49:56,338 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:49:56,344 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/352d93d6-5b3a-4d13-b6f5-d1a054f2d2ae 2025-11-05 10:49:56,349 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 10:49:56,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:49:56,370 - INFO - Verified VN network id 12 for VN a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,370 - INFO - Verifications in API Server for VN ctest-vn-33109270 passed 2025-11-05 10:49:56,370 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,378 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:49:56,384 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:49:56,391 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/352d93d6-5b3a-4d13-b6f5-d1a054f2d2ae 2025-11-05 10:49:56,403 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-33109270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33497673', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11776453334095184157', 'uuid-lslong': '12059139884001296058'}, 'enable': 'true', 'created': '2025-11-05T10:49:53', 'last-modified': '2025-11-05T10:49:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386780'} 2025-11-05 10:49:56,410 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 10:49:56,410 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33109270 passed 2025-11-05 10:49:56,410 - DEBUG - ====Verifying policy data for ctest-vn-33109270 in API_Server ====== 2025-11-05 10:49:56,410 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:49:56,416 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:49:56,426 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:49:56,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a36e5de9-bcb5-411d-a75a-abd51aa47eba 2025-11-05 10:49:56,508 - DEBUG - ==>Verifying data for policy with id: 2bd89da0-9f34-4d71-b04d-f3da0780a66c, fqn: ['default-domain', 'ctest-TestBasicPolicy-33497673', 'ctest-policy-allow-all-11493143'] 2025-11-05 10:49:56,508 - INFO - VN ctest-vn-33109270 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 10:49:56,508 - DEBUG - Verifying the vn in opserver 2025-11-05 10:49:56,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-33109270 virtual network link through opserver 10.0.0.50 2025-11-05 10:49:56,508 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 10:49:56,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-33109270', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-33109270?flat'} 2025-11-05 10:49:56,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-33109270 is found in opserver 2025-11-05 10:49:56,529 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 10:49:56,534 - DEBUG - VRF ids for VN ctest-vn-33109270: {} 2025-11-05 10:49:56,595 - DEBUG - Services list from nova: [, , ] 2025-11-05 10:49:57,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:49:58,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:49:58,850 - INFO - Waiting for VM ctest-TestBasicPolicy-33497673-39418336 to be up.. 2025-11-05 10:49:58,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 10:50:04,015 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:50:04,015 - INFO - VM name : ctest-TestBasicPolicy-33497673-39418336 2025-11-05 10:50:04,100 - DEBUG - VM ctest-TestBasicPolicy-33497673-39418336 ID is 5bdb2bf0-ac86-4431-8787-cb3a9932797f 2025-11-05 10:50:04,120 - DEBUG - VM ctest-TestBasicPolicy-33497673-39418336 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:50:04,191 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5bdb2bf0-ac86-4431-8787-cb3a9932797f 2025-11-05 10:50:04,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4b35c5db-1ebc-401f-b8f2-7dcac62027c7 2025-11-05 10:50:07,406 - 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 1013ms') 2025-11-05 10:50:07,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33497673-39418336 failed! 2025-11-05 10:50:07,462 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33497673:ctest-vn-14848973 is 216.22.7.65 and allocation pool is NOT set 2025-11-05 10:50:09,528 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.29 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.285/7.086/11.887/4.801 ms') 2025-11-05 10:50:09,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33497673-39418336 passed 2025-11-05 10:50:09,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:50:09,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33497673-39418336, IP 216.22.7.67, Port 22 2025-11-05 10:50:09,734 - 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-05 10:50:09,813 - DEBUG - VM ctest-TestBasicPolicy-33497673-39418336 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 10:50:14,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:50:14,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33497673-39418336, IP 216.22.7.67, Port 22 2025-11-05 10:50:14,982 - DEBUG - VM ctest-TestBasicPolicy-33497673-39418336 is ready for SSH connections 2025-11-05 10:50:14,982 - INFO - Waiting for VM ctest-TestBasicPolicy-33497673-20240267 to be up.. 2025-11-05 10:50:15,072 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:50:15,073 - INFO - VM name : ctest-TestBasicPolicy-33497673-20240267 2025-11-05 10:50:15,157 - DEBUG - VM ctest-TestBasicPolicy-33497673-20240267 ID is d7de1586-e16d-447c-9f47-dd905a821175 2025-11-05 10:50:15,158 - DEBUG - VM ctest-TestBasicPolicy-33497673-20240267 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:50:15,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7de1586-e16d-447c-9f47-dd905a821175 2025-11-05 10:50:15,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6be486b7-9fa3-4a15-b65b-b309d2364e45 2025-11-05 10:50:16,480 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.835/3.243/1.408 ms') 2025-11-05 10:50:16,480 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33497673-20240267 passed 2025-11-05 10:50:16,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:50:16,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33497673-20240267, IP 134.40.137.67, Port 22 2025-11-05 10:50:16,797 - DEBUG - VM ctest-TestBasicPolicy-33497673-20240267 is ready for SSH connections 2025-11-05 10:50:16,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:50:16,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.40.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:50:16,798 - DEBUG - ping -s 56 -c 3 -W 1 134.40.137.67 2025-11-05 10:50:20,874 - DEBUG - PING 134.40.137.67 (134.40.137.67): 56 data bytes 64 bytes from 134.40.137.67: seq=0 ttl=63 time=3.817 ms 64 bytes from 134.40.137.67: seq=1 ttl=63 time=0.981 ms 64 bytes from 134.40.137.67: seq=2 ttl=63 time=1.058 ms --- 134.40.137.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/1.952/3.817 ms 2025-11-05 10:50:20,874 - INFO - Ping to IP 134.40.137.67 from VM ctest-TestBasicPolicy-33497673-39418336 passed 2025-11-05 10:50:21,066 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2bd89da0-9f34-4d71-b04d-f3da0780a66c", "href": "http://10.0.0.50:8082/network-policy/2bd89da0-9f34-4d71-b04d-f3da0780a66c"}} 2025-11-05 10:50:21,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:50:21,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.40.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:50:21,066 - DEBUG - ping -s 56 -c 3 -W 1 134.40.137.67 2025-11-05 10:50:24,289 - DEBUG - PING 134.40.137.67 (134.40.137.67): 56 data bytes --- 134.40.137.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 10:50:24,289 - WARNING - Ping to IP 134.40.137.67 from VM ctest-TestBasicPolicy-33497673-39418336 failed 2025-11-05 10:50:24,289 - INFO - Deleting VM ctest-TestBasicPolicy-33497673-20240267 2025-11-05 10:50:24,371 - INFO - Deleting VM ctest-TestBasicPolicy-33497673-39418336 2025-11-05 10:50:24,847 - INFO - Deleted policy ctest-policy-allow-all-11493143 2025-11-05 10:50:24,847 - INFO - Deleting VN ctest-vn-33109270 2025-11-05 10:50:24,885 - DEBUG - VN a36e5de9-bcb5-411d-a75a-abd51aa47eba still in use: Unable to complete operation on network a36e5de9-bcb5-411d-a75a-abd51aa47eba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c10cad2e-73c4-4a48-ad17-8879452b6061'] 2025-11-05 10:50:24,885 - WARNING - Deleting VN ctest-vn-33109270 failed..Will retry 2025-11-05 10:50:27,003 - DEBUG - Response for deleting network () 2025-11-05 10:50:27,003 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51edc165-cf22-472a-a496-bf354225caf1 2025-11-05 10:50:27,008 - DEBUG - Response Code: 404 2025-11-05 10:50:27,008 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:50:27,015 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:50:27,069 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:50:27,149 - INFO - Validated that VN ctest-vn-33109270 is not found in API Server 2025-11-05 10:50:27,162 - DEBUG - VN ctest-vn-33109270 is not present in Agent 10.0.0.50 2025-11-05 10:50:27,162 - INFO - Validated that VN ctest-vn-33109270 is not in any agent 2025-11-05 10:50:27,182 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33109270 info 2025-11-05 10:50:27,182 - INFO - Deleting VN ctest-vn-14848973 2025-11-05 10:50:27,294 - DEBUG - Response for deleting network () 2025-11-05 10:50:27,294 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6e6ea0d4-d4de-4a18-85c6-eed17e4f59fb 2025-11-05 10:50:27,301 - DEBUG - Response Code: 404 2025-11-05 10:50:27,301 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 10:50:27,309 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a9c2356-b443-4b47-811d-6d39642beb0d 2025-11-05 10:50:27,363 - DEBUG - Requesting: http://10.0.0.50:8082/project/fbdda730-8eef-4c14-a4fc-e635c4a8145b 2025-11-05 10:50:27,450 - INFO - Validated that VN ctest-vn-14848973 is not found in API Server 2025-11-05 10:50:27,462 - DEBUG - VN ctest-vn-14848973 is not present in Agent 10.0.0.50 2025-11-05 10:50:27,462 - INFO - Validated that VN ctest-vn-14848973 is not in any agent 2025-11-05 10:50:27,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14848973 info 2025-11-05 10:50:27,736 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 10:50:27,736 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-05 10:50:27,736 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:50:28,528 - INFO - Deleted project: ctest-TestBasicPolicy-33497673, ID : fbdda730-8eef-4c14-a4fc-e635c4a8145b