2025-07-22 21:00:06,637 - INFO - Domain Default found not creating 2025-07-22 21:00:06,787 - INFO - Project ctest-TestBasicPolicy-96840378 not found, creating it 2025-07-22 21:00:07,245 - INFO - Created Project:ctest-TestBasicPolicy-96840378, ID : 287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:08,645 - INFO - ================================================================================ 2025-07-22 21:00:08,645 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 21:00:08,645 - 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-22 21:00:08,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 21:00:08,900 - INFO - Initial checks done. Running the testcase now 2025-07-22 21:00:08,901 - INFO - 2025-07-22 21:00:09,474 - DEBUG - Response for create_network : {'network': {'id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'name': 'ctest-vn-89789881', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-89789881'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 21:00:09,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed45df3d-4222-40be-8a55-541cb8cc81af', 'name': '', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'network_id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'ip_version': 4, 'cidr': '15.79.176.64/26', 'allocation_pools': [{'start': '15.79.176.66', 'end': '15.79.176.126'}], 'gateway_ip': '15.79.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.79.176.66', 'tags': [], 'project_id': '287123df36fb4889b81dd0084eca05c4'}} 2025-07-22 21:00:09,662 - INFO - Created VN ctest-vn-89789881 2025-07-22 21:00:09,718 - DEBUG - VN ctest-vn-89789881 UUID is 6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:10,014 - DEBUG - Response for create_network : {'network': {'id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'name': 'ctest-vn-20707930', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-20707930'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 21:00:10,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '042ccfcf-2961-4960-9137-d3a1d921e577', 'name': '', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'network_id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'ip_version': 4, 'cidr': '26.152.57.128/26', 'allocation_pools': [{'start': '26.152.57.130', 'end': '26.152.57.190'}], 'gateway_ip': '26.152.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.152.57.130', 'tags': [], 'project_id': '287123df36fb4889b81dd0084eca05c4'}} 2025-07-22 21:00:10,195 - INFO - Created VN ctest-vn-20707930 2025-07-22 21:00:10,250 - DEBUG - VN ctest-vn-20707930 UUID is 99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:10,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881, 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-96840378:ctest-vn-20707930, 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-22 21:00:10,667 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'name': 'ctest-vn-89789881', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ed45df3d-4222-40be-8a55-541cb8cc81af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-89789881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']], 'subnet_ipam': [{'subnet_cidr': '15.79.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 21:00:10,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'name': 'ctest-vn-20707930', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['042ccfcf-2961-4960-9137-d3a1d921e577'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-20707930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']], 'subnet_ipam': [{'subnet_cidr': '26.152.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 21:00:11,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:11,351 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:11,378 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:11,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:11,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,487 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:11,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:11,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6f9d82e-8b5e-4614-a279-2deb9f7e8995 2025-07-22 21:00:11,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 21:00:11,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,519 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:11,534 - INFO - Verified VN network id 12 for VN 6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,534 - INFO - Verifications in API Server for VN ctest-vn-89789881 passed 2025-07-22 21:00:11,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:11,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:11,561 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6f9d82e-8b5e-4614-a279-2deb9f7e8995 2025-07-22 21:00:11,574 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96840378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7929915190996059072', 'uuid-lslong': '11884898151998797787'}, 'enable': 'true', 'created': '2025-07-22T21:00:09', 'last-modified': '2025-07-22T21:00:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928145'} 2025-07-22 21:00:11,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 21:00:11,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89789881 passed 2025-07-22 21:00:11,581 - DEBUG - ====Verifying policy data for ctest-vn-89789881 in API_Server ====== 2025-07-22 21:00:11,581 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:11,588 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:11,600 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:11,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db 2025-07-22 21:00:11,688 - DEBUG - ==>Verifying data for policy with id: d9eba821-1db7-4b33-8d10-8700f2ccc486, fqn: ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684'] 2025-07-22 21:00:11,688 - INFO - VN ctest-vn-89789881 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 21:00:11,689 - DEBUG - Verifying the vn in opserver 2025-07-22 21:00:11,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881 virtual network link through opserver 10.0.0.38 2025-07-22 21:00:11,689 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 21:00:11,983 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 21:00:12,043 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881?flat'} 2025-07-22 21:00:12,043 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881 is found in opserver 2025-07-22 21:00:12,055 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 21:00:12,060 - DEBUG - VRF ids for VN ctest-vn-89789881: {} 2025-07-22 21:00:12,060 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:12,066 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:12,078 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:12,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:12,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:12,191 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0d0f187-e1d9-455a-936d-cecbdeb3ff4c 2025-07-22 21:00:12,198 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 21:00:12,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,208 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:12,223 - INFO - Verified VN network id 13 for VN 99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,223 - INFO - Verifications in API Server for VN ctest-vn-20707930 passed 2025-07-22 21:00:12,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:12,241 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:12,249 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0d0f187-e1d9-455a-936d-cecbdeb3ff4c 2025-07-22 21:00:12,262 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96840378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11077086793083077017', 'uuid-lslong': '13646440840728122525'}, 'enable': 'true', 'created': '2025-07-22T21:00:09', 'last-modified': '2025-07-22T21:00:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399538'} 2025-07-22 21:00:12,269 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 21:00:12,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20707930 passed 2025-07-22 21:00:12,270 - DEBUG - ====Verifying policy data for ctest-vn-20707930 in API_Server ====== 2025-07-22 21:00:12,270 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:12,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:12,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:12,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d 2025-07-22 21:00:12,371 - DEBUG - ==>Verifying data for policy with id: d9eba821-1db7-4b33-8d10-8700f2ccc486, fqn: ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684'] 2025-07-22 21:00:12,371 - INFO - VN ctest-vn-20707930 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 21:00:12,371 - DEBUG - Verifying the vn in opserver 2025-07-22 21:00:12,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930 virtual network link through opserver 10.0.0.38 2025-07-22 21:00:12,371 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 21:00:12,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930?flat'} 2025-07-22 21:00:12,382 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930 is found in opserver 2025-07-22 21:00:12,393 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 21:00:12,398 - DEBUG - VRF ids for VN ctest-vn-20707930: {} 2025-07-22 21:00:12,451 - DEBUG - Services list from nova: [, , ] 2025-07-22 21:00:13,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 21:00:14,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 21:00:14,680 - INFO - Waiting for VM ctest-TestBasicPolicy-96840378-84572902 to be up.. 2025-07-22 21:00:14,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 21:00:19,852 - DEBUG - VM is in ACTIVE state now 2025-07-22 21:00:19,852 - INFO - VM name : ctest-TestBasicPolicy-96840378-84572902 2025-07-22 21:00:19,923 - DEBUG - VM ctest-TestBasicPolicy-96840378-84572902 ID is a7f0fb3e-dca9-4805-97c6-79f5e7527360 2025-07-22 21:00:19,942 - DEBUG - VM ctest-TestBasicPolicy-96840378-84572902 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 21:00:20,017 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a7f0fb3e-dca9-4805-97c6-79f5e7527360 2025-07-22 21:00:20,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c296b555-8d78-4dee-81ca-d69d2446ed68 2025-07-22 21:00:23,303 - 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-07-22 21:00:23,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96840378-84572902 failed! 2025-07-22 21:00:23,358 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881 is 15.79.176.65 and allocation pool is NOT set 2025-07-22 21:00:25,420 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.883/5.845/9.807/3.962 ms') 2025-07-22 21:00:25,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96840378-84572902 passed 2025-07-22 21:00:25,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 21:00:25,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96840378-84572902, IP 15.79.176.67, Port 22 2025-07-22 21:00:25,652 - 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-22 21:00:25,763 - DEBUG - VM ctest-TestBasicPolicy-96840378-84572902 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 21:00:30,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 21:00:30,764 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96840378-84572902, IP 15.79.176.67, Port 22 2025-07-22 21:00:30,918 - DEBUG - VM ctest-TestBasicPolicy-96840378-84572902 is ready for SSH connections 2025-07-22 21:00:30,918 - INFO - Waiting for VM ctest-TestBasicPolicy-96840378-62212677 to be up.. 2025-07-22 21:00:30,986 - DEBUG - VM is in ACTIVE state now 2025-07-22 21:00:30,986 - INFO - VM name : ctest-TestBasicPolicy-96840378-62212677 2025-07-22 21:00:31,055 - DEBUG - VM ctest-TestBasicPolicy-96840378-62212677 ID is b8acad8c-7ac4-4812-9934-1a01283844c1 2025-07-22 21:00:31,055 - DEBUG - VM ctest-TestBasicPolicy-96840378-62212677 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 21:00:31,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8acad8c-7ac4-4812-9934-1a01283844c1 2025-07-22 21:00:31,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96b8d9d2-f5a9-47a0-b761-edf88e752a81 2025-07-22 21:00:32,365 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.423/1.542/2.662/1.119 ms') 2025-07-22 21:00:32,365 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96840378-62212677 passed 2025-07-22 21:00:32,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 21:00:32,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96840378-62212677, IP 26.152.57.131, Port 22 2025-07-22 21:00:32,677 - DEBUG - VM ctest-TestBasicPolicy-96840378-62212677 is ready for SSH connections 2025-07-22 21:00:32,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 21:00:32,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.152.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 21:00:32,678 - DEBUG - ping -s 56 -c 3 -W 1 26.152.57.131 2025-07-22 21:00:36,369 - DEBUG - PING 26.152.57.131 (26.152.57.131): 56 data bytes 64 bytes from 26.152.57.131: seq=0 ttl=63 time=3.695 ms 64 bytes from 26.152.57.131: seq=1 ttl=63 time=0.768 ms 64 bytes from 26.152.57.131: seq=2 ttl=63 time=0.820 ms --- 26.152.57.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.761/3.695 ms 2025-07-22 21:00:36,370 - INFO - Ping to IP 26.152.57.131 from VM ctest-TestBasicPolicy-96840378-84572902 passed 2025-07-22 21:00:36,550 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d9eba821-1db7-4b33-8d10-8700f2ccc486", "href": "http://10.0.0.38:8082/network-policy/d9eba821-1db7-4b33-8d10-8700f2ccc486"}} 2025-07-22 21:00:36,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 21:00:36,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.152.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 21:00:36,550 - DEBUG - ping -s 56 -c 3 -W 1 26.152.57.131 2025-07-22 21:00:39,751 - DEBUG - PING 26.152.57.131 (26.152.57.131): 56 data bytes --- 26.152.57.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 21:00:39,751 - WARNING - Ping to IP 26.152.57.131 from VM ctest-TestBasicPolicy-96840378-84572902 failed 2025-07-22 21:00:39,752 - INFO - Deleting VM ctest-TestBasicPolicy-96840378-62212677 2025-07-22 21:00:39,829 - INFO - Deleting VM ctest-TestBasicPolicy-96840378-84572902 2025-07-22 21:00:40,251 - INFO - Deleted policy ctest-policy-allow-all-08194684 2025-07-22 21:00:40,252 - INFO - Deleting VN ctest-vn-20707930 2025-07-22 21:00:40,295 - DEBUG - VN 99b9b7bf-d7e3-4199-bd61-e5a487fb949d still in use: Unable to complete operation on network 99b9b7bf-d7e3-4199-bd61-e5a487fb949d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-032d0567-3ea5-4da8-a31f-f0eef7261845'] 2025-07-22 21:00:40,295 - WARNING - Deleting VN ctest-vn-20707930 failed..Will retry 2025-07-22 21:00:42,420 - DEBUG - Response for deleting network () 2025-07-22 21:00:42,420 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f 2025-07-22 21:00:42,430 - DEBUG - Response Code: 404 2025-07-22 21:00:42,431 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:42,437 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:42,492 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:42,571 - INFO - Validated that VN ctest-vn-20707930 is not found in API Server 2025-07-22 21:00:42,585 - DEBUG - VN ctest-vn-20707930 is not present in Agent 10.0.0.38 2025-07-22 21:00:42,585 - INFO - Validated that VN ctest-vn-20707930 is not in any agent 2025-07-22 21:00:42,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20707930 info 2025-07-22 21:00:42,602 - INFO - Deleting VN ctest-vn-89789881 2025-07-22 21:00:42,704 - DEBUG - Response for deleting network () 2025-07-22 21:00:42,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b 2025-07-22 21:00:42,710 - DEBUG - Response Code: 404 2025-07-22 21:00:42,710 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 21:00:42,721 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9 2025-07-22 21:00:42,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4 2025-07-22 21:00:42,854 - INFO - Validated that VN ctest-vn-89789881 is not found in API Server 2025-07-22 21:00:42,870 - DEBUG - VN ctest-vn-89789881 is not present in Agent 10.0.0.38 2025-07-22 21:00:42,870 - INFO - Validated that VN ctest-vn-89789881 is not in any agent 2025-07-22 21:00:42,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89789881 info 2025-07-22 21:00:43,148 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 21:00:43,148 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-22 21:00:43,148 - INFO - -------------------------------------------------------------------------------- 2025-07-22 21:00:43,829 - INFO - Deleted project: ctest-TestBasicPolicy-96840378, ID : 287123df-36fb-4889-b81d-d0084eca05c4