2025-03-21 10:32:23,901 - INFO - Domain Default found not creating
2025-03-21 10:32:24,069 - INFO - Project ctest-TestRoutersBasic-09794399 not found, creating it
2025-03-21 10:32:24,556 - INFO - Created Project:ctest-TestRoutersBasic-09794399, ID : 5024f5cf-4718-4e7b-81b9-bdf3f95a4ab9
2025-03-21 10:32:26,071 - INFO - ================================================================================
2025-03-21 10:32:26,072 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-21 10:32:26,072 - 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-21 10:32:26,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.12': '0'}} with
2025-03-21 10:32:26,331 - INFO - Initial checks done. Running the testcase now
2025-03-21 10:32:26,331 - INFO -
2025-03-21 10:32:27,058 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09794399
2025-03-21 10:32:27,152 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09794399
2025-03-21 10:32:27,480 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09794399', 'default']}
2025-03-21 10:32:27,795 - DEBUG - Response for create_network : {'network': {'id': '0e7f5c7b-a1b7-47de-8e8d-ff3364d6b2ca', 'name': 'ctest-vn-96885231', 'tenant_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'project_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09794399', 'ctest-vn-96885231'], 'port_security_enabled': True, 'description': ''}}
2025-03-21 10:32:27,954 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fafb6783-000a-4bf9-9f5c-f5281a5e06e6', 'name': '', 'tenant_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'network_id': '0e7f5c7b-a1b7-47de-8e8d-ff3364d6b2ca', 'ip_version': 4, 'cidr': '157.201.148.192/26', 'allocation_pools': [{'start': '157.201.148.194', 'end': '157.201.148.254'}], 'gateway_ip': '157.201.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.201.148.194', 'tags': [], 'project_id': '5024f5cf47184e7b81b9bdf3f95a4ab9'}}
2025-03-21 10:32:27,973 - INFO - Created VN ctest-vn-96885231
2025-03-21 10:32:28,028 - DEBUG - VN ctest-vn-96885231 UUID is 0e7f5c7b-a1b7-47de-8e8d-ff3364d6b2ca
2025-03-21 10:32:28,357 - DEBUG - Response for create_network : {'network': {'id': '475533ac-f656-48fb-84ed-ecd85a6dc32d', 'name': 'ctest-ext_vn-78292756', 'tenant_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'project_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09794399', 'ctest-ext_vn-78292756'], 'port_security_enabled': True, 'description': ''}}
2025-03-21 10:32:28,531 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6401377-5fa5-4bdd-a143-f2d2f3d232c2', 'name': '', 'tenant_id': '5024f5cf47184e7b81b9bdf3f95a4ab9', 'network_id': '475533ac-f656-48fb-84ed-ecd85a6dc32d', 'ip_version': 4, 'cidr': '102.211.7.0/26', 'allocation_pools': [{'start': '102.211.7.2', 'end': '102.211.7.62'}], 'gateway_ip': '102.211.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.211.7.2', 'tags': [], 'project_id': '5024f5cf47184e7b81b9bdf3f95a4ab9'}}
2025-03-21 10:32:28,549 - INFO - Created VN ctest-ext_vn-78292756
2025-03-21 10:32:28,604 - DEBUG - VN ctest-ext_vn-78292756 UUID is 475533ac-f656-48fb-84ed-ecd85a6dc32d
2025-03-21 10:32:28,766 - DEBUG - Services list from nova: [, , ]
2025-03-21 10:32:29,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1)
2025-03-21 10:32:30,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1)
2025-03-21 10:32:31,028 - INFO - Setting gateway for router d4032390-a1f8-4587-81d2-5524da7aea15 to network 475533ac-f656-48fb-84ed-ecd85a6dc32d
2025-03-21 10:32:31,117 - INFO - Adding interface with subnet_id fafb6783-000a-4bf9-9f5c-f5281a5e06e6, port_id None to router d4032390-a1f8-4587-81d2-5524da7aea15
2025-03-21 10:32:31,515 - INFO - Waiting for VM ctest-TestRoutersBasic-09794399-83772369 to be up..
2025-03-21 10:32:31,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-21 10:32:36,757 - DEBUG - VM is in ACTIVE state now
2025-03-21 10:32:36,757 - INFO - VM name : ctest-TestRoutersBasic-09794399-83772369
2025-03-21 10:32:36,840 - DEBUG - VM ctest-TestRoutersBasic-09794399-83772369 ID is 452ef1cf-f31e-4c26-a922-f19fdbdbca3b
2025-03-21 10:32:36,862 - DEBUG - VM ctest-TestRoutersBasic-09794399-83772369 launched on Node cn-jenkins-deploy-platform-ansible-os-2932-1
2025-03-21 10:32:36,937 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/452ef1cf-f31e-4c26-a922-f19fdbdbca3b
2025-03-21 10:32:37,234 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/452ef1cf-f31e-4c26-a922-f19fdbdbca3b
2025-03-21 10:32:37,267 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/6bf59c4b-f489-4b3c-8ec3-5ae44ec0428a
2025-03-21 10:32:40,521 - 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 1009ms')
2025-03-21 10:32:40,521 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09794399-83772369 failed!
2025-03-21 10:32:40,580 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09794399:ctest-vn-96885231 is 157.201.148.193 and allocation pool is NOT set
2025-03-21 10:32:42,642 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.528 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.528/1.708/2.889/1.180 ms')
2025-03-21 10:32:42,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09794399-83772369 passed
2025-03-21 10:32:42,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-21 10:32:42,800 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09794399-83772369, IP 157.201.148.195, Port 22
2025-03-21 10:32:42,956 - DEBUG - VM ctest-TestRoutersBasic-09794399-83772369 is ready for SSH connections
2025-03-21 10:32:42,956 - INFO - Waiting for VM ctest-TestRoutersBasic-09794399-96209696 to be up..
2025-03-21 10:32:43,051 - DEBUG - VM is in ACTIVE state now
2025-03-21 10:32:43,051 - INFO - VM name : ctest-TestRoutersBasic-09794399-96209696
2025-03-21 10:32:43,161 - DEBUG - VM ctest-TestRoutersBasic-09794399-96209696 ID is 0a71599e-95c5-4268-a467-b9046a8cd338
2025-03-21 10:32:43,161 - DEBUG - VM ctest-TestRoutersBasic-09794399-96209696 launched on Node cn-jenkins-deploy-platform-ansible-os-2932-1
2025-03-21 10:32:43,242 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0a71599e-95c5-4268-a467-b9046a8cd338
2025-03-21 10:32:43,252 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/6af1127e-d59b-436d-b86b-a59b1bf1e05f
2025-03-21 10:32:44,515 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.781/3.146/1.365 ms')
2025-03-21 10:32:44,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09794399-96209696 passed
2025-03-21 10:32:44,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-21 10:32:44,668 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09794399-96209696, IP 102.211.7.3, Port 22
2025-03-21 10:32:44,823 - DEBUG - VM ctest-TestRoutersBasic-09794399-96209696 is ready for SSH connections
2025-03-21 10:32:44,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-21 10:32:44,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.211.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-03-21 10:32:44,824 - DEBUG - ping -s 56 -c 3 -W 1 102.211.7.3
2025-03-21 10:32:48,822 - DEBUG - PING 102.211.7.3 (102.211.7.3): 56 data bytes
64 bytes from 102.211.7.3: seq=0 ttl=62 time=5.141 ms
64 bytes from 102.211.7.3: seq=1 ttl=62 time=1.114 ms
64 bytes from 102.211.7.3: seq=2 ttl=62 time=0.915 ms
--- 102.211.7.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.915/2.390/5.141 ms
2025-03-21 10:32:48,822 - INFO - Ping to IP 102.211.7.3 from VM ctest-TestRoutersBasic-09794399-83772369 passed
2025-03-21 10:32:48,822 - INFO - Deleting interface with subnet_id fafb6783-000a-4bf9-9f5c-f5281a5e06e6, port_id None from router d4032390-a1f8-4587-81d2-5524da7aea15
2025-03-21 10:32:49,053 - INFO - Deleting VM ctest-TestRoutersBasic-09794399-96209696
2025-03-21 10:32:49,120 - INFO - Deleting VM ctest-TestRoutersBasic-09794399-83772369
2025-03-21 10:32:49,191 - INFO - Deleting VN ctest-ext_vn-78292756
2025-03-21 10:32:49,262 - DEBUG - VN 475533ac-f656-48fb-84ed-ecd85a6dc32d still in use: Unable to complete operation on network 475533ac-f656-48fb-84ed-ecd85a6dc32d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-979ca9b6-c291-4d64-94dc-2d7d2650cf51']
2025-03-21 10:32:49,262 - WARNING - Deleting VN ctest-ext_vn-78292756 failed..Will retry
2025-03-21 10:32:51,370 - DEBUG - Response for deleting network ()
2025-03-21 10:32:51,370 - INFO - Deleting VN ctest-vn-96885231
2025-03-21 10:32:51,482 - DEBUG - Response for deleting network ()
2025-03-21 10:32:51,742 - DEBUG - No XMPP flaps were noticed during the test
2025-03-21 10:32:51,742 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-03-21 10:32:51,742 - INFO - --------------------------------------------------------------------------------
2025-03-21 10:32:52,443 - INFO - Deleted project: ctest-TestRoutersBasic-09794399, ID : 5024f5cf-4718-4e7b-81b9-bdf3f95a4ab9