2025-05-08 02:34:34,585 - INFO - Domain Default found not creating
2025-05-08 02:34:34,953 - INFO - Project ctest-TestRoutersBasic-70467273 not found, creating it
2025-05-08 02:34:35,722 - INFO - Created Project:ctest-TestRoutersBasic-70467273, ID : 8e7ef05d-8038-470b-9cfb-ac3c21e68178
2025-05-08 02:34:38,134 - INFO - ================================================================================
2025-05-08 02:34:38,134 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-08 02:34:38,134 - 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-05-08 02:34:38,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with
2025-05-08 02:34:38,450 - INFO - Initial checks done. Running the testcase now
2025-05-08 02:34:38,450 - INFO -
2025-05-08 02:34:39,402 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70467273
2025-05-08 02:34:39,523 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70467273
2025-05-08 02:34:39,942 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70467273', 'default']}
2025-05-08 02:34:40,431 - DEBUG - Response for create_network : {'network': {'id': '55dcc92c-3e4e-4a88-94c2-4341967408ad', 'name': 'ctest-vn-54124193', 'tenant_id': '8e7ef05d8038470b9cfbac3c21e68178', 'project_id': '8e7ef05d8038470b9cfbac3c21e68178', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70467273', 'ctest-vn-54124193'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 02:34:40,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a116259-b039-47dc-8889-a9112413b285', 'name': '', 'tenant_id': '8e7ef05d8038470b9cfbac3c21e68178', 'network_id': '55dcc92c-3e4e-4a88-94c2-4341967408ad', 'ip_version': 4, 'cidr': '222.19.247.64/26', 'allocation_pools': [{'start': '222.19.247.66', 'end': '222.19.247.126'}], 'gateway_ip': '222.19.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.19.247.66', 'tags': [], 'project_id': '8e7ef05d8038470b9cfbac3c21e68178'}}
2025-05-08 02:34:40,643 - INFO - Created VN ctest-vn-54124193
2025-05-08 02:34:40,698 - DEBUG - VN ctest-vn-54124193 UUID is 55dcc92c-3e4e-4a88-94c2-4341967408ad
2025-05-08 02:34:41,344 - DEBUG - Response for create_network : {'network': {'id': '9e43838a-fd45-4a3c-99df-f1316d35c1d1', 'name': 'ctest-ext_vn-48364457', 'tenant_id': '8e7ef05d8038470b9cfbac3c21e68178', 'project_id': '8e7ef05d8038470b9cfbac3c21e68178', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70467273', 'ctest-ext_vn-48364457'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 02:34:41,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '848b21f5-d6ba-48ba-a6b3-ca9474057da5', 'name': '', 'tenant_id': '8e7ef05d8038470b9cfbac3c21e68178', 'network_id': '9e43838a-fd45-4a3c-99df-f1316d35c1d1', 'ip_version': 4, 'cidr': '210.26.223.128/26', 'allocation_pools': [{'start': '210.26.223.130', 'end': '210.26.223.190'}], 'gateway_ip': '210.26.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.26.223.130', 'tags': [], 'project_id': '8e7ef05d8038470b9cfbac3c21e68178'}}
2025-05-08 02:34:41,620 - INFO - Created VN ctest-ext_vn-48364457
2025-05-08 02:34:41,674 - DEBUG - VN ctest-ext_vn-48364457 UUID is 9e43838a-fd45-4a3c-99df-f1316d35c1d1
2025-05-08 02:34:41,944 - DEBUG - Services list from nova: [, , ]
2025-05-08 02:34:43,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3287-1)
2025-05-08 02:34:44,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3287-1)
2025-05-08 02:34:44,887 - INFO - Setting gateway for router f4042830-2d99-4392-a168-394553b116d5 to network 9e43838a-fd45-4a3c-99df-f1316d35c1d1
2025-05-08 02:34:44,941 - INFO - Adding interface with subnet_id 1a116259-b039-47dc-8889-a9112413b285, port_id None to router f4042830-2d99-4392-a168-394553b116d5
2025-05-08 02:34:45,239 - INFO - Waiting for VM ctest-TestRoutersBasic-70467273-99108016 to be up..
2025-05-08 02:34:45,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-08 02:34:50,519 - DEBUG - VM is in ACTIVE state now
2025-05-08 02:34:50,519 - INFO - VM name : ctest-TestRoutersBasic-70467273-99108016
2025-05-08 02:34:50,693 - DEBUG - VM ctest-TestRoutersBasic-70467273-99108016 ID is 8174792a-0afa-422b-bc5f-c3a0289c1364
2025-05-08 02:34:50,743 - DEBUG - VM ctest-TestRoutersBasic-70467273-99108016 launched on Node cn-jenkins-deploy-platform-ansible-os-3287-1
2025-05-08 02:34:50,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8174792a-0afa-422b-bc5f-c3a0289c1364
2025-05-08 02:34:51,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8174792a-0afa-422b-bc5f-c3a0289c1364
2025-05-08 02:34:51,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/58a5bb82-2932-45d3-8d1c-2d88ff5895f7
2025-05-08 02:34:54,688 - 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 1031ms')
2025-05-08 02:34:54,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70467273-99108016 failed!
2025-05-08 02:34:54,771 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70467273:ctest-vn-54124193 is 222.19.247.65 and allocation pool is NOT set
2025-05-08 02:34:56,851 - 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=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.50 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 = 3.498/6.441/9.385/2.943 ms')
2025-05-08 02:34:56,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70467273-99108016 passed
2025-05-08 02:34:57,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 02:34:57,051 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70467273-99108016, IP 222.19.247.67, Port 22
2025-05-08 02:34:57,256 - DEBUG - VM ctest-TestRoutersBasic-70467273-99108016 is ready for SSH connections
2025-05-08 02:34:57,257 - INFO - Waiting for VM ctest-TestRoutersBasic-70467273-15290281 to be up..
2025-05-08 02:34:57,420 - DEBUG - VM is in ACTIVE state now
2025-05-08 02:34:57,421 - INFO - VM name : ctest-TestRoutersBasic-70467273-15290281
2025-05-08 02:34:57,575 - DEBUG - VM ctest-TestRoutersBasic-70467273-15290281 ID is 22c8860d-e3d9-483b-92ee-627d7f1432ee
2025-05-08 02:34:57,575 - DEBUG - VM ctest-TestRoutersBasic-70467273-15290281 launched on Node cn-jenkins-deploy-platform-ansible-os-3287-1
2025-05-08 02:34:57,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/22c8860d-e3d9-483b-92ee-627d7f1432ee
2025-05-08 02:34:57,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/720ae320-c7bf-427a-b8a2-0a4bdb6edf30
2025-05-08 02:34:59,078 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.792 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.792/2.240/3.688/1.448 ms')
2025-05-08 02:34:59,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70467273-15290281 passed
2025-05-08 02:34:59,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 02:34:59,267 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70467273-15290281, IP 210.26.223.131, Port 22
2025-05-08 02:34:59,472 - DEBUG - VM ctest-TestRoutersBasic-70467273-15290281 is ready for SSH connections
2025-05-08 02:34:59,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 02:34:59,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.26.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-08 02:34:59,473 - DEBUG - ping -s 56 -c 3 -W 1 210.26.223.131
2025-05-08 02:35:03,549 - DEBUG - PING 210.26.223.131 (210.26.223.131): 56 data bytes
64 bytes from 210.26.223.131: seq=0 ttl=62 time=11.012 ms
64 bytes from 210.26.223.131: seq=1 ttl=62 time=1.817 ms
64 bytes from 210.26.223.131: seq=2 ttl=62 time=1.725 ms
--- 210.26.223.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.725/4.851/11.012 ms
2025-05-08 02:35:03,550 - INFO - Ping to IP 210.26.223.131 from VM ctest-TestRoutersBasic-70467273-99108016 passed
2025-05-08 02:35:03,550 - INFO - Deleting interface with subnet_id 1a116259-b039-47dc-8889-a9112413b285, port_id None from router f4042830-2d99-4392-a168-394553b116d5
2025-05-08 02:35:03,964 - INFO - Deleting VM ctest-TestRoutersBasic-70467273-15290281
2025-05-08 02:35:04,060 - INFO - Deleting VM ctest-TestRoutersBasic-70467273-99108016
2025-05-08 02:35:04,159 - INFO - Deleting VN ctest-ext_vn-48364457
2025-05-08 02:35:04,253 - DEBUG - VN 9e43838a-fd45-4a3c-99df-f1316d35c1d1 still in use: Unable to complete operation on network 9e43838a-fd45-4a3c-99df-f1316d35c1d1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e5929e73-e7d2-4fe8-a5a3-e22d214a17c0']
2025-05-08 02:35:04,253 - WARNING - Deleting VN ctest-ext_vn-48364457 failed..Will retry
2025-05-08 02:35:06,525 - DEBUG - Response for deleting network ()
2025-05-08 02:35:06,525 - INFO - Deleting VN ctest-vn-54124193
2025-05-08 02:35:06,665 - DEBUG - Response for deleting network ()
2025-05-08 02:35:06,970 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 02:35:06,970 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-05-08 02:35:06,971 - INFO - --------------------------------------------------------------------------------
2025-05-08 02:35:07,948 - INFO - Deleted project: ctest-TestRoutersBasic-70467273, ID : 8e7ef05d-8038-470b-9cfb-ac3c21e68178