2025-05-29 15:23:09,399 - INFO - Domain Default found not creating
2025-05-29 15:23:09,542 - INFO - Project ctest-TestRoutersBasic-33632036 not found, creating it
2025-05-29 15:23:10,024 - INFO - Created Project:ctest-TestRoutersBasic-33632036, ID : 8d463d7b-d8c3-45d6-9556-40b4eea622dd
2025-05-29 15:23:11,522 - INFO - ================================================================================
2025-05-29 15:23:11,523 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-29 15:23:11,523 - 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-29 15:23:11,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-29 15:23:11,777 - INFO - Initial checks done. Running the testcase now
2025-05-29 15:23:11,777 - INFO -
2025-05-29 15:23:12,545 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33632036
2025-05-29 15:23:12,639 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33632036
2025-05-29 15:23:12,959 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33632036', 'default']}
2025-05-29 15:23:13,258 - DEBUG - Response for create_network : {'network': {'id': '00bb4e16-6ffc-4d2a-b84d-2b952ce30946', 'name': 'ctest-vn-19726393', 'tenant_id': '8d463d7bd8c345d6955640b4eea622dd', 'project_id': '8d463d7bd8c345d6955640b4eea622dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33632036', 'ctest-vn-19726393'], 'port_security_enabled': True, 'description': ''}}
2025-05-29 15:23:13,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa2b242d-9ac0-4c2d-880c-19b951bfca7d', 'name': '', 'tenant_id': '8d463d7bd8c345d6955640b4eea622dd', 'network_id': '00bb4e16-6ffc-4d2a-b84d-2b952ce30946', 'ip_version': 4, 'cidr': '171.234.20.128/26', 'allocation_pools': [{'start': '171.234.20.130', 'end': '171.234.20.190'}], 'gateway_ip': '171.234.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.234.20.130', 'tags': [], 'project_id': '8d463d7bd8c345d6955640b4eea622dd'}}
2025-05-29 15:23:13,455 - INFO - Created VN ctest-vn-19726393
2025-05-29 15:23:13,507 - DEBUG - VN ctest-vn-19726393 UUID is 00bb4e16-6ffc-4d2a-b84d-2b952ce30946
2025-05-29 15:23:13,849 - DEBUG - Response for create_network : {'network': {'id': '4254ae9d-2f95-4213-862f-993271b85399', 'name': 'ctest-ext_vn-46784805', 'tenant_id': '8d463d7bd8c345d6955640b4eea622dd', 'project_id': '8d463d7bd8c345d6955640b4eea622dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33632036', 'ctest-ext_vn-46784805'], 'port_security_enabled': True, 'description': ''}}
2025-05-29 15:23:14,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b04bbdeb-3bf6-4a50-99cd-cda5767db4cd', 'name': '', 'tenant_id': '8d463d7bd8c345d6955640b4eea622dd', 'network_id': '4254ae9d-2f95-4213-862f-993271b85399', 'ip_version': 4, 'cidr': '48.182.9.192/26', 'allocation_pools': [{'start': '48.182.9.194', 'end': '48.182.9.254'}], 'gateway_ip': '48.182.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.182.9.194', 'tags': [], 'project_id': '8d463d7bd8c345d6955640b4eea622dd'}}
2025-05-29 15:23:14,048 - INFO - Created VN ctest-ext_vn-46784805
2025-05-29 15:23:14,099 - DEBUG - VN ctest-ext_vn-46784805 UUID is 4254ae9d-2f95-4213-862f-993271b85399
2025-05-29 15:23:14,292 - DEBUG - Services list from nova: [, , ]
2025-05-29 15:23:15,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3369-1)
2025-05-29 15:23:16,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3369-1)
2025-05-29 15:23:16,608 - INFO - Setting gateway for router a59e6168-b641-48aa-b37b-c79bc5e53404 to network 4254ae9d-2f95-4213-862f-993271b85399
2025-05-29 15:23:16,670 - INFO - Adding interface with subnet_id aa2b242d-9ac0-4c2d-880c-19b951bfca7d, port_id None to router a59e6168-b641-48aa-b37b-c79bc5e53404
2025-05-29 15:23:17,141 - INFO - Waiting for VM ctest-TestRoutersBasic-33632036-01899975 to be up..
2025-05-29 15:23:17,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-29 15:23:22,407 - DEBUG - VM is in ACTIVE state now
2025-05-29 15:23:22,407 - INFO - VM name : ctest-TestRoutersBasic-33632036-01899975
2025-05-29 15:23:22,483 - DEBUG - VM ctest-TestRoutersBasic-33632036-01899975 ID is da7b9947-e972-487a-8648-83cf98f3e1c2
2025-05-29 15:23:22,502 - DEBUG - VM ctest-TestRoutersBasic-33632036-01899975 launched on Node cn-jenkins-deploy-platform-ansible-os-3369-1
2025-05-29 15:23:22,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/da7b9947-e972-487a-8648-83cf98f3e1c2
2025-05-29 15:23:22,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/da7b9947-e972-487a-8648-83cf98f3e1c2
2025-05-29 15:23:22,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5345a823-d27c-4d9e-a009-7dd8cd15d487
2025-05-29 15:23:26,179 - 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 1007ms')
2025-05-29 15:23:26,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33632036-01899975 failed!
2025-05-29 15:23:26,235 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33632036:ctest-vn-19726393 is 171.234.20.129 and allocation pool is NOT set
2025-05-29 15:23:28,299 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/2.865/4.826/1.960 ms')
2025-05-29 15:23:28,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33632036-01899975 passed
2025-05-29 15:23:28,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 15:23:28,455 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33632036-01899975, IP 171.234.20.131, Port 22
2025-05-29 15:23:28,610 - DEBUG - VM ctest-TestRoutersBasic-33632036-01899975 is ready for SSH connections
2025-05-29 15:23:28,610 - INFO - Waiting for VM ctest-TestRoutersBasic-33632036-77204645 to be up..
2025-05-29 15:23:28,685 - DEBUG - VM is in ACTIVE state now
2025-05-29 15:23:28,685 - INFO - VM name : ctest-TestRoutersBasic-33632036-77204645
2025-05-29 15:23:28,755 - DEBUG - VM ctest-TestRoutersBasic-33632036-77204645 ID is 9c8a0aab-202f-43db-beaf-970f3e2419e4
2025-05-29 15:23:28,756 - DEBUG - VM ctest-TestRoutersBasic-33632036-77204645 launched on Node cn-jenkins-deploy-platform-ansible-os-3369-1
2025-05-29 15:23:28,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9c8a0aab-202f-43db-beaf-970f3e2419e4
2025-05-29 15:23:28,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57fcdbad-efdc-4dd4-ab27-d1233abce984
2025-05-29 15:23:30,069 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.769/3.228/1.459 ms')
2025-05-29 15:23:30,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33632036-77204645 passed
2025-05-29 15:23:30,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 15:23:30,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33632036-77204645, IP 48.182.9.195, Port 22
2025-05-29 15:23:30,382 - DEBUG - VM ctest-TestRoutersBasic-33632036-77204645 is ready for SSH connections
2025-05-29 15:23:30,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 15:23:30,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.182.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-29 15:23:30,382 - DEBUG - ping -s 56 -c 3 -W 1 48.182.9.195
2025-05-29 15:23:34,413 - DEBUG - PING 48.182.9.195 (48.182.9.195): 56 data bytes
64 bytes from 48.182.9.195: seq=0 ttl=62 time=5.768 ms
64 bytes from 48.182.9.195: seq=1 ttl=62 time=0.910 ms
64 bytes from 48.182.9.195: seq=2 ttl=62 time=0.898 ms
--- 48.182.9.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.898/2.525/5.768 ms
2025-05-29 15:23:34,413 - INFO - Ping to IP 48.182.9.195 from VM ctest-TestRoutersBasic-33632036-01899975 passed
2025-05-29 15:23:34,413 - INFO - Deleting interface with subnet_id aa2b242d-9ac0-4c2d-880c-19b951bfca7d, port_id None from router a59e6168-b641-48aa-b37b-c79bc5e53404
2025-05-29 15:23:34,621 - INFO - Deleting VM ctest-TestRoutersBasic-33632036-77204645
2025-05-29 15:23:34,690 - INFO - Deleting VM ctest-TestRoutersBasic-33632036-01899975
2025-05-29 15:23:34,795 - INFO - Deleting VN ctest-ext_vn-46784805
2025-05-29 15:23:34,871 - DEBUG - VN 4254ae9d-2f95-4213-862f-993271b85399 still in use: Unable to complete operation on network 4254ae9d-2f95-4213-862f-993271b85399. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-16d6beec-9e7d-4a9c-a4ff-ce957ab6cab4']
2025-05-29 15:23:34,871 - WARNING - Deleting VN ctest-ext_vn-46784805 failed..Will retry
2025-05-29 15:23:36,967 - DEBUG - Response for deleting network ()
2025-05-29 15:23:36,967 - INFO - Deleting VN ctest-vn-19726393
2025-05-29 15:23:37,060 - DEBUG - Response for deleting network ()
2025-05-29 15:23:37,317 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 15:23:37,317 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-29 15:23:37,317 - INFO - --------------------------------------------------------------------------------
2025-05-29 15:23:38,050 - INFO - Deleted project: ctest-TestRoutersBasic-33632036, ID : 8d463d7b-d8c3-45d6-9556-40b4eea622dd