2025-09-15 09:15:29,086 - INFO - Domain Default found not creating
2025-09-15 09:15:29,242 - INFO - Project ctest-TestRoutersBasic-97173597 not found, creating it
2025-09-15 09:15:29,720 - INFO - Created Project:ctest-TestRoutersBasic-97173597, ID : bd6a7330-a74e-4fcf-a43a-0be5f2a2ee96
2025-09-15 09:15:31,189 - INFO - ================================================================================
2025-09-15 09:15:31,190 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-15 09:15:31,190 - 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-09-15 09:15:31,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-15 09:15:31,444 - INFO - Initial checks done. Running the testcase now
2025-09-15 09:15:31,444 - INFO -
2025-09-15 09:15:32,129 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97173597
2025-09-15 09:15:32,222 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97173597
2025-09-15 09:15:32,542 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97173597', 'default']}
2025-09-15 09:15:32,825 - DEBUG - Response for create_network : {'network': {'id': '27a5abba-438c-4b72-9876-8e8b0a71229e', 'name': 'ctest-vn-90796341', 'tenant_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'project_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97173597', 'ctest-vn-90796341'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 09:15:33,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b5df0eb-be2e-4ac2-aff7-2d562e13416f', 'name': '', 'tenant_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'network_id': '27a5abba-438c-4b72-9876-8e8b0a71229e', 'ip_version': 4, 'cidr': '12.32.51.0/26', 'allocation_pools': [{'start': '12.32.51.2', 'end': '12.32.51.62'}], 'gateway_ip': '12.32.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.32.51.2', 'tags': [], 'project_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96'}}
2025-09-15 09:15:33,043 - INFO - Created VN ctest-vn-90796341
2025-09-15 09:15:33,098 - DEBUG - VN ctest-vn-90796341 UUID is 27a5abba-438c-4b72-9876-8e8b0a71229e
2025-09-15 09:15:33,432 - DEBUG - Response for create_network : {'network': {'id': 'da2faf0b-1bb9-43ae-abc3-6f8de79ac183', 'name': 'ctest-ext_vn-73041133', 'tenant_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'project_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97173597', 'ctest-ext_vn-73041133'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 09:15:33,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b678bb25-da25-4d3a-a0be-861f7fc64db7', 'name': '', 'tenant_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96', 'network_id': 'da2faf0b-1bb9-43ae-abc3-6f8de79ac183', 'ip_version': 4, 'cidr': '18.44.231.64/26', 'allocation_pools': [{'start': '18.44.231.66', 'end': '18.44.231.126'}], 'gateway_ip': '18.44.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.44.231.66', 'tags': [], 'project_id': 'bd6a7330a74e4fcfa43a0be5f2a2ee96'}}
2025-09-15 09:15:33,650 - INFO - Created VN ctest-ext_vn-73041133
2025-09-15 09:15:33,706 - DEBUG - VN ctest-ext_vn-73041133 UUID is da2faf0b-1bb9-43ae-abc3-6f8de79ac183
2025-09-15 09:15:33,872 - DEBUG - Services list from nova: [, , ]
2025-09-15 09:15:34,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1)
2025-09-15 09:15:36,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1)
2025-09-15 09:15:36,201 - INFO - Setting gateway for router 8a358627-4332-45b1-a138-b7ae0d11fe0b to network da2faf0b-1bb9-43ae-abc3-6f8de79ac183
2025-09-15 09:15:36,257 - INFO - Adding interface with subnet_id 7b5df0eb-be2e-4ac2-aff7-2d562e13416f, port_id None to router 8a358627-4332-45b1-a138-b7ae0d11fe0b
2025-09-15 09:15:36,549 - INFO - Waiting for VM ctest-TestRoutersBasic-97173597-27306466 to be up..
2025-09-15 09:15:36,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 09:15:41,770 - DEBUG - VM is in ACTIVE state now
2025-09-15 09:15:41,771 - INFO - VM name : ctest-TestRoutersBasic-97173597-27306466
2025-09-15 09:15:41,843 - DEBUG - VM ctest-TestRoutersBasic-97173597-27306466 ID is 8c268890-79a9-4d45-9962-0d6fc3dc306e
2025-09-15 09:15:41,860 - DEBUG - VM ctest-TestRoutersBasic-97173597-27306466 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1
2025-09-15 09:15:41,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8c268890-79a9-4d45-9962-0d6fc3dc306e
2025-09-15 09:15:42,221 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8c268890-79a9-4d45-9962-0d6fc3dc306e
2025-09-15 09:15:42,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8027f36-716b-4404-949d-4db7f1628da6
2025-09-15 09:15:45,488 - 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-09-15 09:15:45,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97173597-27306466 failed!
2025-09-15 09:15:45,546 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97173597:ctest-vn-90796341 is 12.32.51.1 and allocation pool is NOT set
2025-09-15 09:15:47,606 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.722/3.072/1.350 ms')
2025-09-15 09:15:47,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97173597-27306466 passed
2025-09-15 09:15:47,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:15:47,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97173597-27306466, IP 12.32.51.3, Port 22
2025-09-15 09:15:47,925 - DEBUG - VM ctest-TestRoutersBasic-97173597-27306466 is ready for SSH connections
2025-09-15 09:15:47,925 - INFO - Waiting for VM ctest-TestRoutersBasic-97173597-38265812 to be up..
2025-09-15 09:15:47,999 - DEBUG - VM is in ACTIVE state now
2025-09-15 09:15:48,000 - INFO - VM name : ctest-TestRoutersBasic-97173597-38265812
2025-09-15 09:15:48,073 - DEBUG - VM ctest-TestRoutersBasic-97173597-38265812 ID is 74816538-473c-45af-848d-a7e0e3709eb3
2025-09-15 09:15:48,073 - DEBUG - VM ctest-TestRoutersBasic-97173597-38265812 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1
2025-09-15 09:15:48,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74816538-473c-45af-848d-a7e0e3709eb3
2025-09-15 09:15:48,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee492636-b75b-4467-b093-a70e96e38111
2025-09-15 09:15:49,383 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.729/3.012/1.283 ms')
2025-09-15 09:15:49,383 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97173597-38265812 passed
2025-09-15 09:15:49,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:15:49,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97173597-38265812, IP 18.44.231.67, Port 22
2025-09-15 09:15:49,690 - DEBUG - VM ctest-TestRoutersBasic-97173597-38265812 is ready for SSH connections
2025-09-15 09:15:49,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 09:15:49,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.44.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-15 09:15:49,690 - DEBUG - ping -s 56 -c 3 -W 1 18.44.231.67
2025-09-15 09:15:53,742 - DEBUG - PING 18.44.231.67 (18.44.231.67): 56 data bytes
64 bytes from 18.44.231.67: seq=0 ttl=62 time=4.630 ms
64 bytes from 18.44.231.67: seq=1 ttl=62 time=1.100 ms
64 bytes from 18.44.231.67: seq=2 ttl=62 time=0.822 ms
--- 18.44.231.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.822/2.184/4.630 ms
2025-09-15 09:15:53,742 - INFO - Ping to IP 18.44.231.67 from VM ctest-TestRoutersBasic-97173597-27306466 passed
2025-09-15 09:15:53,743 - INFO - Deleting interface with subnet_id 7b5df0eb-be2e-4ac2-aff7-2d562e13416f, port_id None from router 8a358627-4332-45b1-a138-b7ae0d11fe0b
2025-09-15 09:15:53,928 - INFO - Deleting VM ctest-TestRoutersBasic-97173597-38265812
2025-09-15 09:15:54,004 - INFO - Deleting VM ctest-TestRoutersBasic-97173597-27306466
2025-09-15 09:15:54,076 - INFO - Deleting VN ctest-ext_vn-73041133
2025-09-15 09:15:54,144 - DEBUG - VN da2faf0b-1bb9-43ae-abc3-6f8de79ac183 still in use: Unable to complete operation on network da2faf0b-1bb9-43ae-abc3-6f8de79ac183. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cff59a2d-39bf-44c1-bd19-7368fed286be']
2025-09-15 09:15:54,144 - WARNING - Deleting VN ctest-ext_vn-73041133 failed..Will retry
2025-09-15 09:15:56,241 - DEBUG - Response for deleting network ()
2025-09-15 09:15:56,241 - INFO - Deleting VN ctest-vn-90796341
2025-09-15 09:15:56,339 - DEBUG - Response for deleting network ()
2025-09-15 09:15:56,591 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 09:15:56,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-15 09:15:56,592 - INFO - --------------------------------------------------------------------------------
2025-09-15 09:15:57,312 - INFO - Deleted project: ctest-TestRoutersBasic-97173597, ID : bd6a7330-a74e-4fcf-a43a-0be5f2a2ee96