2025-03-27 02:35:43,415 - INFO - Domain Default found not creating
2025-03-27 02:35:43,583 - INFO - Project ctest-TestRoutersBasic-84701403 not found, creating it
2025-03-27 02:35:44,083 - INFO - Created Project:ctest-TestRoutersBasic-84701403, ID : 96addebc-4baa-49b5-90d2-3314c2f8bf07
2025-03-27 02:35:45,674 - INFO - ================================================================================
2025-03-27 02:35:45,675 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-27 02:35:45,675 - 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-03-27 02:35:45,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.6': '0'}} with
2025-03-27 02:35:45,936 - INFO - Initial checks done. Running the testcase now
2025-03-27 02:35:45,936 - INFO -
2025-03-27 02:35:46,662 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84701403
2025-03-27 02:35:46,762 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84701403
2025-03-27 02:35:47,082 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84701403', 'default']}
2025-03-27 02:35:47,394 - DEBUG - Response for create_network : {'network': {'id': 'ecfb17a0-6c8a-47ef-8bd8-4e44b5f46c5d', 'name': 'ctest-vn-13378603', 'tenant_id': '96addebc4baa49b590d23314c2f8bf07', 'project_id': '96addebc4baa49b590d23314c2f8bf07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84701403', 'ctest-vn-13378603'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 02:35:47,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e25cd64-0a5b-47a7-b3da-03ff75958601', 'name': '', 'tenant_id': '96addebc4baa49b590d23314c2f8bf07', 'network_id': 'ecfb17a0-6c8a-47ef-8bd8-4e44b5f46c5d', 'ip_version': 4, 'cidr': '186.57.144.64/26', 'allocation_pools': [{'start': '186.57.144.66', 'end': '186.57.144.126'}], 'gateway_ip': '186.57.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.57.144.66', 'tags': [], 'project_id': '96addebc4baa49b590d23314c2f8bf07'}}
2025-03-27 02:35:47,583 - INFO - Created VN ctest-vn-13378603
2025-03-27 02:35:47,634 - DEBUG - VN ctest-vn-13378603 UUID is ecfb17a0-6c8a-47ef-8bd8-4e44b5f46c5d
2025-03-27 02:35:47,937 - DEBUG - Response for create_network : {'network': {'id': 'd726b1bc-29c0-4faa-8d6d-0fc093309c25', 'name': 'ctest-ext_vn-98008104', 'tenant_id': '96addebc4baa49b590d23314c2f8bf07', 'project_id': '96addebc4baa49b590d23314c2f8bf07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84701403', 'ctest-ext_vn-98008104'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 02:35:48,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '78279cfe-6f1c-4ec3-9ed6-1553bb69e81a', 'name': '', 'tenant_id': '96addebc4baa49b590d23314c2f8bf07', 'network_id': 'd726b1bc-29c0-4faa-8d6d-0fc093309c25', 'ip_version': 4, 'cidr': '57.224.174.128/26', 'allocation_pools': [{'start': '57.224.174.130', 'end': '57.224.174.190'}], 'gateway_ip': '57.224.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.224.174.130', 'tags': [], 'project_id': '96addebc4baa49b590d23314c2f8bf07'}}
2025-03-27 02:35:48,119 - INFO - Created VN ctest-ext_vn-98008104
2025-03-27 02:35:48,170 - DEBUG - VN ctest-ext_vn-98008104 UUID is d726b1bc-29c0-4faa-8d6d-0fc093309c25
2025-03-27 02:35:48,335 - DEBUG - Services list from nova: [, , ]
2025-03-27 02:35:49,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2965-1)
2025-03-27 02:35:50,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2965-1)
2025-03-27 02:35:50,712 - INFO - Setting gateway for router e8199b5f-cc60-48dd-a89e-57440f800b09 to network d726b1bc-29c0-4faa-8d6d-0fc093309c25
2025-03-27 02:35:50,780 - INFO - Adding interface with subnet_id 8e25cd64-0a5b-47a7-b3da-03ff75958601, port_id None to router e8199b5f-cc60-48dd-a89e-57440f800b09
2025-03-27 02:35:51,272 - INFO - Waiting for VM ctest-TestRoutersBasic-84701403-59266447 to be up..
2025-03-27 02:35:51,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 02:35:56,512 - DEBUG - VM is in ACTIVE state now
2025-03-27 02:35:56,512 - INFO - VM name : ctest-TestRoutersBasic-84701403-59266447
2025-03-27 02:35:56,592 - DEBUG - VM ctest-TestRoutersBasic-84701403-59266447 ID is e49b12d3-8c95-4a1b-b016-536af6c220e7
2025-03-27 02:35:56,609 - DEBUG - VM ctest-TestRoutersBasic-84701403-59266447 launched on Node cn-jenkins-deploy-platform-ansible-os-2965-1
2025-03-27 02:35:56,691 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/e49b12d3-8c95-4a1b-b016-536af6c220e7
2025-03-27 02:35:57,001 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/e49b12d3-8c95-4a1b-b016-536af6c220e7
2025-03-27 02:35:57,043 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/8c64e6fa-2928-4859-aa3e-2e2c22fdbf33
2025-03-27 02:36:00,293 - 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 1003ms')
2025-03-27 02:36:00,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84701403-59266447 failed!
2025-03-27 02:36:00,347 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84701403:ctest-vn-13378603 is 186.57.144.65 and allocation pool is NOT set
2025-03-27 02:36:02,416 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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.525/2.105/3.686/1.580 ms')
2025-03-27 02:36:02,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84701403-59266447 passed
2025-03-27 02:36:02,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 02:36:02,567 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84701403-59266447, IP 186.57.144.67, Port 22
2025-03-27 02:36:02,726 - DEBUG - VM ctest-TestRoutersBasic-84701403-59266447 is ready for SSH connections
2025-03-27 02:36:02,726 - INFO - Waiting for VM ctest-TestRoutersBasic-84701403-90612862 to be up..
2025-03-27 02:36:02,836 - DEBUG - VM is in ACTIVE state now
2025-03-27 02:36:02,836 - INFO - VM name : ctest-TestRoutersBasic-84701403-90612862
2025-03-27 02:36:02,919 - DEBUG - VM ctest-TestRoutersBasic-84701403-90612862 ID is 318f2dee-5407-4c9f-a800-9d9d403988ef
2025-03-27 02:36:02,919 - DEBUG - VM ctest-TestRoutersBasic-84701403-90612862 launched on Node cn-jenkins-deploy-platform-ansible-os-2965-1
2025-03-27 02:36:03,008 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/318f2dee-5407-4c9f-a800-9d9d403988ef
2025-03-27 02:36:03,028 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/6f4bbb56-5aa4-42a1-8c7d-0f7771e13084
2025-03-27 02:36:04,280 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/1.917/3.275/1.357 ms')
2025-03-27 02:36:04,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84701403-90612862 passed
2025-03-27 02:36:04,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 02:36:04,435 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84701403-90612862, IP 57.224.174.131, Port 22
2025-03-27 02:36:04,598 - DEBUG - VM ctest-TestRoutersBasic-84701403-90612862 is ready for SSH connections
2025-03-27 02:36:04,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 02:36:04,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.224.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-03-27 02:36:04,599 - DEBUG - ping -s 56 -c 3 -W 1 57.224.174.131
2025-03-27 02:36:08,488 - DEBUG - PING 57.224.174.131 (57.224.174.131): 56 data bytes
64 bytes from 57.224.174.131: seq=0 ttl=62 time=6.858 ms
64 bytes from 57.224.174.131: seq=1 ttl=62 time=0.975 ms
64 bytes from 57.224.174.131: seq=2 ttl=62 time=1.101 ms
--- 57.224.174.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.975/2.978/6.858 ms
2025-03-27 02:36:08,488 - INFO - Ping to IP 57.224.174.131 from VM ctest-TestRoutersBasic-84701403-59266447 passed
2025-03-27 02:36:08,488 - INFO - Deleting interface with subnet_id 8e25cd64-0a5b-47a7-b3da-03ff75958601, port_id None from router e8199b5f-cc60-48dd-a89e-57440f800b09
2025-03-27 02:36:08,706 - INFO - Deleting VM ctest-TestRoutersBasic-84701403-90612862
2025-03-27 02:36:08,780 - INFO - Deleting VM ctest-TestRoutersBasic-84701403-59266447
2025-03-27 02:36:08,864 - INFO - Deleting VN ctest-ext_vn-98008104
2025-03-27 02:36:08,961 - DEBUG - VN d726b1bc-29c0-4faa-8d6d-0fc093309c25 still in use: Unable to complete operation on network d726b1bc-29c0-4faa-8d6d-0fc093309c25. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-67e8cc39-df8a-44f2-9df8-8c0d4bb800a3']
2025-03-27 02:36:08,961 - WARNING - Deleting VN ctest-ext_vn-98008104 failed..Will retry
2025-03-27 02:36:11,078 - DEBUG - Response for deleting network ()
2025-03-27 02:36:11,078 - INFO - Deleting VN ctest-vn-13378603
2025-03-27 02:36:11,197 - DEBUG - Response for deleting network ()
2025-03-27 02:36:11,458 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 02:36:11,458 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-27 02:36:11,458 - INFO - --------------------------------------------------------------------------------
2025-03-27 02:36:12,138 - INFO - Deleted project: ctest-TestRoutersBasic-84701403, ID : 96addebc-4baa-49b5-90d2-3314c2f8bf07