2025-11-05 20:06:06,550 - INFO - Domain Default found not creating
2025-11-05 20:06:06,855 - INFO - Project ctest-TestRoutersBasic-12406248 not found, creating it
2025-11-05 20:06:07,425 - INFO - Created Project:ctest-TestRoutersBasic-12406248, ID : 7875143c-0878-43cd-8560-118fd08a09b8
2025-11-05 20:06:09,453 - INFO - ================================================================================
2025-11-05 20:06:09,454 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-05 20:06:09,454 - 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-11-05 20:06:09,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with
2025-11-05 20:06:09,770 - INFO - Initial checks done. Running the testcase now
2025-11-05 20:06:09,770 - INFO -
2025-11-05 20:06:10,625 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12406248
2025-11-05 20:06:10,732 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12406248
2025-11-05 20:06:11,103 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12406248', 'default']}
2025-11-05 20:06:11,546 - DEBUG - Response for create_network : {'network': {'id': '6e139758-3cb8-479a-b33c-27f5361e0b5e', 'name': 'ctest-vn-80304548', 'tenant_id': '7875143c087843cd8560118fd08a09b8', 'project_id': '7875143c087843cd8560118fd08a09b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12406248', 'ctest-vn-80304548'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 20:06:11,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc9e4cdd-c1a3-4918-a582-7c29f3ea991f', 'name': '', 'tenant_id': '7875143c087843cd8560118fd08a09b8', 'network_id': '6e139758-3cb8-479a-b33c-27f5361e0b5e', 'ip_version': 4, 'cidr': '210.73.20.64/26', 'allocation_pools': [{'start': '210.73.20.66', 'end': '210.73.20.126'}], 'gateway_ip': '210.73.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.73.20.66', 'tags': [], 'project_id': '7875143c087843cd8560118fd08a09b8'}}
2025-11-05 20:06:11,849 - INFO - Created VN ctest-vn-80304548
2025-11-05 20:06:11,908 - DEBUG - VN ctest-vn-80304548 UUID is 6e139758-3cb8-479a-b33c-27f5361e0b5e
2025-11-05 20:06:12,336 - DEBUG - Response for create_network : {'network': {'id': '39c7c3af-4b0b-4536-adcd-8c7f305ef44f', 'name': 'ctest-ext_vn-22880013', 'tenant_id': '7875143c087843cd8560118fd08a09b8', 'project_id': '7875143c087843cd8560118fd08a09b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12406248', 'ctest-ext_vn-22880013'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 20:06:12,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '016a7e69-e356-429a-a4ec-a23f3f2b2f29', 'name': '', 'tenant_id': '7875143c087843cd8560118fd08a09b8', 'network_id': '39c7c3af-4b0b-4536-adcd-8c7f305ef44f', 'ip_version': 4, 'cidr': '147.252.188.192/26', 'allocation_pools': [{'start': '147.252.188.194', 'end': '147.252.188.254'}], 'gateway_ip': '147.252.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.252.188.194', 'tags': [], 'project_id': '7875143c087843cd8560118fd08a09b8'}}
2025-11-05 20:06:12,629 - INFO - Created VN ctest-ext_vn-22880013
2025-11-05 20:06:12,683 - DEBUG - VN ctest-ext_vn-22880013 UUID is 39c7c3af-4b0b-4536-adcd-8c7f305ef44f
2025-11-05 20:06:12,899 - DEBUG - Services list from nova: [, , ]
2025-11-05 20:06:14,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4655-1)
2025-11-05 20:06:15,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4655-1)
2025-11-05 20:06:15,544 - INFO - Setting gateway for router 937764b6-7c12-41e9-b7d0-ba7c04ab9556 to network 39c7c3af-4b0b-4536-adcd-8c7f305ef44f
2025-11-05 20:06:15,604 - INFO - Adding interface with subnet_id bc9e4cdd-c1a3-4918-a582-7c29f3ea991f, port_id None to router 937764b6-7c12-41e9-b7d0-ba7c04ab9556
2025-11-05 20:06:15,946 - INFO - Waiting for VM ctest-TestRoutersBasic-12406248-90352199 to be up..
2025-11-05 20:06:16,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 20:06:21,236 - DEBUG - VM is in ACTIVE state now
2025-11-05 20:06:21,236 - INFO - VM name : ctest-TestRoutersBasic-12406248-90352199
2025-11-05 20:06:21,332 - DEBUG - VM ctest-TestRoutersBasic-12406248-90352199 ID is 8a1e3e89-1532-4cdb-901d-dfc5f0433f47
2025-11-05 20:06:21,361 - DEBUG - VM ctest-TestRoutersBasic-12406248-90352199 launched on Node cn-jenkins-deploy-platform-ansible-os-4655-1
2025-11-05 20:06:21,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a1e3e89-1532-4cdb-901d-dfc5f0433f47
2025-11-05 20:06:21,796 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a1e3e89-1532-4cdb-901d-dfc5f0433f47
2025-11-05 20:06:21,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/49b37f56-1761-49e4-88eb-74308f72a26e
2025-11-05 20:06:25,123 - 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 1024ms')
2025-11-05 20:06:25,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12406248-90352199 failed!
2025-11-05 20:06:25,196 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12406248:ctest-vn-80304548 is 210.73.20.65 and allocation pool is NOT set
2025-11-05 20:06:27,276 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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 = 2.473/2.994/3.516/0.521 ms')
2025-11-05 20:06:27,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12406248-90352199 passed
2025-11-05 20:06:27,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 20:06:27,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12406248-90352199, IP 210.73.20.67, Port 22
2025-11-05 20:06:27,531 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-05 20:06:27,662 - DEBUG - VM ctest-TestRoutersBasic-12406248-90352199 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 20:06:32,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 20:06:32,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12406248-90352199, IP 210.73.20.67, Port 22
2025-11-05 20:06:32,864 - DEBUG - VM ctest-TestRoutersBasic-12406248-90352199 is ready for SSH connections
2025-11-05 20:06:32,864 - INFO - Waiting for VM ctest-TestRoutersBasic-12406248-58303444 to be up..
2025-11-05 20:06:33,010 - DEBUG - VM is in ACTIVE state now
2025-11-05 20:06:33,010 - INFO - VM name : ctest-TestRoutersBasic-12406248-58303444
2025-11-05 20:06:33,098 - DEBUG - VM ctest-TestRoutersBasic-12406248-58303444 ID is 38c09e99-5e5b-4975-a087-544ca86807ef
2025-11-05 20:06:33,098 - DEBUG - VM ctest-TestRoutersBasic-12406248-58303444 launched on Node cn-jenkins-deploy-platform-ansible-os-4655-1
2025-11-05 20:06:33,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/38c09e99-5e5b-4975-a087-544ca86807ef
2025-11-05 20:06:33,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a75a9197-926d-4fe0-8507-85e2206396e2
2025-11-05 20:06:34,475 - 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=7.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/3.912/7.380/3.468 ms')
2025-11-05 20:06:34,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12406248-58303444 passed
2025-11-05 20:06:34,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 20:06:34,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12406248-58303444, IP 147.252.188.195, Port 22
2025-11-05 20:06:34,835 - DEBUG - VM ctest-TestRoutersBasic-12406248-58303444 is ready for SSH connections
2025-11-05 20:06:34,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 20:06:34,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.252.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-05 20:06:34,836 - DEBUG - ping -s 56 -c 3 -W 1 147.252.188.195
2025-11-05 20:06:38,921 - DEBUG - PING 147.252.188.195 (147.252.188.195): 56 data bytes
64 bytes from 147.252.188.195: seq=0 ttl=62 time=5.815 ms
64 bytes from 147.252.188.195: seq=1 ttl=62 time=1.410 ms
64 bytes from 147.252.188.195: seq=2 ttl=62 time=1.674 ms
--- 147.252.188.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.410/2.966/5.815 ms
2025-11-05 20:06:38,921 - INFO - Ping to IP 147.252.188.195 from VM ctest-TestRoutersBasic-12406248-90352199 passed
2025-11-05 20:06:38,922 - INFO - Deleting interface with subnet_id bc9e4cdd-c1a3-4918-a582-7c29f3ea991f, port_id None from router 937764b6-7c12-41e9-b7d0-ba7c04ab9556
2025-11-05 20:06:39,211 - INFO - Deleting VM ctest-TestRoutersBasic-12406248-58303444
2025-11-05 20:06:39,290 - INFO - Deleting VM ctest-TestRoutersBasic-12406248-90352199
2025-11-05 20:06:39,369 - INFO - Deleting VN ctest-ext_vn-22880013
2025-11-05 20:06:39,438 - DEBUG - VN 39c7c3af-4b0b-4536-adcd-8c7f305ef44f still in use: Unable to complete operation on network 39c7c3af-4b0b-4536-adcd-8c7f305ef44f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fa62c7d7-ff30-4d84-a825-55fcf21cfcca']
2025-11-05 20:06:39,439 - WARNING - Deleting VN ctest-ext_vn-22880013 failed..Will retry
2025-11-05 20:06:41,620 - DEBUG - Response for deleting network ()
2025-11-05 20:06:41,620 - INFO - Deleting VN ctest-vn-80304548
2025-11-05 20:06:41,747 - DEBUG - Response for deleting network ()
2025-11-05 20:06:42,054 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 20:06:42,054 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-11-05 20:06:42,054 - INFO - --------------------------------------------------------------------------------
2025-11-05 20:06:42,890 - INFO - Deleted project: ctest-TestRoutersBasic-12406248, ID : 7875143c-0878-43cd-8560-118fd08a09b8