2025-01-09 20:26:09,525 - INFO - Domain Default found not creating
2025-01-09 20:26:09,689 - INFO - Project ctest-TestRoutersBasic-73594417 not found, creating it
2025-01-09 20:26:10,194 - INFO - Created Project:ctest-TestRoutersBasic-73594417, ID : 066585c4-df39-4c3f-b916-55afa1f48d5a
2025-01-09 20:26:11,726 - INFO - ================================================================================
2025-01-09 20:26:11,726 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-09 20:26:11,726 - 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-01-09 20:26:11,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.7': '0'}} with
2025-01-09 20:26:11,992 - INFO - Initial checks done. Running the testcase now
2025-01-09 20:26:11,992 - INFO -
2025-01-09 20:26:12,693 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73594417
2025-01-09 20:26:12,792 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73594417
2025-01-09 20:26:13,124 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73594417', 'default']}
2025-01-09 20:26:13,424 - DEBUG - Response for create_network : {'network': {'id': '29bf8b9f-9661-4ee1-a6b3-376e029af2e4', 'name': 'ctest-vn-00316697', 'tenant_id': '066585c4df394c3fb91655afa1f48d5a', 'project_id': '066585c4df394c3fb91655afa1f48d5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73594417', 'ctest-vn-00316697'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 20:26:13,654 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9ef2481-9226-4bc7-b00d-a93bdd7c93af', 'name': '', 'tenant_id': '066585c4df394c3fb91655afa1f48d5a', 'network_id': '29bf8b9f-9661-4ee1-a6b3-376e029af2e4', 'ip_version': 4, 'cidr': '73.5.112.64/26', 'allocation_pools': [{'start': '73.5.112.66', 'end': '73.5.112.126'}], 'gateway_ip': '73.5.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.5.112.66', 'tags': [], 'project_id': '066585c4df394c3fb91655afa1f48d5a'}}
2025-01-09 20:26:13,675 - INFO - Created VN ctest-vn-00316697
2025-01-09 20:26:13,728 - DEBUG - VN ctest-vn-00316697 UUID is 29bf8b9f-9661-4ee1-a6b3-376e029af2e4
2025-01-09 20:26:14,060 - DEBUG - Response for create_network : {'network': {'id': '07acc8c6-c5a2-476c-990c-81695b7c22a6', 'name': 'ctest-ext_vn-66099367', 'tenant_id': '066585c4df394c3fb91655afa1f48d5a', 'project_id': '066585c4df394c3fb91655afa1f48d5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73594417', 'ctest-ext_vn-66099367'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 20:26:14,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eab0849-565d-4f95-9928-3a096b723909', 'name': '', 'tenant_id': '066585c4df394c3fb91655afa1f48d5a', 'network_id': '07acc8c6-c5a2-476c-990c-81695b7c22a6', 'ip_version': 4, 'cidr': '82.89.189.64/26', 'allocation_pools': [{'start': '82.89.189.66', 'end': '82.89.189.126'}], 'gateway_ip': '82.89.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.89.189.66', 'tags': [], 'project_id': '066585c4df394c3fb91655afa1f48d5a'}}
2025-01-09 20:26:14,295 - INFO - Created VN ctest-ext_vn-66099367
2025-01-09 20:26:14,348 - DEBUG - VN ctest-ext_vn-66099367 UUID is 07acc8c6-c5a2-476c-990c-81695b7c22a6
2025-01-09 20:26:14,520 - DEBUG - Services list from nova: [, , ]
2025-01-09 20:26:15,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2594-1)
2025-01-09 20:26:16,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2594-1)
2025-01-09 20:26:16,813 - INFO - Setting gateway for router 91ac95f9-d6fa-402a-a81f-e5d2703fce41 to network 07acc8c6-c5a2-476c-990c-81695b7c22a6
2025-01-09 20:26:16,936 - INFO - Adding interface with subnet_id b9ef2481-9226-4bc7-b00d-a93bdd7c93af, port_id None to router 91ac95f9-d6fa-402a-a81f-e5d2703fce41
2025-01-09 20:26:17,486 - INFO - Waiting for VM ctest-TestRoutersBasic-73594417-14846487 to be up..
2025-01-09 20:26:17,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 20:26:22,776 - DEBUG - VM is in ACTIVE state now
2025-01-09 20:26:22,776 - INFO - VM name : ctest-TestRoutersBasic-73594417-14846487
2025-01-09 20:26:22,868 - DEBUG - VM ctest-TestRoutersBasic-73594417-14846487 ID is d1d0bb5f-c429-4bd5-9b5e-815d7f552640
2025-01-09 20:26:22,894 - DEBUG - VM ctest-TestRoutersBasic-73594417-14846487 launched on Node cn-jenkins-deploy-platform-ansible-os-2594-1
2025-01-09 20:26:22,990 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d1d0bb5f-c429-4bd5-9b5e-815d7f552640
2025-01-09 20:26:23,286 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d1d0bb5f-c429-4bd5-9b5e-815d7f552640
2025-01-09 20:26:23,326 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/239ef456-6755-4079-a32c-f1db29813170
2025-01-09 20:26:26,617 - 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 1031ms')
2025-01-09 20:26:26,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73594417-14846487 failed!
2025-01-09 20:26:26,672 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73594417:ctest-vn-00316697 is 73.5.112.65 and allocation pool is NOT set
2025-01-09 20:26:28,741 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.858 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.858/2.178/3.499/1.320 ms')
2025-01-09 20:26:28,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73594417-14846487 passed
2025-01-09 20:26:28,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 20:26:28,896 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73594417-14846487, IP 73.5.112.67, Port 22
2025-01-09 20:26:29,055 - DEBUG - VM ctest-TestRoutersBasic-73594417-14846487 is ready for SSH connections
2025-01-09 20:26:29,055 - INFO - Waiting for VM ctest-TestRoutersBasic-73594417-84115244 to be up..
2025-01-09 20:26:29,154 - DEBUG - VM is in ACTIVE state now
2025-01-09 20:26:29,154 - INFO - VM name : ctest-TestRoutersBasic-73594417-84115244
2025-01-09 20:26:29,233 - DEBUG - VM ctest-TestRoutersBasic-73594417-84115244 ID is 68fc5841-4c09-4ae8-809e-668358248200
2025-01-09 20:26:29,233 - DEBUG - VM ctest-TestRoutersBasic-73594417-84115244 launched on Node cn-jenkins-deploy-platform-ansible-os-2594-1
2025-01-09 20:26:29,318 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/68fc5841-4c09-4ae8-809e-668358248200
2025-01-09 20:26:29,328 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/1fb01628-ef9b-41ca-a857-c4090bced381
2025-01-09 20:26:30,576 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.611/2.783/1.172 ms')
2025-01-09 20:26:30,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73594417-84115244 passed
2025-01-09 20:26:30,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 20:26:30,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73594417-84115244, IP 82.89.189.67, Port 22
2025-01-09 20:26:30,883 - DEBUG - VM ctest-TestRoutersBasic-73594417-84115244 is ready for SSH connections
2025-01-09 20:26:30,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 20:26:30,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.89.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-01-09 20:26:30,884 - DEBUG - ping -s 56 -c 3 -W 1 82.89.189.67
2025-01-09 20:26:34,894 - DEBUG - PING 82.89.189.67 (82.89.189.67): 56 data bytes
64 bytes from 82.89.189.67: seq=0 ttl=62 time=7.782 ms
64 bytes from 82.89.189.67: seq=1 ttl=62 time=0.962 ms
64 bytes from 82.89.189.67: seq=2 ttl=62 time=1.140 ms
--- 82.89.189.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.962/3.294/7.782 ms
2025-01-09 20:26:34,894 - INFO - Ping to IP 82.89.189.67 from VM ctest-TestRoutersBasic-73594417-14846487 passed
2025-01-09 20:26:34,894 - INFO - Deleting interface with subnet_id b9ef2481-9226-4bc7-b00d-a93bdd7c93af, port_id None from router 91ac95f9-d6fa-402a-a81f-e5d2703fce41
2025-01-09 20:26:35,129 - INFO - Deleting VM ctest-TestRoutersBasic-73594417-84115244
2025-01-09 20:26:35,213 - INFO - Deleting VM ctest-TestRoutersBasic-73594417-14846487
2025-01-09 20:26:35,296 - INFO - Deleting VN ctest-ext_vn-66099367
2025-01-09 20:26:35,367 - DEBUG - VN 07acc8c6-c5a2-476c-990c-81695b7c22a6 still in use: Unable to complete operation on network 07acc8c6-c5a2-476c-990c-81695b7c22a6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-26c1ccbb-7d52-4562-82ee-2d311cb5bcf8']
2025-01-09 20:26:35,367 - WARNING - Deleting VN ctest-ext_vn-66099367 failed..Will retry
2025-01-09 20:26:37,493 - DEBUG - Response for deleting network ()
2025-01-09 20:26:37,493 - INFO - Deleting VN ctest-vn-00316697
2025-01-09 20:26:37,592 - DEBUG - Response for deleting network ()
2025-01-09 20:26:37,854 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 20:26:37,854 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-09 20:26:37,854 - INFO - --------------------------------------------------------------------------------
2025-01-09 20:26:38,543 - INFO - Deleted project: ctest-TestRoutersBasic-73594417, ID : 066585c4-df39-4c3f-b916-55afa1f48d5a