2025-07-04 18:30:55,435 - INFO - Domain Default found not creating 2025-07-04 18:30:55,610 - INFO - Project ctest-TestBasicPolicy-93771559 not found, creating it 2025-07-04 18:30:56,110 - INFO - Created Project:ctest-TestBasicPolicy-93771559, ID : b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:30:57,637 - INFO - ================================================================================ 2025-07-04 18:30:57,637 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-04 18:30:57,637 - 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-07-04 18:30:57,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-07-04 18:30:57,892 - INFO - Initial checks done. Running the testcase now 2025-07-04 18:30:57,892 - INFO - 2025-07-04 18:30:58,554 - DEBUG - Response for create_network : {'network': {'id': 'dda7ca7a-c8fe-47d7-8967-92e76c0ca674', 'name': 'ctest-vn-99551482', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'project_id': 'b15ef1b562ab4756b469f53e96f47430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-vn-99551482'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 18:30:58,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ff22b72-a87b-4f05-a2c8-23e08f75a706', 'name': '', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'network_id': 'dda7ca7a-c8fe-47d7-8967-92e76c0ca674', 'ip_version': 4, 'cidr': '147.128.237.0/26', 'allocation_pools': [{'start': '147.128.237.2', 'end': '147.128.237.62'}], 'gateway_ip': '147.128.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.128.237.2', 'tags': [], 'project_id': 'b15ef1b562ab4756b469f53e96f47430'}} 2025-07-04 18:30:58,751 - INFO - Created VN ctest-vn-99551482 2025-07-04 18:30:58,805 - DEBUG - VN ctest-vn-99551482 UUID is dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:30:59,125 - DEBUG - Response for create_network : {'network': {'id': 'f6ec216d-c024-40b0-9b39-3cf88e32b371', 'name': 'ctest-vn-65512175', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'project_id': 'b15ef1b562ab4756b469f53e96f47430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-vn-65512175'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 18:30:59,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4bfb050-01f1-4417-a06e-9128a32e62a9', 'name': '', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'network_id': 'f6ec216d-c024-40b0-9b39-3cf88e32b371', 'ip_version': 4, 'cidr': '84.60.48.192/26', 'allocation_pools': [{'start': '84.60.48.194', 'end': '84.60.48.254'}], 'gateway_ip': '84.60.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.60.48.194', 'tags': [], 'project_id': 'b15ef1b562ab4756b469f53e96f47430'}} 2025-07-04 18:30:59,354 - INFO - Created VN ctest-vn-65512175 2025-07-04 18:30:59,405 - DEBUG - VN ctest-vn-65512175 UUID is f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:30:59,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482, 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-93771559:ctest-vn-65512175, 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-07-04 18:30:59,846 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dda7ca7a-c8fe-47d7-8967-92e76c0ca674', 'name': 'ctest-vn-99551482', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'project_id': 'b15ef1b562ab4756b469f53e96f47430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ff22b72-a87b-4f05-a2c8-23e08f75a706'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-vn-99551482'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-policy-allow-all-71585721']], 'subnet_ipam': [{'subnet_cidr': '147.128.237.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 18:31:00,132 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6ec216d-c024-40b0-9b39-3cf88e32b371', 'name': 'ctest-vn-65512175', 'tenant_id': 'b15ef1b562ab4756b469f53e96f47430', 'project_id': 'b15ef1b562ab4756b469f53e96f47430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4bfb050-01f1-4417-a06e-9128a32e62a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-vn-65512175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-policy-allow-all-71585721']], 'subnet_ipam': [{'subnet_cidr': '84.60.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 18:31:00,293 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:00,590 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:00,623 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:00,640 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:00,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,732 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:00,753 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:00,762 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/334f62e0-58ec-4dad-9a4e-2942cf3a4dfb 2025-07-04 18:31:00,771 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 18:31:00,771 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,784 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:00,803 - INFO - Verified VN network id 8 for VN dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,804 - INFO - Verifications in API Server for VN ctest-vn-99551482 passed 2025-07-04 18:31:00,804 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,814 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:00,823 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:00,832 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/334f62e0-58ec-4dad-9a4e-2942cf3a4dfb 2025-07-04 18:31:00,850 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93771559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15971957232199682007', 'uuid-lslong': '9901043828445193844'}, 'enable': 'true', 'created': '2025-07-04T18:30:58', 'last-modified': '2025-07-04T18:30:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030403'} 2025-07-04 18:31:00,859 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 18:31:00,859 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99551482 passed 2025-07-04 18:31:00,859 - DEBUG - ====Verifying policy data for ctest-vn-99551482 in API_Server ====== 2025-07-04 18:31:00,859 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:00,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:00,884 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:00,960 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/dda7ca7a-c8fe-47d7-8967-92e76c0ca674 2025-07-04 18:31:00,972 - DEBUG - ==>Verifying data for policy with id: 838bba8b-74f3-4046-a121-815083647dc3, fqn: ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-policy-allow-all-71585721'] 2025-07-04 18:31:00,972 - INFO - VN ctest-vn-99551482 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 18:31:00,972 - DEBUG - Verifying the vn in opserver 2025-07-04 18:31:00,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482 virtual network link through opserver 10.0.0.33 2025-07-04 18:31:00,972 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-04 18:31:01,277 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-04 18:31:01,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482?flat'} 2025-07-04 18:31:01,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482 is found in opserver 2025-07-04 18:31:01,359 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 18:31:01,365 - DEBUG - VRF ids for VN ctest-vn-99551482: {} 2025-07-04 18:31:01,365 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:01,374 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:01,388 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:01,475 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,501 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:01,511 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:01,521 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/54043d9b-df2f-47d4-bb56-6ece0fb06415 2025-07-04 18:31:01,529 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 18:31:01,529 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,539 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:01,556 - INFO - Verified VN network id 9 for VN f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,556 - INFO - Verifications in API Server for VN ctest-vn-65512175 passed 2025-07-04 18:31:01,557 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,567 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:01,577 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:01,586 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/54043d9b-df2f-47d4-bb56-6ece0fb06415 2025-07-04 18:31:01,603 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-65512175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93771559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17792632983092740272', 'uuid-lslong': '11185038187786580849'}, 'enable': 'true', 'created': '2025-07-04T18:30:59', 'last-modified': '2025-07-04T18:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.540988'} 2025-07-04 18:31:01,610 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 18:31:01,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65512175 passed 2025-07-04 18:31:01,610 - DEBUG - ====Verifying policy data for ctest-vn-65512175 in API_Server ====== 2025-07-04 18:31:01,610 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:01,617 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:01,633 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:01,733 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6ec216d-c024-40b0-9b39-3cf88e32b371 2025-07-04 18:31:01,746 - DEBUG - ==>Verifying data for policy with id: 838bba8b-74f3-4046-a121-815083647dc3, fqn: ['default-domain', 'ctest-TestBasicPolicy-93771559', 'ctest-policy-allow-all-71585721'] 2025-07-04 18:31:01,746 - INFO - VN ctest-vn-65512175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 18:31:01,746 - DEBUG - Verifying the vn in opserver 2025-07-04 18:31:01,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-65512175 virtual network link through opserver 10.0.0.33 2025-07-04 18:31:01,746 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-04 18:31:01,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-65512175', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-65512175?flat'} 2025-07-04 18:31:01,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-65512175 is found in opserver 2025-07-04 18:31:01,775 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 18:31:01,781 - DEBUG - VRF ids for VN ctest-vn-65512175: {} 2025-07-04 18:31:01,847 - DEBUG - Services list from nova: [, , ] 2025-07-04 18:31:02,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3600-1) 2025-07-04 18:31:04,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3600-1) 2025-07-04 18:31:04,293 - INFO - Waiting for VM ctest-TestBasicPolicy-93771559-65208821 to be up.. 2025-07-04 18:31:04,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 18:31:09,483 - DEBUG - VM is in ACTIVE state now 2025-07-04 18:31:09,483 - INFO - VM name : ctest-TestBasicPolicy-93771559-65208821 2025-07-04 18:31:09,578 - DEBUG - VM ctest-TestBasicPolicy-93771559-65208821 ID is 9949c6c4-6a9d-4f59-b02c-aec221cd06fe 2025-07-04 18:31:09,607 - DEBUG - VM ctest-TestBasicPolicy-93771559-65208821 launched on Node cn-jenkins-deploy-platform-ansible-os-3600-1 2025-07-04 18:31:09,695 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9949c6c4-6a9d-4f59-b02c-aec221cd06fe 2025-07-04 18:31:09,707 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/94a7415c-784a-494b-94ef-405c20e2f064 2025-07-04 18:31:12,988 - 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 1012ms') 2025-07-04 18:31:12,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93771559-65208821 failed! 2025-07-04 18:31:13,045 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93771559:ctest-vn-99551482 is 147.128.237.1 and allocation pool is NOT set 2025-07-04 18:31:15,111 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.095/5.254/9.414/4.159 ms') 2025-07-04 18:31:15,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93771559-65208821 passed 2025-07-04 18:31:15,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 18:31:15,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93771559-65208821, IP 147.128.237.3, Port 22 2025-07-04 18:31:15,335 - 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-07-04 18:31:15,426 - DEBUG - VM ctest-TestBasicPolicy-93771559-65208821 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-04 18:31:20,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 18:31:20,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93771559-65208821, IP 147.128.237.3, Port 22 2025-07-04 18:31:20,593 - DEBUG - VM ctest-TestBasicPolicy-93771559-65208821 is ready for SSH connections 2025-07-04 18:31:20,593 - INFO - Waiting for VM ctest-TestBasicPolicy-93771559-60323679 to be up.. 2025-07-04 18:31:20,676 - DEBUG - VM is in ACTIVE state now 2025-07-04 18:31:20,676 - INFO - VM name : ctest-TestBasicPolicy-93771559-60323679 2025-07-04 18:31:20,758 - DEBUG - VM ctest-TestBasicPolicy-93771559-60323679 ID is e77d1b28-b581-4ece-92c3-22ff4074e8ae 2025-07-04 18:31:20,758 - DEBUG - VM ctest-TestBasicPolicy-93771559-60323679 launched on Node cn-jenkins-deploy-platform-ansible-os-3600-1 2025-07-04 18:31:20,838 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e77d1b28-b581-4ece-92c3-22ff4074e8ae 2025-07-04 18:31:20,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/772ad1d6-7688-4775-9000-729248e7b195 2025-07-04 18:31:22,107 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.718/3.058/1.339 ms') 2025-07-04 18:31:22,107 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93771559-60323679 passed 2025-07-04 18:31:22,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 18:31:22,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93771559-60323679, IP 84.60.48.195, Port 22 2025-07-04 18:31:22,425 - DEBUG - VM ctest-TestBasicPolicy-93771559-60323679 is ready for SSH connections 2025-07-04 18:31:22,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 18:31:22,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.60.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-04 18:31:22,425 - DEBUG - ping -s 56 -c 3 -W 1 84.60.48.195 2025-07-04 18:31:26,151 - DEBUG - PING 84.60.48.195 (84.60.48.195): 56 data bytes 64 bytes from 84.60.48.195: seq=0 ttl=63 time=3.511 ms 64 bytes from 84.60.48.195: seq=1 ttl=63 time=1.119 ms 64 bytes from 84.60.48.195: seq=2 ttl=63 time=1.434 ms --- 84.60.48.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/2.021/3.511 ms 2025-07-04 18:31:26,152 - INFO - Ping to IP 84.60.48.195 from VM ctest-TestBasicPolicy-93771559-65208821 passed 2025-07-04 18:31:26,333 - DEBUG - Policy Update Response {"network-policy": {"uuid": "838bba8b-74f3-4046-a121-815083647dc3", "href": "http://10.0.0.33:8082/network-policy/838bba8b-74f3-4046-a121-815083647dc3"}} 2025-07-04 18:31:26,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 18:31:26,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.60.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-04 18:31:26,333 - DEBUG - ping -s 56 -c 3 -W 1 84.60.48.195 2025-07-04 18:31:29,547 - DEBUG - PING 84.60.48.195 (84.60.48.195): 56 data bytes 64 bytes from 84.60.48.195: seq=0 ttl=63 time=1.666 ms --- 84.60.48.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.666/1.666/1.666 ms 2025-07-04 18:31:29,547 - WARNING - Ping to IP 84.60.48.195 from VM ctest-TestBasicPolicy-93771559-65208821 failed 2025-07-04 18:31:29,547 - INFO - Deleting VM ctest-TestBasicPolicy-93771559-60323679 2025-07-04 18:31:29,631 - INFO - Deleting VM ctest-TestBasicPolicy-93771559-65208821 2025-07-04 18:31:30,047 - INFO - Deleted policy ctest-policy-allow-all-71585721 2025-07-04 18:31:30,048 - INFO - Deleting VN ctest-vn-65512175 2025-07-04 18:31:30,097 - DEBUG - VN f6ec216d-c024-40b0-9b39-3cf88e32b371 still in use: Unable to complete operation on network f6ec216d-c024-40b0-9b39-3cf88e32b371. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fba706ba-5050-469f-a675-941c2862de5d'] 2025-07-04 18:31:30,097 - WARNING - Deleting VN ctest-vn-65512175 failed..Will retry 2025-07-04 18:31:32,242 - DEBUG - Response for deleting network () 2025-07-04 18:31:32,242 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21b983bf-d24e-4ab7-b038-58e026da5a80 2025-07-04 18:31:32,257 - DEBUG - Response Code: 404 2025-07-04 18:31:32,258 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:32,266 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:32,325 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:32,400 - INFO - Validated that VN ctest-vn-65512175 is not found in API Server 2025-07-04 18:31:32,411 - DEBUG - VN ctest-vn-65512175 is not present in Agent 10.0.0.33 2025-07-04 18:31:32,412 - INFO - Validated that VN ctest-vn-65512175 is not in any agent 2025-07-04 18:31:32,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65512175 info 2025-07-04 18:31:32,429 - INFO - Deleting VN ctest-vn-99551482 2025-07-04 18:31:32,557 - DEBUG - Response for deleting network () 2025-07-04 18:31:32,557 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e41a35bc-7a57-4ffb-bf80-8e2e96328f9f 2025-07-04 18:31:32,566 - DEBUG - Response Code: 404 2025-07-04 18:31:32,566 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-04 18:31:32,573 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3b07564d-cc2d-4b2a-b7d7-c3530595b906 2025-07-04 18:31:32,631 - DEBUG - Requesting: http://10.0.0.33:8082/project/b15ef1b5-62ab-4756-b469-f53e96f47430 2025-07-04 18:31:32,707 - INFO - Validated that VN ctest-vn-99551482 is not found in API Server 2025-07-04 18:31:32,719 - DEBUG - VN ctest-vn-99551482 is not present in Agent 10.0.0.33 2025-07-04 18:31:32,719 - INFO - Validated that VN ctest-vn-99551482 is not in any agent 2025-07-04 18:31:32,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99551482 info 2025-07-04 18:31:33,003 - DEBUG - No XMPP flaps were noticed during the test 2025-07-04 18:31:33,003 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-07-04 18:31:33,003 - INFO - -------------------------------------------------------------------------------- 2025-07-04 18:31:33,717 - INFO - Deleted project: ctest-TestBasicPolicy-93771559, ID : b15ef1b5-62ab-4756-b469-f53e96f47430