2025-09-18 01:57:07,573 - INFO - Domain Default found not creating 2025-09-18 01:57:07,720 - INFO - Project ctest-TestBasicPolicy-47366384 not found, creating it 2025-09-18 01:57:08,163 - INFO - Created Project:ctest-TestBasicPolicy-47366384, ID : fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:09,687 - INFO - ================================================================================ 2025-09-18 01:57:09,687 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 01:57:09,687 - 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-09-18 01:57:09,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with 2025-09-18 01:57:09,944 - INFO - Initial checks done. Running the testcase now 2025-09-18 01:57:09,944 - INFO - 2025-09-18 01:57:10,538 - DEBUG - Response for create_network : {'network': {'id': '5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9', 'name': 'ctest-vn-34027513', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-vn-34027513'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:57:10,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '74dccffc-0786-4bdf-8151-11671af5a117', 'name': '', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'network_id': '5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9', 'ip_version': 4, 'cidr': '164.127.220.128/26', 'allocation_pools': [{'start': '164.127.220.130', 'end': '164.127.220.190'}], 'gateway_ip': '164.127.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.127.220.130', 'tags': [], 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d'}} 2025-09-18 01:57:10,773 - INFO - Created VN ctest-vn-34027513 2025-09-18 01:57:10,823 - DEBUG - VN ctest-vn-34027513 UUID is 5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:11,113 - DEBUG - Response for create_network : {'network': {'id': '2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e', 'name': 'ctest-vn-80227714', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-vn-80227714'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:57:11,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e58aac9-6164-43fc-a9c6-1557eb2201af', 'name': '', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'network_id': '2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e', 'ip_version': 4, 'cidr': '175.71.109.0/26', 'allocation_pools': [{'start': '175.71.109.2', 'end': '175.71.109.62'}], 'gateway_ip': '175.71.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.71.109.2', 'tags': [], 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d'}} 2025-09-18 01:57:11,345 - INFO - Created VN ctest-vn-80227714 2025-09-18 01:57:11,395 - DEBUG - VN ctest-vn-80227714 UUID is 2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:11,547 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513, 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-47366384:ctest-vn-80227714, 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-09-18 01:57:11,850 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9', 'name': 'ctest-vn-34027513', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74dccffc-0786-4bdf-8151-11671af5a117'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-vn-34027513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-policy-allow-all-59643308']], 'subnet_ipam': [{'subnet_cidr': '164.127.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:57:12,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e', 'name': 'ctest-vn-80227714', 'tenant_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'project_id': 'fd1b1d5514684d9eace1689a5e69e00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e58aac9-6164-43fc-a9c6-1557eb2201af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-vn-80227714'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-policy-allow-all-59643308']], 'subnet_ipam': [{'subnet_cidr': '175.71.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:57:12,307 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:12,642 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:12,673 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:12,687 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:12,761 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,773 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,783 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:12,789 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:12,796 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/5d75cb0d-87ae-4050-90d9-0511ce77fe03 2025-09-18 01:57:12,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 01:57:12,801 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,809 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:12,823 - INFO - Verified VN network id 11 for VN 5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,824 - INFO - Verifications in API Server for VN ctest-vn-34027513 passed 2025-09-18 01:57:12,824 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,833 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:12,839 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:12,844 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/5d75cb0d-87ae-4050-90d9-0511ce77fe03 2025-09-18 01:57:12,859 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47366384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6640227854968442252', 'uuid-lslong': '12344661651429401001'}, 'enable': 'true', 'created': '2025-09-18T01:57:10', 'last-modified': '2025-09-18T01:57:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038431'} 2025-09-18 01:57:12,865 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 01:57:12,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34027513 passed 2025-09-18 01:57:12,865 - DEBUG - ====Verifying policy data for ctest-vn-34027513 in API_Server ====== 2025-09-18 01:57:12,865 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:12,870 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:12,881 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:12,948 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5c26d40d-7b0c-4d8c-ab51-0c5dfdd621a9 2025-09-18 01:57:12,957 - DEBUG - ==>Verifying data for policy with id: 54adc757-691f-4482-aae2-1566383f3ef4, fqn: ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-policy-allow-all-59643308'] 2025-09-18 01:57:12,957 - INFO - VN ctest-vn-34027513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 01:57:12,957 - DEBUG - Verifying the vn in opserver 2025-09-18 01:57:12,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513 virtual network link through opserver 10.0.0.49 2025-09-18 01:57:12,957 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 01:57:13,288 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 01:57:13,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513?flat'} 2025-09-18 01:57:13,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513 is found in opserver 2025-09-18 01:57:13,355 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 01:57:13,360 - DEBUG - VRF ids for VN ctest-vn-34027513: {} 2025-09-18 01:57:13,361 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:13,366 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:13,376 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:13,451 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,463 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,471 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:13,477 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:13,483 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ec7d5819-285e-4009-851a-b23df55fd1ef 2025-09-18 01:57:13,489 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 01:57:13,489 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,498 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:13,510 - INFO - Verified VN network id 12 for VN 2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,510 - INFO - Verifications in API Server for VN ctest-vn-80227714 passed 2025-09-18 01:57:13,510 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,518 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:13,524 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:13,530 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ec7d5819-285e-4009-851a-b23df55fd1ef 2025-09-18 01:57:13,541 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-80227714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47366384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3372926493239169011', 'uuid-lslong': '11271502483236408142'}, 'enable': 'true', 'created': '2025-09-18T01:57:11', 'last-modified': '2025-09-18T01:57:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480849'} 2025-09-18 01:57:13,549 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 01:57:13,549 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80227714 passed 2025-09-18 01:57:13,549 - DEBUG - ====Verifying policy data for ctest-vn-80227714 in API_Server ====== 2025-09-18 01:57:13,549 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:13,555 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:13,565 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:13,632 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e 2025-09-18 01:57:13,640 - DEBUG - ==>Verifying data for policy with id: 54adc757-691f-4482-aae2-1566383f3ef4, fqn: ['default-domain', 'ctest-TestBasicPolicy-47366384', 'ctest-policy-allow-all-59643308'] 2025-09-18 01:57:13,640 - INFO - VN ctest-vn-80227714 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 01:57:13,640 - DEBUG - Verifying the vn in opserver 2025-09-18 01:57:13,640 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-80227714 virtual network link through opserver 10.0.0.49 2025-09-18 01:57:13,640 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 01:57:13,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-80227714', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-80227714?flat'} 2025-09-18 01:57:13,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-80227714 is found in opserver 2025-09-18 01:57:13,658 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 01:57:13,662 - DEBUG - VRF ids for VN ctest-vn-80227714: {} 2025-09-18 01:57:13,721 - DEBUG - Services list from nova: [, , ] 2025-09-18 01:57:14,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1) 2025-09-18 01:57:16,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1) 2025-09-18 01:57:16,038 - INFO - Waiting for VM ctest-TestBasicPolicy-47366384-37611502 to be up.. 2025-09-18 01:57:16,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 01:57:21,188 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:57:21,189 - INFO - VM name : ctest-TestBasicPolicy-47366384-37611502 2025-09-18 01:57:21,267 - DEBUG - VM ctest-TestBasicPolicy-47366384-37611502 ID is b1fa6d6a-0d1b-4b0a-8faa-c72c1f1337b9 2025-09-18 01:57:21,290 - DEBUG - VM ctest-TestBasicPolicy-47366384-37611502 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1 2025-09-18 01:57:21,365 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b1fa6d6a-0d1b-4b0a-8faa-c72c1f1337b9 2025-09-18 01:57:21,374 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b665c5ac-e0a3-4a42-9430-d3a49012e0f4 2025-09-18 01:57:24,631 - 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 1027ms') 2025-09-18 01:57:24,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47366384-37611502 failed! 2025-09-18 01:57:24,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47366384:ctest-vn-34027513 is 164.127.220.129 and allocation pool is NOT set 2025-09-18 01:57:26,748 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.272/5.263/9.255/3.991 ms') 2025-09-18 01:57:26,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47366384-37611502 passed 2025-09-18 01:57:26,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:57:26,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47366384-37611502, IP 164.127.220.131, Port 22 2025-09-18 01:57:26,961 - 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-09-18 01:57:27,036 - DEBUG - VM ctest-TestBasicPolicy-47366384-37611502 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-18 01:57:32,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:57:32,038 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47366384-37611502, IP 164.127.220.131, Port 22 2025-09-18 01:57:32,195 - DEBUG - VM ctest-TestBasicPolicy-47366384-37611502 is ready for SSH connections 2025-09-18 01:57:32,195 - INFO - Waiting for VM ctest-TestBasicPolicy-47366384-42377231 to be up.. 2025-09-18 01:57:32,273 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:57:32,273 - INFO - VM name : ctest-TestBasicPolicy-47366384-42377231 2025-09-18 01:57:32,346 - DEBUG - VM ctest-TestBasicPolicy-47366384-42377231 ID is 85ac8dfc-f992-4b88-b8ea-8eb3f150c9e9 2025-09-18 01:57:32,346 - DEBUG - VM ctest-TestBasicPolicy-47366384-42377231 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1 2025-09-18 01:57:32,419 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/85ac8dfc-f992-4b88-b8ea-8eb3f150c9e9 2025-09-18 01:57:32,427 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2261448c-f4c1-42e4-9451-be1769a65886 2025-09-18 01:57:33,655 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.774/3.167/1.393 ms') 2025-09-18 01:57:33,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47366384-42377231 passed 2025-09-18 01:57:33,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:57:33,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47366384-42377231, IP 175.71.109.3, Port 22 2025-09-18 01:57:33,971 - DEBUG - VM ctest-TestBasicPolicy-47366384-42377231 is ready for SSH connections 2025-09-18 01:57:33,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:57:33,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.71.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 01:57:33,971 - DEBUG - ping -s 56 -c 3 -W 1 175.71.109.3 2025-09-18 01:57:38,044 - DEBUG - PING 175.71.109.3 (175.71.109.3): 56 data bytes 64 bytes from 175.71.109.3: seq=0 ttl=63 time=3.500 ms 64 bytes from 175.71.109.3: seq=1 ttl=63 time=1.201 ms 64 bytes from 175.71.109.3: seq=2 ttl=63 time=0.906 ms --- 175.71.109.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.869/3.500 ms 2025-09-18 01:57:38,044 - INFO - Ping to IP 175.71.109.3 from VM ctest-TestBasicPolicy-47366384-37611502 passed 2025-09-18 01:57:38,223 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54adc757-691f-4482-aae2-1566383f3ef4", "href": "http://10.0.0.49:8082/network-policy/54adc757-691f-4482-aae2-1566383f3ef4"}} 2025-09-18 01:57:38,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:57:38,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.71.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 01:57:38,223 - DEBUG - ping -s 56 -c 3 -W 1 175.71.109.3 2025-09-18 01:57:41,443 - DEBUG - PING 175.71.109.3 (175.71.109.3): 56 data bytes --- 175.71.109.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 01:57:41,443 - WARNING - Ping to IP 175.71.109.3 from VM ctest-TestBasicPolicy-47366384-37611502 failed 2025-09-18 01:57:41,444 - INFO - Deleting VM ctest-TestBasicPolicy-47366384-42377231 2025-09-18 01:57:41,517 - INFO - Deleting VM ctest-TestBasicPolicy-47366384-37611502 2025-09-18 01:57:41,909 - INFO - Deleted policy ctest-policy-allow-all-59643308 2025-09-18 01:57:41,909 - INFO - Deleting VN ctest-vn-80227714 2025-09-18 01:57:41,944 - DEBUG - VN 2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e still in use: Unable to complete operation on network 2ecf0ac6-6b06-4ff3-9c6c-6bca1e3d4b4e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c46afa4a-336c-4c29-ae71-9b787839d5e6'] 2025-09-18 01:57:41,944 - WARNING - Deleting VN ctest-vn-80227714 failed..Will retry 2025-09-18 01:57:44,043 - DEBUG - Response for deleting network () 2025-09-18 01:57:44,043 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d8f03af2-7a7c-46fa-a6b6-9cf78947450f 2025-09-18 01:57:44,051 - DEBUG - Response Code: 404 2025-09-18 01:57:44,051 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:44,056 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:44,110 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:44,178 - INFO - Validated that VN ctest-vn-80227714 is not found in API Server 2025-09-18 01:57:44,188 - DEBUG - VN ctest-vn-80227714 is not present in Agent 10.0.0.49 2025-09-18 01:57:44,188 - INFO - Validated that VN ctest-vn-80227714 is not in any agent 2025-09-18 01:57:44,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80227714 info 2025-09-18 01:57:44,201 - INFO - Deleting VN ctest-vn-34027513 2025-09-18 01:57:44,307 - DEBUG - Response for deleting network () 2025-09-18 01:57:44,308 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/4e146cdc-5f08-4a78-a774-3342cd1e2d97 2025-09-18 01:57:44,314 - DEBUG - Response Code: 404 2025-09-18 01:57:44,314 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 01:57:44,319 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5fde2650-5597-4871-87cc-c93f22711b70 2025-09-18 01:57:44,372 - DEBUG - Requesting: http://10.0.0.49:8082/project/fd1b1d55-1468-4d9e-ace1-689a5e69e00d 2025-09-18 01:57:44,441 - INFO - Validated that VN ctest-vn-34027513 is not found in API Server 2025-09-18 01:57:44,450 - DEBUG - VN ctest-vn-34027513 is not present in Agent 10.0.0.49 2025-09-18 01:57:44,450 - INFO - Validated that VN ctest-vn-34027513 is not in any agent 2025-09-18 01:57:44,463 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34027513 info 2025-09-18 01:57:44,717 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 01:57:44,717 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-18 01:57:44,718 - INFO - -------------------------------------------------------------------------------- 2025-09-18 01:57:45,430 - INFO - Deleted project: ctest-TestBasicPolicy-47366384, ID : fd1b1d55-1468-4d9e-ace1-689a5e69e00d