2025-05-09 22:21:00,339 - INFO - Domain Default found not creating 2025-05-09 22:21:00,463 - INFO - Project ctest-TestRoutersBasic-16635090 not found, creating it 2025-05-09 22:21:00,975 - INFO - Created Project:ctest-TestRoutersBasic-16635090, ID : dde0f64f-aff1-4a1f-b91b-3374fcc5e484 2025-05-09 22:21:02,227 - INFO - ================================================================================ 2025-05-09 22:21:02,227 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-09 22:21:02,227 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-05-09 22:21:02,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-05-09 22:21:02,477 - INFO - Initial checks done. Running the testcase now 2025-05-09 22:21:02,477 - INFO - 2025-05-09 22:21:03,092 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16635090 2025-05-09 22:21:03,191 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16635090 2025-05-09 22:21:03,507 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16635090', 'default']} 2025-05-09 22:21:03,780 - DEBUG - Response for create_network : {'network': {'id': 'df40b8e1-7fd7-4476-99bb-ba607b35348f', 'name': 'ctest-vn-29793719', 'tenant_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'project_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16635090', 'ctest-vn-29793719'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:03,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '86887df6-c3ef-4d52-a791-bb5d82fc70b2', 'name': '', 'tenant_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'network_id': 'df40b8e1-7fd7-4476-99bb-ba607b35348f', 'ip_version': 4, 'cidr': '122.48.76.0/26', 'allocation_pools': [{'start': '122.48.76.2', 'end': '122.48.76.62'}], 'gateway_ip': '122.48.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.48.76.2', 'tags': [], 'project_id': 'dde0f64faff14a1fb91b3374fcc5e484'}} 2025-05-09 22:21:03,959 - INFO - Created VN ctest-vn-29793719 2025-05-09 22:21:04,011 - DEBUG - VN ctest-vn-29793719 UUID is df40b8e1-7fd7-4476-99bb-ba607b35348f 2025-05-09 22:21:04,339 - DEBUG - Response for create_network : {'network': {'id': 'cc46b927-0dde-4fb5-98c4-83eef4088f99', 'name': 'ctest-ext_vn-13348126', 'tenant_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'project_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16635090', 'ctest-ext_vn-13348126'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:04,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ca040f2-6c2c-40d8-9606-479df4660bb8', 'name': '', 'tenant_id': 'dde0f64faff14a1fb91b3374fcc5e484', 'network_id': 'cc46b927-0dde-4fb5-98c4-83eef4088f99', 'ip_version': 4, 'cidr': '135.106.168.0/26', 'allocation_pools': [{'start': '135.106.168.2', 'end': '135.106.168.62'}], 'gateway_ip': '135.106.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.106.168.2', 'tags': [], 'project_id': 'dde0f64faff14a1fb91b3374fcc5e484'}} 2025-05-09 22:21:04,566 - INFO - Created VN ctest-ext_vn-13348126 2025-05-09 22:21:04,618 - DEBUG - VN ctest-ext_vn-13348126 UUID is cc46b927-0dde-4fb5-98c4-83eef4088f99 2025-05-09 22:21:04,806 - DEBUG - Services list from nova: [, , ] 2025-05-09 22:21:05,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:21:06,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:21:06,915 - INFO - Setting gateway for router 356154eb-bb0f-4dd7-a4a6-12aefa91c251 to network cc46b927-0dde-4fb5-98c4-83eef4088f99 2025-05-09 22:21:06,994 - INFO - Adding interface with subnet_id 86887df6-c3ef-4d52-a791-bb5d82fc70b2, port_id None to router 356154eb-bb0f-4dd7-a4a6-12aefa91c251 2025-05-09 22:21:07,371 - INFO - Waiting for VM ctest-TestRoutersBasic-16635090-68601933 to be up.. 2025-05-09 22:21:07,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-09 22:21:12,628 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:21:12,628 - INFO - VM name : ctest-TestRoutersBasic-16635090-68601933 2025-05-09 22:21:12,694 - DEBUG - VM ctest-TestRoutersBasic-16635090-68601933 ID is 183252d0-c69b-4584-8395-d61114d6f402 2025-05-09 22:21:12,711 - DEBUG - VM ctest-TestRoutersBasic-16635090-68601933 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:21:12,777 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/183252d0-c69b-4584-8395-d61114d6f402 2025-05-09 22:21:13,040 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/183252d0-c69b-4584-8395-d61114d6f402 2025-05-09 22:21:13,078 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/7b8af678-706d-4ccc-92eb-ddefdd71851d 2025-05-09 22:21:16,333 - 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=2 ttl=63 time=3.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 3.054/3.054/3.054/0.000 ms') 2025-05-09 22:21:16,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16635090-68601933 passed 2025-05-09 22:21:16,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:16,483 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16635090-68601933, IP 122.48.76.3, Port 22 2025-05-09 22:21:16,648 - DEBUG - VM ctest-TestRoutersBasic-16635090-68601933 is ready for SSH connections 2025-05-09 22:21:16,648 - INFO - Waiting for VM ctest-TestRoutersBasic-16635090-82092937 to be up.. 2025-05-09 22:21:16,720 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:21:16,720 - INFO - VM name : ctest-TestRoutersBasic-16635090-82092937 2025-05-09 22:21:16,788 - DEBUG - VM ctest-TestRoutersBasic-16635090-82092937 ID is c8091b6f-d11f-4c06-9173-e614af5cd95c 2025-05-09 22:21:16,788 - DEBUG - VM ctest-TestRoutersBasic-16635090-82092937 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:21:16,855 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c8091b6f-d11f-4c06-9173-e614af5cd95c 2025-05-09 22:21:16,863 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/15aeca4d-fad9-461d-90f0-42ea955d9f03 2025-05-09 22:21:18,110 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.852/3.289/1.437 ms') 2025-05-09 22:21:18,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16635090-82092937 passed 2025-05-09 22:21:18,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:18,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16635090-82092937, IP 135.106.168.3, Port 22 2025-05-09 22:21:18,414 - DEBUG - VM ctest-TestRoutersBasic-16635090-82092937 is ready for SSH connections 2025-05-09 22:21:18,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:18,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.106.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-09 22:21:18,415 - DEBUG - ping -s 56 -c 3 -W 1 135.106.168.3 2025-05-09 22:21:22,038 - DEBUG - PING 135.106.168.3 (135.106.168.3): 56 data bytes 64 bytes from 135.106.168.3: seq=0 ttl=62 time=6.284 ms 64 bytes from 135.106.168.3: seq=1 ttl=62 time=1.150 ms 64 bytes from 135.106.168.3: seq=2 ttl=62 time=1.080 ms --- 135.106.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.080/2.838/6.284 ms 2025-05-09 22:21:22,038 - INFO - Ping to IP 135.106.168.3 from VM ctest-TestRoutersBasic-16635090-68601933 passed 2025-05-09 22:21:22,038 - INFO - Deleting interface with subnet_id 86887df6-c3ef-4d52-a791-bb5d82fc70b2, port_id None from router 356154eb-bb0f-4dd7-a4a6-12aefa91c251 2025-05-09 22:21:22,236 - INFO - Deleting VM ctest-TestRoutersBasic-16635090-82092937 2025-05-09 22:21:22,297 - INFO - Deleting VM ctest-TestRoutersBasic-16635090-68601933 2025-05-09 22:21:22,367 - INFO - Deleting VN ctest-ext_vn-13348126 2025-05-09 22:21:22,428 - DEBUG - VN cc46b927-0dde-4fb5-98c4-83eef4088f99 still in use: Unable to complete operation on network cc46b927-0dde-4fb5-98c4-83eef4088f99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61efd389-3689-4d68-b109-a20a243294f6'] 2025-05-09 22:21:22,429 - WARNING - Deleting VN ctest-ext_vn-13348126 failed..Will retry 2025-05-09 22:21:24,517 - DEBUG - Response for deleting network () 2025-05-09 22:21:24,518 - INFO - Deleting VN ctest-vn-29793719 2025-05-09 22:21:24,613 - DEBUG - Response for deleting network () 2025-05-09 22:21:24,864 - DEBUG - No XMPP flaps were noticed during the test 2025-05-09 22:21:24,864 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-05-09 22:21:24,864 - INFO - -------------------------------------------------------------------------------- 2025-05-09 22:21:25,495 - INFO - Deleted project: ctest-TestRoutersBasic-16635090, ID : dde0f64f-aff1-4a1f-b91b-3374fcc5e484