2025-11-02 16:26:03,411 - INFO - Domain Default found not creating 2025-11-02 16:26:03,553 - INFO - Project ctest-TestBasicPolicy-81182346 not found, creating it 2025-11-02 16:26:04,012 - INFO - Created Project:ctest-TestBasicPolicy-81182346, ID : dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:05,535 - INFO - ================================================================================ 2025-11-02 16:26:05,535 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-02 16:26:05,535 - 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-11-02 16:26:05,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 16:26:05,793 - INFO - Initial checks done. Running the testcase now 2025-11-02 16:26:05,793 - INFO - 2025-11-02 16:26:06,376 - DEBUG - Response for create_network : {'network': {'id': '92bd02d0-1c6e-4322-a663-5056b5cca900', 'name': 'ctest-vn-39699310', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'project_id': 'dd9710d875564f37a25ce0085b9e4337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-vn-39699310'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 16:26:06,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d5e49f4-2eb5-4dad-bef6-87dd5e5d7695', 'name': '', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'network_id': '92bd02d0-1c6e-4322-a663-5056b5cca900', 'ip_version': 4, 'cidr': '173.236.181.192/26', 'allocation_pools': [{'start': '173.236.181.194', 'end': '173.236.181.254'}], 'gateway_ip': '173.236.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.236.181.194', 'tags': [], 'project_id': 'dd9710d875564f37a25ce0085b9e4337'}} 2025-11-02 16:26:06,584 - INFO - Created VN ctest-vn-39699310 2025-11-02 16:26:06,636 - DEBUG - VN ctest-vn-39699310 UUID is 92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:06,924 - DEBUG - Response for create_network : {'network': {'id': '8408c415-befc-449c-a326-c59469ad38d5', 'name': 'ctest-vn-60872513', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'project_id': 'dd9710d875564f37a25ce0085b9e4337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-vn-60872513'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 16:26:07,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc8d8e95-d1df-415b-a14f-975aa8ea6a03', 'name': '', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'network_id': '8408c415-befc-449c-a326-c59469ad38d5', 'ip_version': 4, 'cidr': '42.111.67.64/26', 'allocation_pools': [{'start': '42.111.67.66', 'end': '42.111.67.126'}], 'gateway_ip': '42.111.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.111.67.66', 'tags': [], 'project_id': 'dd9710d875564f37a25ce0085b9e4337'}} 2025-11-02 16:26:07,116 - INFO - Created VN ctest-vn-60872513 2025-11-02 16:26:07,172 - DEBUG - VN ctest-vn-60872513 UUID is 8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:07,288 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310, 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-81182346:ctest-vn-60872513, 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-11-02 16:26:07,581 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92bd02d0-1c6e-4322-a663-5056b5cca900', 'name': 'ctest-vn-39699310', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'project_id': 'dd9710d875564f37a25ce0085b9e4337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d5e49f4-2eb5-4dad-bef6-87dd5e5d7695'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-vn-39699310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-policy-allow-all-55765642']], 'subnet_ipam': [{'subnet_cidr': '173.236.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-02 16:26:07,807 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8408c415-befc-449c-a326-c59469ad38d5', 'name': 'ctest-vn-60872513', 'tenant_id': 'dd9710d875564f37a25ce0085b9e4337', 'project_id': 'dd9710d875564f37a25ce0085b9e4337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc8d8e95-d1df-415b-a14f-975aa8ea6a03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-vn-60872513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-policy-allow-all-55765642']], 'subnet_ipam': [{'subnet_cidr': '42.111.67.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-02 16:26:07,984 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:08,316 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:08,345 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:08,357 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:08,442 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,456 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,468 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:08,477 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:08,487 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/930a2c04-9d8f-40ab-b24a-63a0b139108f 2025-11-02 16:26:08,495 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-02 16:26:08,495 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,508 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:08,524 - INFO - Verified VN network id 11 for VN 92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,524 - INFO - Verifications in API Server for VN ctest-vn-39699310 passed 2025-11-02 16:26:08,525 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,534 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:08,541 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:08,548 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/930a2c04-9d8f-40ab-b24a-63a0b139108f 2025-11-02 16:26:08,559 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81182346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10573610592989233954', 'uuid-lslong': '11989514966337890560'}, 'enable': 'true', 'created': '2025-11-02T16:26:06', 'last-modified': '2025-11-02T16:26:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000007'} 2025-11-02 16:26:08,565 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-02 16:26:08,566 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39699310 passed 2025-11-02 16:26:08,566 - DEBUG - ====Verifying policy data for ctest-vn-39699310 in API_Server ====== 2025-11-02 16:26:08,566 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:08,572 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:08,583 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:08,655 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/92bd02d0-1c6e-4322-a663-5056b5cca900 2025-11-02 16:26:08,666 - DEBUG - ==>Verifying data for policy with id: d20de32f-b793-4bb8-9991-fedeee90d856, fqn: ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-policy-allow-all-55765642'] 2025-11-02 16:26:08,667 - INFO - VN ctest-vn-39699310 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-02 16:26:08,667 - DEBUG - Verifying the vn in opserver 2025-11-02 16:26:08,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310 virtual network link through opserver 10.0.0.48 2025-11-02 16:26:08,667 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-02 16:26:09,001 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-02 16:26:09,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310?flat'} 2025-11-02 16:26:09,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310 is found in opserver 2025-11-02 16:26:09,068 - DEBUG - Do not have enough data to verify VN in agent 2025-11-02 16:26:09,072 - DEBUG - VRF ids for VN ctest-vn-39699310: {} 2025-11-02 16:26:09,072 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:09,077 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:09,088 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:09,159 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,171 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,181 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:09,187 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:09,193 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/0b9bd2f9-a345-42c4-b482-2d7b053228fc 2025-11-02 16:26:09,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-02 16:26:09,198 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,206 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:09,217 - INFO - Verified VN network id 12 for VN 8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,217 - INFO - Verifications in API Server for VN ctest-vn-60872513 passed 2025-11-02 16:26:09,217 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,225 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:09,231 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:09,237 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/0b9bd2f9-a345-42c4-b482-2d7b053228fc 2025-11-02 16:26:09,247 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-60872513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81182346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9514069810497733788', 'uuid-lslong': '11756301118516050133'}, 'enable': 'true', 'created': '2025-11-02T16:26:06', 'last-modified': '2025-11-02T16:26:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454791'} 2025-11-02 16:26:09,252 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-02 16:26:09,252 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60872513 passed 2025-11-02 16:26:09,252 - DEBUG - ====Verifying policy data for ctest-vn-60872513 in API_Server ====== 2025-11-02 16:26:09,252 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:09,257 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:09,269 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:09,337 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8408c415-befc-449c-a326-c59469ad38d5 2025-11-02 16:26:09,346 - DEBUG - ==>Verifying data for policy with id: d20de32f-b793-4bb8-9991-fedeee90d856, fqn: ['default-domain', 'ctest-TestBasicPolicy-81182346', 'ctest-policy-allow-all-55765642'] 2025-11-02 16:26:09,346 - INFO - VN ctest-vn-60872513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-02 16:26:09,346 - DEBUG - Verifying the vn in opserver 2025-11-02 16:26:09,346 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-60872513 virtual network link through opserver 10.0.0.48 2025-11-02 16:26:09,346 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-02 16:26:09,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-60872513', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-60872513?flat'} 2025-11-02 16:26:09,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-60872513 is found in opserver 2025-11-02 16:26:09,366 - DEBUG - Do not have enough data to verify VN in agent 2025-11-02 16:26:09,370 - DEBUG - VRF ids for VN ctest-vn-60872513: {} 2025-11-02 16:26:09,431 - DEBUG - Services list from nova: [, , ] 2025-11-02 16:26:10,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1) 2025-11-02 16:26:11,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1) 2025-11-02 16:26:11,831 - INFO - Waiting for VM ctest-TestBasicPolicy-81182346-55681838 to be up.. 2025-11-02 16:26:11,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 16:26:16,998 - DEBUG - VM is in ACTIVE state now 2025-11-02 16:26:16,998 - INFO - VM name : ctest-TestBasicPolicy-81182346-55681838 2025-11-02 16:26:17,073 - DEBUG - VM ctest-TestBasicPolicy-81182346-55681838 ID is 73fe2a1f-6c2c-4364-a376-519379ba4cff 2025-11-02 16:26:17,092 - DEBUG - VM ctest-TestBasicPolicy-81182346-55681838 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1 2025-11-02 16:26:17,163 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/73fe2a1f-6c2c-4364-a376-519379ba4cff 2025-11-02 16:26:17,172 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b420542b-4bb3-4f1f-98b3-0b35933851c8 2025-11-02 16:26:20,443 - 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 1030ms') 2025-11-02 16:26:20,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81182346-55681838 failed! 2025-11-02 16:26:20,500 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81182346:ctest-vn-39699310 is 173.236.181.193 and allocation pool is NOT set 2025-11-02 16:26:22,560 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.671 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 = 0.671/4.835/9.000/4.164 ms') 2025-11-02 16:26:22,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81182346-55681838 passed 2025-11-02 16:26:22,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 16:26:22,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81182346-55681838, IP 173.236.181.195, Port 22 2025-11-02 16:26:22,782 - 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-11-02 16:26:22,864 - DEBUG - VM ctest-TestBasicPolicy-81182346-55681838 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-02 16:26:27,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 16:26:27,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81182346-55681838, IP 173.236.181.195, Port 22 2025-11-02 16:26:28,019 - DEBUG - VM ctest-TestBasicPolicy-81182346-55681838 is ready for SSH connections 2025-11-02 16:26:28,020 - INFO - Waiting for VM ctest-TestBasicPolicy-81182346-78957282 to be up.. 2025-11-02 16:26:28,151 - DEBUG - VM is in ACTIVE state now 2025-11-02 16:26:28,151 - INFO - VM name : ctest-TestBasicPolicy-81182346-78957282 2025-11-02 16:26:28,256 - DEBUG - VM ctest-TestBasicPolicy-81182346-78957282 ID is 48a11ef5-32a5-445b-9d11-54403560986f 2025-11-02 16:26:28,257 - DEBUG - VM ctest-TestBasicPolicy-81182346-78957282 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1 2025-11-02 16:26:28,414 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/48a11ef5-32a5-445b-9d11-54403560986f 2025-11-02 16:26:28,434 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6b2888ec-48ff-4ec5-a59b-9e9e2c3bcc38 2025-11-02 16:26:29,728 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/2.014/3.559/1.544 ms') 2025-11-02 16:26:29,728 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81182346-78957282 passed 2025-11-02 16:26:29,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 16:26:29,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81182346-78957282, IP 42.111.67.67, Port 22 2025-11-02 16:26:30,036 - DEBUG - VM ctest-TestBasicPolicy-81182346-78957282 is ready for SSH connections 2025-11-02 16:26:30,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 16:26:30,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.111.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 16:26:30,036 - DEBUG - ping -s 56 -c 3 -W 1 42.111.67.67 2025-11-02 16:26:34,259 - DEBUG - PING 42.111.67.67 (42.111.67.67): 56 data bytes 64 bytes from 42.111.67.67: seq=0 ttl=63 time=4.370 ms 64 bytes from 42.111.67.67: seq=1 ttl=63 time=0.799 ms 64 bytes from 42.111.67.67: seq=2 ttl=63 time=0.822 ms --- 42.111.67.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.997/4.370 ms 2025-11-02 16:26:34,259 - INFO - Ping to IP 42.111.67.67 from VM ctest-TestBasicPolicy-81182346-55681838 passed 2025-11-02 16:26:34,436 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d20de32f-b793-4bb8-9991-fedeee90d856", "href": "http://10.0.0.48:8082/network-policy/d20de32f-b793-4bb8-9991-fedeee90d856"}} 2025-11-02 16:26:34,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 16:26:34,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.111.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 16:26:34,436 - DEBUG - ping -s 56 -c 3 -W 1 42.111.67.67 2025-11-02 16:26:37,659 - DEBUG - PING 42.111.67.67 (42.111.67.67): 56 data bytes --- 42.111.67.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 16:26:37,659 - WARNING - Ping to IP 42.111.67.67 from VM ctest-TestBasicPolicy-81182346-55681838 failed 2025-11-02 16:26:37,659 - INFO - Deleting VM ctest-TestBasicPolicy-81182346-78957282 2025-11-02 16:26:37,731 - INFO - Deleting VM ctest-TestBasicPolicy-81182346-55681838 2025-11-02 16:26:38,123 - INFO - Deleted policy ctest-policy-allow-all-55765642 2025-11-02 16:26:38,124 - INFO - Deleting VN ctest-vn-60872513 2025-11-02 16:26:38,160 - DEBUG - VN 8408c415-befc-449c-a326-c59469ad38d5 still in use: Unable to complete operation on network 8408c415-befc-449c-a326-c59469ad38d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ced39c8a-8b3e-4341-9245-68ffa608faf5'] 2025-11-02 16:26:38,160 - WARNING - Deleting VN ctest-vn-60872513 failed..Will retry 2025-11-02 16:26:40,263 - DEBUG - Response for deleting network () 2025-11-02 16:26:40,264 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f3c6c81a-8140-4d01-b846-3bcb58b10cb8 2025-11-02 16:26:40,272 - DEBUG - Response Code: 404 2025-11-02 16:26:40,272 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:40,278 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:40,332 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:40,403 - INFO - Validated that VN ctest-vn-60872513 is not found in API Server 2025-11-02 16:26:40,416 - DEBUG - VN ctest-vn-60872513 is not present in Agent 10.0.0.48 2025-11-02 16:26:40,416 - INFO - Validated that VN ctest-vn-60872513 is not in any agent 2025-11-02 16:26:40,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60872513 info 2025-11-02 16:26:40,432 - INFO - Deleting VN ctest-vn-39699310 2025-11-02 16:26:40,542 - DEBUG - Response for deleting network () 2025-11-02 16:26:40,542 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9fe829c0-1653-4989-be7f-5d0bcdb4065f 2025-11-02 16:26:40,547 - DEBUG - Response Code: 404 2025-11-02 16:26:40,548 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-02 16:26:40,553 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b1118436-1b87-42aa-8ee9-d27497dd1d27 2025-11-02 16:26:40,605 - DEBUG - Requesting: http://10.0.0.48:8082/project/dd9710d8-7556-4f37-a25c-e0085b9e4337 2025-11-02 16:26:40,675 - INFO - Validated that VN ctest-vn-39699310 is not found in API Server 2025-11-02 16:26:40,685 - DEBUG - VN ctest-vn-39699310 is not present in Agent 10.0.0.48 2025-11-02 16:26:40,685 - INFO - Validated that VN ctest-vn-39699310 is not in any agent 2025-11-02 16:26:40,697 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39699310 info 2025-11-02 16:26:40,954 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 16:26:40,954 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-02 16:26:40,954 - INFO - -------------------------------------------------------------------------------- 2025-11-02 16:26:41,670 - INFO - Deleted project: ctest-TestBasicPolicy-81182346, ID : dd9710d8-7556-4f37-a25c-e0085b9e4337