2025-07-17 09:42:42,404 - INFO - Domain Default found not creating 2025-07-17 09:42:42,607 - INFO - Project ctest-TestBasicPolicy-02046047 not found, creating it 2025-07-17 09:42:43,109 - INFO - Created Project:ctest-TestBasicPolicy-02046047, ID : 9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:42:44,896 - INFO - ================================================================================ 2025-07-17 09:42:44,896 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 09:42:44,896 - 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-17 09:42:45,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-07-17 09:42:45,177 - INFO - Initial checks done. Running the testcase now 2025-07-17 09:42:45,177 - INFO - 2025-07-17 09:42:45,839 - DEBUG - Response for create_network : {'network': {'id': '0916350a-8154-4209-a321-5e627d88bee4', 'name': 'ctest-vn-09725526', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'project_id': '9a9604a0d92d4e3380c563f2817adf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-vn-09725526'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 09:42:46,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a7b577a-f517-4437-b4ea-02269f08c8dd', 'name': '', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'network_id': '0916350a-8154-4209-a321-5e627d88bee4', 'ip_version': 4, 'cidr': '73.157.195.192/26', 'allocation_pools': [{'start': '73.157.195.194', 'end': '73.157.195.254'}], 'gateway_ip': '73.157.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.157.195.194', 'tags': [], 'project_id': '9a9604a0d92d4e3380c563f2817adf40'}} 2025-07-17 09:42:46,067 - INFO - Created VN ctest-vn-09725526 2025-07-17 09:42:46,122 - DEBUG - VN ctest-vn-09725526 UUID is 0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:46,502 - DEBUG - Response for create_network : {'network': {'id': '2236db6d-6c29-4d70-a805-c35056e652d2', 'name': 'ctest-vn-19720146', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'project_id': '9a9604a0d92d4e3380c563f2817adf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-vn-19720146'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 09:42:46,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a699bd2b-35c6-4b1a-a799-d4597cff030f', 'name': '', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'network_id': '2236db6d-6c29-4d70-a805-c35056e652d2', 'ip_version': 4, 'cidr': '33.88.202.128/26', 'allocation_pools': [{'start': '33.88.202.130', 'end': '33.88.202.190'}], 'gateway_ip': '33.88.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.88.202.130', 'tags': [], 'project_id': '9a9604a0d92d4e3380c563f2817adf40'}} 2025-07-17 09:42:46,769 - INFO - Created VN ctest-vn-19720146 2025-07-17 09:42:46,826 - DEBUG - VN ctest-vn-19720146 UUID is 2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:46,953 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526, 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-02046047:ctest-vn-19720146, 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-17 09:42:47,284 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0916350a-8154-4209-a321-5e627d88bee4', 'name': 'ctest-vn-09725526', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'project_id': '9a9604a0d92d4e3380c563f2817adf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a7b577a-f517-4437-b4ea-02269f08c8dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-vn-09725526'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-policy-allow-all-58169630']], 'subnet_ipam': [{'subnet_cidr': '73.157.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 09:42:47,543 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2236db6d-6c29-4d70-a805-c35056e652d2', 'name': 'ctest-vn-19720146', 'tenant_id': '9a9604a0d92d4e3380c563f2817adf40', 'project_id': '9a9604a0d92d4e3380c563f2817adf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a699bd2b-35c6-4b1a-a799-d4597cff030f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-vn-19720146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-policy-allow-all-58169630']], 'subnet_ipam': [{'subnet_cidr': '33.88.202.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 09:42:47,710 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:42:48,067 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:42:48,099 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:42:48,116 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:42:48,200 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,214 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,229 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:42:48,241 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:42:48,252 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/2d6ba660-add1-4ec8-bce6-22675eaa017d 2025-07-17 09:42:48,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 09:42:48,261 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,273 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:42:48,295 - INFO - Verified VN network id 7 for VN 0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,295 - INFO - Verifications in API Server for VN ctest-vn-09725526 passed 2025-07-17 09:42:48,295 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,309 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:42:48,319 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:42:48,328 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/2d6ba660-add1-4ec8-bce6-22675eaa017d 2025-07-17 09:42:48,346 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02046047', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '654769115064713737', 'uuid-lslong': '11754780279519624932'}, 'enable': 'true', 'created': '2025-07-17T09:42:45', 'last-modified': '2025-07-17T09:42:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.091931'} 2025-07-17 09:42:48,355 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 09:42:48,355 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09725526 passed 2025-07-17 09:42:48,355 - DEBUG - ====Verifying policy data for ctest-vn-09725526 in API_Server ====== 2025-07-17 09:42:48,355 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:42:48,362 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:42:48,376 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:42:48,455 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0916350a-8154-4209-a321-5e627d88bee4 2025-07-17 09:42:48,469 - DEBUG - ==>Verifying data for policy with id: 8772f6ab-b473-4f33-89a6-b80903d37794, fqn: ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-policy-allow-all-58169630'] 2025-07-17 09:42:48,470 - INFO - VN ctest-vn-09725526 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 09:42:48,470 - DEBUG - Verifying the vn in opserver 2025-07-17 09:42:48,470 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526 virtual network link through opserver 10.0.0.57 2025-07-17 09:42:48,470 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-17 09:42:48,808 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-17 09:42:48,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526?flat'} 2025-07-17 09:42:48,876 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526 is found in opserver 2025-07-17 09:42:48,889 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 09:42:48,896 - DEBUG - VRF ids for VN ctest-vn-09725526: {} 2025-07-17 09:42:48,896 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:42:48,904 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:42:48,943 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:42:49,025 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,044 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,058 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:42:49,068 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:42:49,079 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4db80fe7-366c-4aa3-b9d8-fa54a102a06d 2025-07-17 09:42:49,091 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 09:42:49,091 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,104 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:42:49,125 - INFO - Verified VN network id 8 for VN 2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,125 - INFO - Verifications in API Server for VN ctest-vn-19720146 passed 2025-07-17 09:42:49,125 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,141 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:42:49,151 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:42:49,160 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4db80fe7-366c-4aa3-b9d8-fa54a102a06d 2025-07-17 09:42:49,176 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-19720146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02046047', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2465399109044489584', 'uuid-lslong': '12107297923078181586'}, 'enable': 'true', 'created': '2025-07-17T09:42:46', 'last-modified': '2025-07-17T09:42:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.667680'} 2025-07-17 09:42:49,184 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 09:42:49,184 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19720146 passed 2025-07-17 09:42:49,184 - DEBUG - ====Verifying policy data for ctest-vn-19720146 in API_Server ====== 2025-07-17 09:42:49,184 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:42:49,193 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:42:49,213 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:42:49,295 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2236db6d-6c29-4d70-a805-c35056e652d2 2025-07-17 09:42:49,307 - DEBUG - ==>Verifying data for policy with id: 8772f6ab-b473-4f33-89a6-b80903d37794, fqn: ['default-domain', 'ctest-TestBasicPolicy-02046047', 'ctest-policy-allow-all-58169630'] 2025-07-17 09:42:49,307 - INFO - VN ctest-vn-19720146 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 09:42:49,307 - DEBUG - Verifying the vn in opserver 2025-07-17 09:42:49,307 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-19720146 virtual network link through opserver 10.0.0.57 2025-07-17 09:42:49,307 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-17 09:42:49,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-19720146', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-19720146?flat'} 2025-07-17 09:42:49,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-19720146 is found in opserver 2025-07-17 09:42:49,336 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 09:42:49,344 - DEBUG - VRF ids for VN ctest-vn-19720146: {} 2025-07-17 09:42:49,411 - DEBUG - Services list from nova: [, , ] 2025-07-17 09:42:50,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3652-1) 2025-07-17 09:42:52,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3652-1) 2025-07-17 09:42:52,024 - INFO - Waiting for VM ctest-TestBasicPolicy-02046047-20884413 to be up.. 2025-07-17 09:42:52,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 09:42:57,212 - DEBUG - VM is in ACTIVE state now 2025-07-17 09:42:57,213 - INFO - VM name : ctest-TestBasicPolicy-02046047-20884413 2025-07-17 09:42:57,313 - DEBUG - VM ctest-TestBasicPolicy-02046047-20884413 ID is 4d07829b-80a3-4daa-98bb-178571c0ace4 2025-07-17 09:42:57,343 - DEBUG - VM ctest-TestBasicPolicy-02046047-20884413 launched on Node cn-jenkins-deploy-platform-ansible-os-3652-1 2025-07-17 09:42:57,445 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4d07829b-80a3-4daa-98bb-178571c0ace4 2025-07-17 09:42:57,454 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ae389272-5e15-46d5-9f8d-4c179ef5e408 2025-07-17 09:43:00,729 - 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-07-17 09:43:00,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02046047-20884413 failed! 2025-07-17 09:43:00,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02046047:ctest-vn-09725526 is 73.157.195.193 and allocation pool is NOT set 2025-07-17 09:43:02,854 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.111/5.790/8.469/2.679 ms') 2025-07-17 09:43:02,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02046047-20884413 passed 2025-07-17 09:43:03,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 09:43:03,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02046047-20884413, IP 73.157.195.195, Port 22 2025-07-17 09:43:03,076 - 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-17 09:43:03,177 - DEBUG - VM ctest-TestBasicPolicy-02046047-20884413 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-17 09:43:08,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 09:43:08,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02046047-20884413, IP 73.157.195.195, Port 22 2025-07-17 09:43:08,351 - DEBUG - VM ctest-TestBasicPolicy-02046047-20884413 is ready for SSH connections 2025-07-17 09:43:08,351 - INFO - Waiting for VM ctest-TestBasicPolicy-02046047-84766411 to be up.. 2025-07-17 09:43:08,446 - DEBUG - VM is in ACTIVE state now 2025-07-17 09:43:08,446 - INFO - VM name : ctest-TestBasicPolicy-02046047-84766411 2025-07-17 09:43:08,537 - DEBUG - VM ctest-TestBasicPolicy-02046047-84766411 ID is cd272e8a-f9ee-497f-b02c-545659aeefcd 2025-07-17 09:43:08,537 - DEBUG - VM ctest-TestBasicPolicy-02046047-84766411 launched on Node cn-jenkins-deploy-platform-ansible-os-3652-1 2025-07-17 09:43:08,631 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/cd272e8a-f9ee-497f-b02c-545659aeefcd 2025-07-17 09:43:08,645 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9e110c0d-b841-4765-9aa3-ddc2113b710f 2025-07-17 09:43:09,918 - 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=5.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/2.860/5.278/2.418 ms') 2025-07-17 09:43:09,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02046047-84766411 passed 2025-07-17 09:43:10,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 09:43:10,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02046047-84766411, IP 33.88.202.131, Port 22 2025-07-17 09:43:10,249 - DEBUG - VM ctest-TestBasicPolicy-02046047-84766411 is ready for SSH connections 2025-07-17 09:43:10,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 09:43:10,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.88.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-17 09:43:10,249 - DEBUG - ping -s 56 -c 3 -W 1 33.88.202.131 2025-07-17 09:43:14,009 - DEBUG - PING 33.88.202.131 (33.88.202.131): 56 data bytes 64 bytes from 33.88.202.131: seq=0 ttl=63 time=5.305 ms 64 bytes from 33.88.202.131: seq=1 ttl=63 time=1.146 ms 64 bytes from 33.88.202.131: seq=2 ttl=63 time=1.068 ms --- 33.88.202.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/2.506/5.305 ms 2025-07-17 09:43:14,009 - INFO - Ping to IP 33.88.202.131 from VM ctest-TestBasicPolicy-02046047-20884413 passed 2025-07-17 09:43:14,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8772f6ab-b473-4f33-89a6-b80903d37794", "href": "http://10.0.0.57:8082/network-policy/8772f6ab-b473-4f33-89a6-b80903d37794"}} 2025-07-17 09:43:14,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 09:43:14,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.88.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-17 09:43:14,215 - DEBUG - ping -s 56 -c 3 -W 1 33.88.202.131 2025-07-17 09:43:17,457 - DEBUG - PING 33.88.202.131 (33.88.202.131): 56 data bytes --- 33.88.202.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 09:43:17,457 - WARNING - Ping to IP 33.88.202.131 from VM ctest-TestBasicPolicy-02046047-20884413 failed 2025-07-17 09:43:17,457 - INFO - Deleting VM ctest-TestBasicPolicy-02046047-84766411 2025-07-17 09:43:17,532 - INFO - Deleting VM ctest-TestBasicPolicy-02046047-20884413 2025-07-17 09:43:18,043 - INFO - Deleted policy ctest-policy-allow-all-58169630 2025-07-17 09:43:18,043 - INFO - Deleting VN ctest-vn-19720146 2025-07-17 09:43:18,097 - DEBUG - VN 2236db6d-6c29-4d70-a805-c35056e652d2 still in use: Unable to complete operation on network 2236db6d-6c29-4d70-a805-c35056e652d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-089f57ab-3808-4f06-8f7a-27d911571ba0'] 2025-07-17 09:43:18,097 - WARNING - Deleting VN ctest-vn-19720146 failed..Will retry 2025-07-17 09:43:20,227 - DEBUG - Response for deleting network () 2025-07-17 09:43:20,227 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/fe14b428-37dc-4f4e-be5e-3cfa92156285 2025-07-17 09:43:20,236 - DEBUG - Response Code: 404 2025-07-17 09:43:20,236 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:43:20,247 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:43:20,310 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:43:20,386 - INFO - Validated that VN ctest-vn-19720146 is not found in API Server 2025-07-17 09:43:20,400 - DEBUG - VN ctest-vn-19720146 is not present in Agent 10.0.0.57 2025-07-17 09:43:20,401 - INFO - Validated that VN ctest-vn-19720146 is not in any agent 2025-07-17 09:43:20,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19720146 info 2025-07-17 09:43:20,424 - INFO - Deleting VN ctest-vn-09725526 2025-07-17 09:43:20,562 - DEBUG - Response for deleting network () 2025-07-17 09:43:20,562 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c831ccc4-f02c-431e-96f8-86c324c8c4f0 2025-07-17 09:43:20,571 - DEBUG - Response Code: 404 2025-07-17 09:43:20,571 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-17 09:43:20,580 - DEBUG - Requesting: http://10.0.0.57:8082/domain/0ddbc5a5-1d39-440e-ba87-5768b9849886 2025-07-17 09:43:20,637 - DEBUG - Requesting: http://10.0.0.57:8082/project/9a9604a0-d92d-4e33-80c5-63f2817adf40 2025-07-17 09:43:20,721 - INFO - Validated that VN ctest-vn-09725526 is not found in API Server 2025-07-17 09:43:20,734 - DEBUG - VN ctest-vn-09725526 is not present in Agent 10.0.0.57 2025-07-17 09:43:20,734 - INFO - Validated that VN ctest-vn-09725526 is not in any agent 2025-07-17 09:43:20,760 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09725526 info 2025-07-17 09:43:21,027 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 09:43:21,027 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-07-17 09:43:21,027 - INFO - -------------------------------------------------------------------------------- 2025-07-17 09:43:21,840 - INFO - Deleted project: ctest-TestBasicPolicy-02046047, ID : 9a9604a0-d92d-4e33-80c5-63f2817adf40