2025-10-23 11:34:34,112 - INFO - Domain Default found not creating 2025-10-23 11:34:34,289 - INFO - Project ctest-TestBasicPolicy-68956542 not found, creating it 2025-10-23 11:34:34,776 - INFO - Created Project:ctest-TestBasicPolicy-68956542, ID : 8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:34:36,292 - INFO - ================================================================================ 2025-10-23 11:34:36,292 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 11:34:36,292 - 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-10-23 11:34:36,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-23 11:34:36,556 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:34:36,557 - INFO - 2025-10-23 11:34:37,149 - DEBUG - Response for create_network : {'network': {'id': '6650c68c-3f55-4ce6-955f-7870098e13bc', 'name': 'ctest-vn-09436940', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'project_id': '8e57957bd3e64c118345b8852e13fee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-vn-09436940'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:34:37,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b5858b1-4947-4904-80b4-023c92e8fdd5', 'name': '', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'network_id': '6650c68c-3f55-4ce6-955f-7870098e13bc', 'ip_version': 4, 'cidr': '145.153.155.192/26', 'allocation_pools': [{'start': '145.153.155.194', 'end': '145.153.155.254'}], 'gateway_ip': '145.153.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.153.155.194', 'tags': [], 'project_id': '8e57957bd3e64c118345b8852e13fee5'}} 2025-10-23 11:34:37,352 - INFO - Created VN ctest-vn-09436940 2025-10-23 11:34:37,409 - DEBUG - VN ctest-vn-09436940 UUID is 6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:37,709 - DEBUG - Response for create_network : {'network': {'id': 'bb32cf4a-a9e8-4284-a3e1-883d37b155a3', 'name': 'ctest-vn-87801970', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'project_id': '8e57957bd3e64c118345b8852e13fee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-vn-87801970'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:34:37,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c81c455c-fd0d-4066-bb7c-7b6111a5e420', 'name': '', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'network_id': 'bb32cf4a-a9e8-4284-a3e1-883d37b155a3', 'ip_version': 4, 'cidr': '44.131.97.64/26', 'allocation_pools': [{'start': '44.131.97.66', 'end': '44.131.97.126'}], 'gateway_ip': '44.131.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.131.97.66', 'tags': [], 'project_id': '8e57957bd3e64c118345b8852e13fee5'}} 2025-10-23 11:34:37,937 - INFO - Created VN ctest-vn-87801970 2025-10-23 11:34:37,990 - DEBUG - VN ctest-vn-87801970 UUID is bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:38,117 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940, 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-68956542:ctest-vn-87801970, 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-10-23 11:34:38,416 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6650c68c-3f55-4ce6-955f-7870098e13bc', 'name': 'ctest-vn-09436940', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'project_id': '8e57957bd3e64c118345b8852e13fee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b5858b1-4947-4904-80b4-023c92e8fdd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-vn-09436940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-policy-allow-all-28785498']], 'subnet_ipam': [{'subnet_cidr': '145.153.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:34:38,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb32cf4a-a9e8-4284-a3e1-883d37b155a3', 'name': 'ctest-vn-87801970', 'tenant_id': '8e57957bd3e64c118345b8852e13fee5', 'project_id': '8e57957bd3e64c118345b8852e13fee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c81c455c-fd0d-4066-bb7c-7b6111a5e420'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-vn-87801970'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-policy-allow-all-28785498']], 'subnet_ipam': [{'subnet_cidr': '44.131.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:34:38,813 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:34:39,122 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:34:39,156 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:34:39,169 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:34:39,248 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,260 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,270 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:34:39,279 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:34:39,285 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ad60a856-328f-4bc5-a63f-4e9c5d6bda12 2025-10-23 11:34:39,291 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:34:39,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,300 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:34:39,314 - INFO - Verified VN network id 11 for VN 6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,314 - INFO - Verifications in API Server for VN ctest-vn-09436940 passed 2025-10-23 11:34:39,314 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,324 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:34:39,331 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:34:39,338 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ad60a856-328f-4bc5-a63f-4e9c5d6bda12 2025-10-23 11:34:39,352 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68956542', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7372610895665777894', 'uuid-lslong': '10763454057030751164'}, 'enable': 'true', 'created': '2025-10-23T11:34:37', 'last-modified': '2025-10-23T11:34:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957429'} 2025-10-23 11:34:39,360 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:34:39,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09436940 passed 2025-10-23 11:34:39,360 - DEBUG - ====Verifying policy data for ctest-vn-09436940 in API_Server ====== 2025-10-23 11:34:39,360 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:34:39,367 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:34:39,380 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:34:39,454 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6650c68c-3f55-4ce6-955f-7870098e13bc 2025-10-23 11:34:39,469 - DEBUG - ==>Verifying data for policy with id: c930e6bd-b844-4fb7-a557-5fe676ee9a23, fqn: ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-policy-allow-all-28785498'] 2025-10-23 11:34:39,469 - INFO - VN ctest-vn-09436940 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:34:39,469 - DEBUG - Verifying the vn in opserver 2025-10-23 11:34:39,469 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940 virtual network link through opserver 10.0.0.249 2025-10-23 11:34:39,469 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-23 11:34:39,767 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-23 11:34:39,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940?flat'} 2025-10-23 11:34:39,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940 is found in opserver 2025-10-23 11:34:39,835 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:34:39,840 - DEBUG - VRF ids for VN ctest-vn-09436940: {} 2025-10-23 11:34:39,840 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:34:39,845 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:34:39,855 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:34:39,926 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:39,938 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:39,949 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:34:39,956 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:34:39,963 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8d4533db-1595-46b3-b94b-7bb25a633f31 2025-10-23 11:34:39,969 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:34:39,969 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:39,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:34:39,995 - INFO - Verified VN network id 12 for VN bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:39,995 - INFO - Verifications in API Server for VN ctest-vn-87801970 passed 2025-10-23 11:34:39,995 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:40,004 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:34:40,013 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:34:40,019 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8d4533db-1595-46b3-b94b-7bb25a633f31 2025-10-23 11:34:40,033 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-87801970', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68956542', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13489071753513157252', 'uuid-lslong': '11808869494450902435'}, 'enable': 'true', 'created': '2025-10-23T11:34:37', 'last-modified': '2025-10-23T11:34:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407954'} 2025-10-23 11:34:40,039 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:34:40,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87801970 passed 2025-10-23 11:34:40,040 - DEBUG - ====Verifying policy data for ctest-vn-87801970 in API_Server ====== 2025-10-23 11:34:40,040 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:34:40,046 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:34:40,059 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:34:40,130 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bb32cf4a-a9e8-4284-a3e1-883d37b155a3 2025-10-23 11:34:40,140 - DEBUG - ==>Verifying data for policy with id: c930e6bd-b844-4fb7-a557-5fe676ee9a23, fqn: ['default-domain', 'ctest-TestBasicPolicy-68956542', 'ctest-policy-allow-all-28785498'] 2025-10-23 11:34:40,140 - INFO - VN ctest-vn-87801970 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:34:40,140 - DEBUG - Verifying the vn in opserver 2025-10-23 11:34:40,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-87801970 virtual network link through opserver 10.0.0.249 2025-10-23 11:34:40,140 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-23 11:34:40,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-87801970', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-87801970?flat'} 2025-10-23 11:34:40,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-87801970 is found in opserver 2025-10-23 11:34:40,161 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:34:40,165 - DEBUG - VRF ids for VN ctest-vn-87801970: {} 2025-10-23 11:34:40,226 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:34:41,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:34:42,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:34:42,553 - INFO - Waiting for VM ctest-TestBasicPolicy-68956542-89225107 to be up.. 2025-10-23 11:34:42,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:34:47,732 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:34:47,733 - INFO - VM name : ctest-TestBasicPolicy-68956542-89225107 2025-10-23 11:34:47,827 - DEBUG - VM ctest-TestBasicPolicy-68956542-89225107 ID is e124f38c-1297-4142-afde-5ae0d18ae840 2025-10-23 11:34:47,851 - DEBUG - VM ctest-TestBasicPolicy-68956542-89225107 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:34:47,941 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e124f38c-1297-4142-afde-5ae0d18ae840 2025-10-23 11:34:47,948 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c390aa5a-4130-44ee-820c-b5d4341f3dc9 2025-10-23 11:34:51,194 - 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 1002ms') 2025-10-23 11:34:51,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68956542-89225107 failed! 2025-10-23 11:34:51,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68956542:ctest-vn-09436940 is 145.153.155.193 and allocation pool is NOT set 2025-10-23 11:34:53,312 - 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=8.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.217/4.995/8.773/3.778 ms') 2025-10-23 11:34:53,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68956542-89225107 passed 2025-10-23 11:34:53,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:34:53,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68956542-89225107, IP 145.153.155.195, Port 22 2025-10-23 11:34:53,536 - 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-10-23 11:34:53,641 - DEBUG - VM ctest-TestBasicPolicy-68956542-89225107 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 11:34:58,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:34:58,641 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68956542-89225107, IP 145.153.155.195, Port 22 2025-10-23 11:34:58,801 - DEBUG - VM ctest-TestBasicPolicy-68956542-89225107 is ready for SSH connections 2025-10-23 11:34:58,801 - INFO - Waiting for VM ctest-TestBasicPolicy-68956542-00638677 to be up.. 2025-10-23 11:34:58,896 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:34:58,896 - INFO - VM name : ctest-TestBasicPolicy-68956542-00638677 2025-10-23 11:34:58,978 - DEBUG - VM ctest-TestBasicPolicy-68956542-00638677 ID is 57a81ffd-614e-4f0b-a503-9e5df363eac0 2025-10-23 11:34:58,978 - DEBUG - VM ctest-TestBasicPolicy-68956542-00638677 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:34:59,067 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/57a81ffd-614e-4f0b-a503-9e5df363eac0 2025-10-23 11:34:59,076 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3f94c64e-25b5-45fb-8eba-2b272482a0be 2025-10-23 11:35:00,316 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 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.563/2.080/3.598/1.517 ms') 2025-10-23 11:35:00,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68956542-00638677 passed 2025-10-23 11:35:00,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:35:00,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68956542-00638677, IP 44.131.97.67, Port 22 2025-10-23 11:35:00,643 - DEBUG - VM ctest-TestBasicPolicy-68956542-00638677 is ready for SSH connections 2025-10-23 11:35:00,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:35:00,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.131.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:35:00,644 - DEBUG - ping -s 56 -c 3 -W 1 44.131.97.67 2025-10-23 11:35:04,883 - DEBUG - PING 44.131.97.67 (44.131.97.67): 56 data bytes 64 bytes from 44.131.97.67: seq=0 ttl=63 time=3.687 ms 64 bytes from 44.131.97.67: seq=1 ttl=63 time=1.005 ms 64 bytes from 44.131.97.67: seq=2 ttl=63 time=1.181 ms --- 44.131.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/1.957/3.687 ms 2025-10-23 11:35:04,884 - INFO - Ping to IP 44.131.97.67 from VM ctest-TestBasicPolicy-68956542-89225107 passed 2025-10-23 11:35:05,069 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c930e6bd-b844-4fb7-a557-5fe676ee9a23", "href": "http://10.0.0.249:8082/network-policy/c930e6bd-b844-4fb7-a557-5fe676ee9a23"}} 2025-10-23 11:35:05,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:35:05,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.131.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:35:05,070 - DEBUG - ping -s 56 -c 3 -W 1 44.131.97.67 2025-10-23 11:35:08,296 - DEBUG - PING 44.131.97.67 (44.131.97.67): 56 data bytes --- 44.131.97.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:35:08,297 - WARNING - Ping to IP 44.131.97.67 from VM ctest-TestBasicPolicy-68956542-89225107 failed 2025-10-23 11:35:08,297 - INFO - Deleting VM ctest-TestBasicPolicy-68956542-00638677 2025-10-23 11:35:08,383 - INFO - Deleting VM ctest-TestBasicPolicy-68956542-89225107 2025-10-23 11:35:08,839 - INFO - Deleted policy ctest-policy-allow-all-28785498 2025-10-23 11:35:08,840 - INFO - Deleting VN ctest-vn-87801970 2025-10-23 11:35:08,884 - DEBUG - VN bb32cf4a-a9e8-4284-a3e1-883d37b155a3 still in use: Unable to complete operation on network bb32cf4a-a9e8-4284-a3e1-883d37b155a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff6ff905-961a-48c7-b56a-13bb56f3c1bd'] 2025-10-23 11:35:08,885 - WARNING - Deleting VN ctest-vn-87801970 failed..Will retry 2025-10-23 11:35:11,005 - DEBUG - Response for deleting network () 2025-10-23 11:35:11,005 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3abda4b8-8bfe-4b71-9421-ab7d268860f1 2025-10-23 11:35:11,013 - DEBUG - Response Code: 404 2025-10-23 11:35:11,013 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:35:11,020 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:35:11,083 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:35:11,158 - INFO - Validated that VN ctest-vn-87801970 is not found in API Server 2025-10-23 11:35:11,170 - DEBUG - VN ctest-vn-87801970 is not present in Agent 10.0.0.249 2025-10-23 11:35:11,170 - INFO - Validated that VN ctest-vn-87801970 is not in any agent 2025-10-23 11:35:11,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87801970 info 2025-10-23 11:35:11,194 - INFO - Deleting VN ctest-vn-09436940 2025-10-23 11:35:11,309 - DEBUG - Response for deleting network () 2025-10-23 11:35:11,309 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d853aa5-d2dd-46d8-a20e-23d871c625a2 2025-10-23 11:35:11,315 - DEBUG - Response Code: 404 2025-10-23 11:35:11,315 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-23 11:35:11,321 - DEBUG - Requesting: http://10.0.0.249:8082/domain/09205d1e-3317-411a-9212-6abf5498ff92 2025-10-23 11:35:11,374 - DEBUG - Requesting: http://10.0.0.249:8082/project/8e57957b-d3e6-4c11-8345-b8852e13fee5 2025-10-23 11:35:11,448 - INFO - Validated that VN ctest-vn-09436940 is not found in API Server 2025-10-23 11:35:11,458 - DEBUG - VN ctest-vn-09436940 is not present in Agent 10.0.0.249 2025-10-23 11:35:11,458 - INFO - Validated that VN ctest-vn-09436940 is not in any agent 2025-10-23 11:35:11,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09436940 info 2025-10-23 11:35:11,753 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:35:11,754 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-23 11:35:11,754 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:35:12,449 - INFO - Deleted project: ctest-TestBasicPolicy-68956542, ID : 8e57957b-d3e6-4c11-8345-b8852e13fee5