2025-04-03 02:22:51,863 - INFO - Domain Default found not creating 2025-04-03 02:22:52,045 - INFO - Project ctest-TestRoutersBasic-75801452 not found, creating it 2025-04-03 02:22:52,575 - INFO - Created Project:ctest-TestRoutersBasic-75801452, ID : ec07d8a9-e2bb-4aae-833c-e0365a7c7546 2025-04-03 02:22:54,086 - INFO - ================================================================================ 2025-04-03 02:22:54,087 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-03 02:22:54,087 - 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-04-03 02:22:54,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with 2025-04-03 02:22:54,345 - INFO - Initial checks done. Running the testcase now 2025-04-03 02:22:54,345 - INFO - 2025-04-03 02:22:55,082 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75801452 2025-04-03 02:22:55,182 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75801452 2025-04-03 02:22:55,514 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75801452', 'default']} 2025-04-03 02:22:55,809 - DEBUG - Response for create_network : {'network': {'id': 'c3b6c9e6-5e4b-487b-9756-5b0ba3914fde', 'name': 'ctest-vn-70617125', 'tenant_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'project_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75801452', 'ctest-vn-70617125'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 02:22:56,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '88acc602-d311-4474-ac54-39c8d3ce3780', 'name': '', 'tenant_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'network_id': 'c3b6c9e6-5e4b-487b-9756-5b0ba3914fde', 'ip_version': 4, 'cidr': '73.218.209.0/26', 'allocation_pools': [{'start': '73.218.209.2', 'end': '73.218.209.62'}], 'gateway_ip': '73.218.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.218.209.2', 'tags': [], 'project_id': 'ec07d8a9e2bb4aae833ce0365a7c7546'}} 2025-04-03 02:22:56,065 - INFO - Created VN ctest-vn-70617125 2025-04-03 02:22:56,122 - DEBUG - VN ctest-vn-70617125 UUID is c3b6c9e6-5e4b-487b-9756-5b0ba3914fde 2025-04-03 02:22:56,471 - DEBUG - Response for create_network : {'network': {'id': 'c539a0d9-c51c-4545-8952-366f67324796', 'name': 'ctest-ext_vn-51702666', 'tenant_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'project_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75801452', 'ctest-ext_vn-51702666'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 02:22:56,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a998fa6-8685-44de-9e38-6c56955b1ae2', 'name': '', 'tenant_id': 'ec07d8a9e2bb4aae833ce0365a7c7546', 'network_id': 'c539a0d9-c51c-4545-8952-366f67324796', 'ip_version': 4, 'cidr': '155.95.203.64/26', 'allocation_pools': [{'start': '155.95.203.66', 'end': '155.95.203.126'}], 'gateway_ip': '155.95.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.95.203.66', 'tags': [], 'project_id': 'ec07d8a9e2bb4aae833ce0365a7c7546'}} 2025-04-03 02:22:56,840 - INFO - Created VN ctest-ext_vn-51702666 2025-04-03 02:22:56,894 - DEBUG - VN ctest-ext_vn-51702666 UUID is c539a0d9-c51c-4545-8952-366f67324796 2025-04-03 02:22:57,077 - DEBUG - Services list from nova: [, , ] 2025-04-03 02:22:58,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3025-1) 2025-04-03 02:22:59,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3025-1) 2025-04-03 02:22:59,517 - INFO - Setting gateway for router 9549f7d2-d835-4cdf-92cb-b3bb435565fd to network c539a0d9-c51c-4545-8952-366f67324796 2025-04-03 02:22:59,594 - INFO - Adding interface with subnet_id 88acc602-d311-4474-ac54-39c8d3ce3780, port_id None to router 9549f7d2-d835-4cdf-92cb-b3bb435565fd 2025-04-03 02:23:00,081 - INFO - Waiting for VM ctest-TestRoutersBasic-75801452-73673335 to be up.. 2025-04-03 02:23:00,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-03 02:23:05,454 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:23:05,454 - INFO - VM name : ctest-TestRoutersBasic-75801452-73673335 2025-04-03 02:23:05,567 - DEBUG - VM ctest-TestRoutersBasic-75801452-73673335 ID is e5d7ac1b-9511-4487-be1e-4c9dfbb24b95 2025-04-03 02:23:05,598 - DEBUG - VM ctest-TestRoutersBasic-75801452-73673335 launched on Node cn-jenkins-deploy-platform-ansible-os-3025-1 2025-04-03 02:23:05,696 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/e5d7ac1b-9511-4487-be1e-4c9dfbb24b95 2025-04-03 02:23:06,008 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/e5d7ac1b-9511-4487-be1e-4c9dfbb24b95 2025-04-03 02:23:06,047 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/045b3a6c-413d-45b1-ba0d-265913e05877 2025-04-03 02:23:09,316 - 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-04-03 02:23:09,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75801452-73673335 failed! 2025-04-03 02:23:09,374 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75801452:ctest-vn-70617125 is 73.218.209.1 and allocation pool is NOT set 2025-04-03 02:23:11,445 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.657 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 = 0.657/2.268/3.879/1.611 ms') 2025-04-03 02:23:11,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75801452-73673335 passed 2025-04-03 02:23:11,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:23:11,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75801452-73673335, IP 73.218.209.3, Port 22 2025-04-03 02:23:11,725 - DEBUG - VM ctest-TestRoutersBasic-75801452-73673335 is ready for SSH connections 2025-04-03 02:23:11,725 - INFO - Waiting for VM ctest-TestRoutersBasic-75801452-05136227 to be up.. 2025-04-03 02:23:11,831 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:23:11,831 - INFO - VM name : ctest-TestRoutersBasic-75801452-05136227 2025-04-03 02:23:11,918 - DEBUG - VM ctest-TestRoutersBasic-75801452-05136227 ID is 39a8b3e3-68c9-4238-bc16-0e935ce6b8e9 2025-04-03 02:23:11,919 - DEBUG - VM ctest-TestRoutersBasic-75801452-05136227 launched on Node cn-jenkins-deploy-platform-ansible-os-3025-1 2025-04-03 02:23:12,021 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/39a8b3e3-68c9-4238-bc16-0e935ce6b8e9 2025-04-03 02:23:12,036 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/140e7557-d3e6-4c1c-a2c6-07fbcb217552 2025-04-03 02:23:13,304 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.110/2.396/3.682/1.286 ms') 2025-04-03 02:23:13,304 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75801452-05136227 passed 2025-04-03 02:23:13,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:23:13,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75801452-05136227, IP 155.95.203.67, Port 22 2025-04-03 02:23:13,635 - DEBUG - VM ctest-TestRoutersBasic-75801452-05136227 is ready for SSH connections 2025-04-03 02:23:13,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:23:13,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.95.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-04-03 02:23:13,635 - DEBUG - ping -s 56 -c 3 -W 1 155.95.203.67 2025-04-03 02:23:17,742 - DEBUG - PING 155.95.203.67 (155.95.203.67): 56 data bytes 64 bytes from 155.95.203.67: seq=0 ttl=62 time=8.150 ms 64 bytes from 155.95.203.67: seq=1 ttl=62 time=1.313 ms 64 bytes from 155.95.203.67: seq=2 ttl=62 time=1.059 ms --- 155.95.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/3.507/8.150 ms 2025-04-03 02:23:17,743 - INFO - Ping to IP 155.95.203.67 from VM ctest-TestRoutersBasic-75801452-73673335 passed 2025-04-03 02:23:17,743 - INFO - Deleting interface with subnet_id 88acc602-d311-4474-ac54-39c8d3ce3780, port_id None from router 9549f7d2-d835-4cdf-92cb-b3bb435565fd 2025-04-03 02:23:18,009 - INFO - Deleting VM ctest-TestRoutersBasic-75801452-05136227 2025-04-03 02:23:18,105 - INFO - Deleting VM ctest-TestRoutersBasic-75801452-73673335 2025-04-03 02:23:18,194 - INFO - Deleting VN ctest-ext_vn-51702666 2025-04-03 02:23:18,284 - DEBUG - VN c539a0d9-c51c-4545-8952-366f67324796 still in use: Unable to complete operation on network c539a0d9-c51c-4545-8952-366f67324796. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a25ca745-1893-4036-b23f-6ea1459d9f16'] 2025-04-03 02:23:18,284 - WARNING - Deleting VN ctest-ext_vn-51702666 failed..Will retry 2025-04-03 02:23:20,418 - DEBUG - Response for deleting network () 2025-04-03 02:23:20,418 - INFO - Deleting VN ctest-vn-70617125 2025-04-03 02:23:20,547 - DEBUG - Response for deleting network () 2025-04-03 02:23:20,810 - DEBUG - No XMPP flaps were noticed during the test 2025-04-03 02:23:20,810 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-03 02:23:20,811 - INFO - -------------------------------------------------------------------------------- 2025-04-03 02:23:21,539 - INFO - Deleted project: ctest-TestRoutersBasic-75801452, ID : ec07d8a9-e2bb-4aae-833c-e0365a7c7546