2025-08-04 02:54:11,766 - INFO - Domain Default found not creating
2025-08-04 02:54:11,943 - INFO - Project ctest-TestRoutersBasic-98904514 not found, creating it
2025-08-04 02:54:12,511 - INFO - Created Project:ctest-TestRoutersBasic-98904514, ID : 322beb7f-9442-4e14-b05d-84e7c89c0ba1
2025-08-04 02:54:14,142 - INFO - ================================================================================
2025-08-04 02:54:14,142 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-04 02:54:14,142 - 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-08-04 02:54:15,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2025-08-04 02:54:15,428 - INFO - Initial checks done. Running the testcase now
2025-08-04 02:54:15,428 - INFO -
2025-08-04 02:54:16,194 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98904514
2025-08-04 02:54:16,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98904514
2025-08-04 02:54:16,576 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98904514', 'default']}
2025-08-04 02:54:17,072 - DEBUG - Response for create_network : {'network': {'id': '969aae7b-3874-415d-b786-dc2f77c64d6c', 'name': 'ctest-vn-83273843', 'tenant_id': '322beb7f94424e14b05d84e7c89c0ba1', 'project_id': '322beb7f94424e14b05d84e7c89c0ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98904514', 'ctest-vn-83273843'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:54:17,338 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a612bbc9-0e5c-49d4-85af-3cb725b38eee', 'name': '', 'tenant_id': '322beb7f94424e14b05d84e7c89c0ba1', 'network_id': '969aae7b-3874-415d-b786-dc2f77c64d6c', 'ip_version': 4, 'cidr': '118.8.111.192/26', 'allocation_pools': [{'start': '118.8.111.194', 'end': '118.8.111.254'}], 'gateway_ip': '118.8.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.8.111.194', 'tags': [], 'project_id': '322beb7f94424e14b05d84e7c89c0ba1'}}
2025-08-04 02:54:17,364 - INFO - Created VN ctest-vn-83273843
2025-08-04 02:54:17,378 - DEBUG - VN ctest-vn-83273843 UUID is 969aae7b-3874-415d-b786-dc2f77c64d6c
2025-08-04 02:54:17,825 - DEBUG - Response for create_network : {'network': {'id': 'e31f1ddd-9f75-433f-a4c9-2df664fecfb4', 'name': 'ctest-ext_vn-90729323', 'tenant_id': '322beb7f94424e14b05d84e7c89c0ba1', 'project_id': '322beb7f94424e14b05d84e7c89c0ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98904514', 'ctest-ext_vn-90729323'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:54:18,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5ecc6e5-34b0-41f8-ae7f-56239c9344fc', 'name': '', 'tenant_id': '322beb7f94424e14b05d84e7c89c0ba1', 'network_id': 'e31f1ddd-9f75-433f-a4c9-2df664fecfb4', 'ip_version': 4, 'cidr': '44.199.91.192/26', 'allocation_pools': [{'start': '44.199.91.194', 'end': '44.199.91.254'}], 'gateway_ip': '44.199.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.199.91.194', 'tags': [], 'project_id': '322beb7f94424e14b05d84e7c89c0ba1'}}
2025-08-04 02:54:18,154 - INFO - Created VN ctest-ext_vn-90729323
2025-08-04 02:54:18,169 - DEBUG - VN ctest-ext_vn-90729323 UUID is e31f1ddd-9f75-433f-a4c9-2df664fecfb4
2025-08-04 02:54:18,351 - DEBUG - Services list from nova: [, , , ]
2025-08-04 02:54:19,490 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:54:21,060 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:54:21,183 - INFO - Setting gateway for router 751dac8f-d853-4586-bd21-04e50deb1303 to network e31f1ddd-9f75-433f-a4c9-2df664fecfb4
2025-08-04 02:54:21,267 - INFO - Adding interface with subnet_id a612bbc9-0e5c-49d4-85af-3cb725b38eee, port_id None to router 751dac8f-d853-4586-bd21-04e50deb1303
2025-08-04 02:54:21,680 - INFO - Waiting for VM ctest-TestRoutersBasic-98904514-69096505 to be up..
2025-08-04 02:54:21,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:54:26,931 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:54:26,932 - INFO - VM name : ctest-TestRoutersBasic-98904514-69096505
2025-08-04 02:54:27,025 - DEBUG - VM ctest-TestRoutersBasic-98904514-69096505 ID is 2f53d35e-d9e2-48d7-933e-0cfe27cf41c3
2025-08-04 02:54:27,056 - DEBUG - VM ctest-TestRoutersBasic-98904514-69096505 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:54:27,146 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/2f53d35e-d9e2-48d7-933e-0cfe27cf41c3
2025-08-04 02:54:27,458 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/2f53d35e-d9e2-48d7-933e-0cfe27cf41c3
2025-08-04 02:54:27,497 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/e40eb66d-8a96-4e4a-9d5b-dd8a91197fcf
2025-08-04 02:54:30,746 - 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 1032ms')
2025-08-04 02:54:30,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98904514-69096505 failed!
2025-08-04 02:54:30,762 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98904514:ctest-vn-83273843 is 118.8.111.193 and allocation pool is NOT set
2025-08-04 02:54:32,821 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.761 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.761/3.046/5.331/2.285 ms')
2025-08-04 02:54:32,821 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98904514-69096505 passed
2025-08-04 02:54:32,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:54:32,944 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98904514-69096505, IP 118.8.111.195, Port 22
2025-08-04 02:54:33,100 - DEBUG - VM ctest-TestRoutersBasic-98904514-69096505 is ready for SSH connections
2025-08-04 02:54:33,100 - INFO - Waiting for VM ctest-TestRoutersBasic-98904514-70937479 to be up..
2025-08-04 02:54:33,195 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:54:33,195 - INFO - VM name : ctest-TestRoutersBasic-98904514-70937479
2025-08-04 02:54:33,284 - DEBUG - VM ctest-TestRoutersBasic-98904514-70937479 ID is 8770d2df-3df9-45ab-b6dd-321729e96cff
2025-08-04 02:54:33,284 - DEBUG - VM ctest-TestRoutersBasic-98904514-70937479 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1
2025-08-04 02:54:33,376 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/8770d2df-3df9-45ab-b6dd-321729e96cff
2025-08-04 02:54:33,394 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/a7281e95-ed1b-440b-acb7-13efc1816b01
2025-08-04 02:54:34,622 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.101/4.503/5.906/1.402 ms')
2025-08-04 02:54:34,622 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98904514-70937479 passed
2025-08-04 02:54:34,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:54:34,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98904514-70937479, IP 44.199.91.195, Port 22
2025-08-04 02:54:34,927 - DEBUG - VM ctest-TestRoutersBasic-98904514-70937479 is ready for SSH connections
2025-08-04 02:54:34,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:54:34,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.199.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-04 02:54:34,927 - DEBUG - ping -s 56 -c 3 -W 1 44.199.91.195
2025-08-04 02:54:38,831 - DEBUG - PING 44.199.91.195 (44.199.91.195): 56 data bytes
64 bytes from 44.199.91.195: seq=0 ttl=62 time=10.323 ms
64 bytes from 44.199.91.195: seq=1 ttl=62 time=1.152 ms
64 bytes from 44.199.91.195: seq=2 ttl=62 time=1.369 ms
--- 44.199.91.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.152/4.281/10.323 ms
2025-08-04 02:54:38,832 - INFO - Ping to IP 44.199.91.195 from VM ctest-TestRoutersBasic-98904514-69096505 passed
2025-08-04 02:54:38,832 - INFO - Deleting interface with subnet_id a612bbc9-0e5c-49d4-85af-3cb725b38eee, port_id None from router 751dac8f-d853-4586-bd21-04e50deb1303
2025-08-04 02:54:39,197 - INFO - Deleting VM ctest-TestRoutersBasic-98904514-70937479
2025-08-04 02:54:39,278 - INFO - Deleting VM ctest-TestRoutersBasic-98904514-69096505
2025-08-04 02:54:39,384 - INFO - Deleting VN ctest-ext_vn-90729323
2025-08-04 02:54:39,516 - DEBUG - VN e31f1ddd-9f75-433f-a4c9-2df664fecfb4 still in use: Unable to complete operation on network e31f1ddd-9f75-433f-a4c9-2df664fecfb4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-487985f8-f29a-4672-8840-ac37bd33ae0e']
2025-08-04 02:54:39,516 - WARNING - Deleting VN ctest-ext_vn-90729323 failed..Will retry
2025-08-04 02:54:41,671 - DEBUG - Response for deleting network ()
2025-08-04 02:54:41,671 - INFO - Deleting VN ctest-vn-83273843
2025-08-04 02:54:41,857 - DEBUG - Response for deleting network ()
2025-08-04 02:54:43,136 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:54:43,136 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-08-04 02:54:43,136 - INFO - --------------------------------------------------------------------------------
2025-08-04 02:54:43,949 - INFO - Deleted project: ctest-TestRoutersBasic-98904514, ID : 322beb7f-9442-4e14-b05d-84e7c89c0ba1