2025-04-24 02:02:21,681 - INFO - Domain Default found not creating
2025-04-24 02:02:21,799 - INFO - Project ctest-TestRoutersBasic-52694410 not found, creating it
2025-04-24 02:02:22,241 - INFO - Created Project:ctest-TestRoutersBasic-52694410, ID : 746e1897-8914-42f6-bdfe-e4593617cbd0
2025-04-24 02:02:23,529 - INFO - ================================================================================
2025-04-24 02:02:23,529 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-24 02:02:23,529 - 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-24 02:02:23,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with
2025-04-24 02:02:23,787 - INFO - Initial checks done. Running the testcase now
2025-04-24 02:02:23,787 - INFO -
2025-04-24 02:02:24,453 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52694410
2025-04-24 02:02:24,546 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52694410
2025-04-24 02:02:24,874 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52694410', 'default']}
2025-04-24 02:02:25,155 - DEBUG - Response for create_network : {'network': {'id': '17fd9f3f-1e37-4d9b-a2c9-c2ca5571a5ed', 'name': 'ctest-vn-32027333', 'tenant_id': '746e1897891442f6bdfee4593617cbd0', 'project_id': '746e1897891442f6bdfee4593617cbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52694410', 'ctest-vn-32027333'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:02:25,391 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a93a98f-ceaf-47c9-98a9-224158c4364a', 'name': '', 'tenant_id': '746e1897891442f6bdfee4593617cbd0', 'network_id': '17fd9f3f-1e37-4d9b-a2c9-c2ca5571a5ed', 'ip_version': 4, 'cidr': '34.172.198.64/26', 'allocation_pools': [{'start': '34.172.198.66', 'end': '34.172.198.126'}], 'gateway_ip': '34.172.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.172.198.66', 'tags': [], 'project_id': '746e1897891442f6bdfee4593617cbd0'}}
2025-04-24 02:02:25,406 - INFO - Created VN ctest-vn-32027333
2025-04-24 02:02:25,458 - DEBUG - VN ctest-vn-32027333 UUID is 17fd9f3f-1e37-4d9b-a2c9-c2ca5571a5ed
2025-04-24 02:02:25,775 - DEBUG - Response for create_network : {'network': {'id': '6d567d4a-5530-4db5-9822-90bf2780e304', 'name': 'ctest-ext_vn-98468788', 'tenant_id': '746e1897891442f6bdfee4593617cbd0', 'project_id': '746e1897891442f6bdfee4593617cbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52694410', 'ctest-ext_vn-98468788'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:02:25,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '987b33e4-81b8-4a45-9402-c2f4170e24b3', 'name': '', 'tenant_id': '746e1897891442f6bdfee4593617cbd0', 'network_id': '6d567d4a-5530-4db5-9822-90bf2780e304', 'ip_version': 4, 'cidr': '168.117.24.64/26', 'allocation_pools': [{'start': '168.117.24.66', 'end': '168.117.24.126'}], 'gateway_ip': '168.117.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.117.24.66', 'tags': [], 'project_id': '746e1897891442f6bdfee4593617cbd0'}}
2025-04-24 02:02:25,985 - INFO - Created VN ctest-ext_vn-98468788
2025-04-24 02:02:26,042 - DEBUG - VN ctest-ext_vn-98468788 UUID is 6d567d4a-5530-4db5-9822-90bf2780e304
2025-04-24 02:02:26,233 - DEBUG - Services list from nova: [, , ]
2025-04-24 02:02:27,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1)
2025-04-24 02:02:28,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1)
2025-04-24 02:02:28,303 - INFO - Setting gateway for router 9b835540-6d11-48ef-b634-4e8d701ac2f5 to network 6d567d4a-5530-4db5-9822-90bf2780e304
2025-04-24 02:02:28,368 - INFO - Adding interface with subnet_id 2a93a98f-ceaf-47c9-98a9-224158c4364a, port_id None to router 9b835540-6d11-48ef-b634-4e8d701ac2f5
2025-04-24 02:02:28,720 - INFO - Waiting for VM ctest-TestRoutersBasic-52694410-76340044 to be up..
2025-04-24 02:02:28,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 02:02:33,982 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:02:33,982 - INFO - VM name : ctest-TestRoutersBasic-52694410-76340044
2025-04-24 02:02:34,053 - DEBUG - VM ctest-TestRoutersBasic-52694410-76340044 ID is 032abbf5-1b43-4286-bdbf-26867b348c85
2025-04-24 02:02:34,069 - DEBUG - VM ctest-TestRoutersBasic-52694410-76340044 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1
2025-04-24 02:02:34,134 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/032abbf5-1b43-4286-bdbf-26867b348c85
2025-04-24 02:02:34,422 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/032abbf5-1b43-4286-bdbf-26867b348c85
2025-04-24 02:02:34,449 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9346b233-1f41-479d-ad6e-eb4fe37c65f3
2025-04-24 02:02:37,687 - 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=2 ttl=63 time=5.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 5.887/5.887/5.887/0.000 ms')
2025-04-24 02:02:37,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52694410-76340044 passed
2025-04-24 02:02:37,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:02:37,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52694410-76340044, IP 34.172.198.67, Port 22
2025-04-24 02:02:37,989 - DEBUG - VM ctest-TestRoutersBasic-52694410-76340044 is ready for SSH connections
2025-04-24 02:02:37,989 - INFO - Waiting for VM ctest-TestRoutersBasic-52694410-37157873 to be up..
2025-04-24 02:02:38,055 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:02:38,055 - INFO - VM name : ctest-TestRoutersBasic-52694410-37157873
2025-04-24 02:02:38,117 - DEBUG - VM ctest-TestRoutersBasic-52694410-37157873 ID is a2a4d549-169d-46c6-85b2-6a199616f2a3
2025-04-24 02:02:38,117 - DEBUG - VM ctest-TestRoutersBasic-52694410-37157873 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1
2025-04-24 02:02:38,179 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a2a4d549-169d-46c6-85b2-6a199616f2a3
2025-04-24 02:02:38,187 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/65e530c0-7320-48a9-8d10-c8008e705ee9
2025-04-24 02:02:39,415 - 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=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.685 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.685/2.474/4.264/1.789 ms')
2025-04-24 02:02:39,415 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52694410-37157873 passed
2025-04-24 02:02:39,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:02:39,562 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52694410-37157873, IP 168.117.24.67, Port 22
2025-04-24 02:02:39,714 - DEBUG - VM ctest-TestRoutersBasic-52694410-37157873 is ready for SSH connections
2025-04-24 02:02:39,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:02:39,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.117.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-04-24 02:02:39,714 - DEBUG - ping -s 56 -c 3 -W 1 168.117.24.67
2025-04-24 02:02:43,381 - DEBUG - PING 168.117.24.67 (168.117.24.67): 56 data bytes
64 bytes from 168.117.24.67: seq=0 ttl=62 time=6.130 ms
64 bytes from 168.117.24.67: seq=1 ttl=62 time=0.825 ms
64 bytes from 168.117.24.67: seq=2 ttl=62 time=1.004 ms
--- 168.117.24.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.825/2.653/6.130 ms
2025-04-24 02:02:43,381 - INFO - Ping to IP 168.117.24.67 from VM ctest-TestRoutersBasic-52694410-76340044 passed
2025-04-24 02:02:43,382 - INFO - Deleting interface with subnet_id 2a93a98f-ceaf-47c9-98a9-224158c4364a, port_id None from router 9b835540-6d11-48ef-b634-4e8d701ac2f5
2025-04-24 02:02:43,565 - INFO - Deleting VM ctest-TestRoutersBasic-52694410-37157873
2025-04-24 02:02:43,620 - INFO - Deleting VM ctest-TestRoutersBasic-52694410-76340044
2025-04-24 02:02:43,686 - INFO - Deleting VN ctest-ext_vn-98468788
2025-04-24 02:02:43,744 - DEBUG - VN 6d567d4a-5530-4db5-9822-90bf2780e304 still in use: Unable to complete operation on network 6d567d4a-5530-4db5-9822-90bf2780e304. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6d124ec-e23f-4e57-8a5f-fcc2202b95bd']
2025-04-24 02:02:43,744 - WARNING - Deleting VN ctest-ext_vn-98468788 failed..Will retry
2025-04-24 02:02:45,833 - DEBUG - Response for deleting network ()
2025-04-24 02:02:45,833 - INFO - Deleting VN ctest-vn-32027333
2025-04-24 02:02:45,923 - DEBUG - Response for deleting network ()
2025-04-24 02:02:46,175 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:02:46,175 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-24 02:02:46,175 - INFO - --------------------------------------------------------------------------------
2025-04-24 02:02:46,805 - INFO - Deleted project: ctest-TestRoutersBasic-52694410, ID : 746e1897-8914-42f6-bdfe-e4593617cbd0