2025-05-07 09:07:34,984 - INFO - Domain Default found not creating
2025-05-07 09:07:35,356 - INFO - Project ctest-TestRoutersBasic-80538815 not found, creating it
2025-05-07 09:07:36,346 - INFO - Created Project:ctest-TestRoutersBasic-80538815, ID : d589a1f9-c37d-45fb-a078-dccca6dc2642
2025-05-07 09:07:38,757 - INFO - ================================================================================
2025-05-07 09:07:38,758 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-07 09:07:38,758 - 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-07 09:07:39,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-05-07 09:07:39,081 - INFO - Initial checks done. Running the testcase now
2025-05-07 09:07:39,082 - INFO -
2025-05-07 09:07:40,014 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80538815
2025-05-07 09:07:40,136 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80538815
2025-05-07 09:07:40,595 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80538815', 'default']}
2025-05-07 09:07:41,108 - DEBUG - Response for create_network : {'network': {'id': '5b60f770-2ec2-4a4a-bed4-c7a391c83039', 'name': 'ctest-vn-74342994', 'tenant_id': 'd589a1f9c37d45fba078dccca6dc2642', 'project_id': 'd589a1f9c37d45fba078dccca6dc2642', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80538815', 'ctest-vn-74342994'], 'port_security_enabled': True, 'description': ''}}
2025-05-07 09:07:41,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e06b2a3-8c54-4608-b7c1-b6bbc0dd3b0b', 'name': '', 'tenant_id': 'd589a1f9c37d45fba078dccca6dc2642', 'network_id': '5b60f770-2ec2-4a4a-bed4-c7a391c83039', 'ip_version': 4, 'cidr': '170.221.163.64/26', 'allocation_pools': [{'start': '170.221.163.66', 'end': '170.221.163.126'}], 'gateway_ip': '170.221.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.221.163.66', 'tags': [], 'project_id': 'd589a1f9c37d45fba078dccca6dc2642'}}
2025-05-07 09:07:41,398 - INFO - Created VN ctest-vn-74342994
2025-05-07 09:07:41,459 - DEBUG - VN ctest-vn-74342994 UUID is 5b60f770-2ec2-4a4a-bed4-c7a391c83039
2025-05-07 09:07:41,971 - DEBUG - Response for create_network : {'network': {'id': 'f17066db-30bd-4129-9bd6-fa91ec344907', 'name': 'ctest-ext_vn-36959619', 'tenant_id': 'd589a1f9c37d45fba078dccca6dc2642', 'project_id': 'd589a1f9c37d45fba078dccca6dc2642', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80538815', 'ctest-ext_vn-36959619'], 'port_security_enabled': True, 'description': ''}}
2025-05-07 09:07:42,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '44ab6968-5d2b-4088-bf3c-106e6460fa90', 'name': '', 'tenant_id': 'd589a1f9c37d45fba078dccca6dc2642', 'network_id': 'f17066db-30bd-4129-9bd6-fa91ec344907', 'ip_version': 4, 'cidr': '155.127.40.64/26', 'allocation_pools': [{'start': '155.127.40.66', 'end': '155.127.40.126'}], 'gateway_ip': '155.127.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.127.40.66', 'tags': [], 'project_id': 'd589a1f9c37d45fba078dccca6dc2642'}}
2025-05-07 09:07:42,196 - INFO - Created VN ctest-ext_vn-36959619
2025-05-07 09:07:42,255 - DEBUG - VN ctest-ext_vn-36959619 UUID is f17066db-30bd-4129-9bd6-fa91ec344907
2025-05-07 09:07:42,512 - DEBUG - Services list from nova: [, , ]
2025-05-07 09:07:43,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3282-1)
2025-05-07 09:07:45,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3282-1)
2025-05-07 09:07:45,268 - INFO - Setting gateway for router 994d69e4-ece3-4057-9ead-2c0b00e70259 to network f17066db-30bd-4129-9bd6-fa91ec344907
2025-05-07 09:07:45,343 - INFO - Adding interface with subnet_id 7e06b2a3-8c54-4608-b7c1-b6bbc0dd3b0b, port_id None to router 994d69e4-ece3-4057-9ead-2c0b00e70259
2025-05-07 09:07:45,773 - INFO - Waiting for VM ctest-TestRoutersBasic-80538815-03616378 to be up..
2025-05-07 09:07:45,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-07 09:07:51,154 - DEBUG - VM is in ACTIVE state now
2025-05-07 09:07:51,154 - INFO - VM name : ctest-TestRoutersBasic-80538815-03616378
2025-05-07 09:07:51,320 - DEBUG - VM ctest-TestRoutersBasic-80538815-03616378 ID is 9df0afd2-737f-4f25-a60b-cfce2a476b45
2025-05-07 09:07:51,353 - DEBUG - VM ctest-TestRoutersBasic-80538815-03616378 launched on Node cn-jenkins-deploy-platform-ansible-os-3282-1
2025-05-07 09:07:51,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9df0afd2-737f-4f25-a60b-cfce2a476b45
2025-05-07 09:07:51,937 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9df0afd2-737f-4f25-a60b-cfce2a476b45
2025-05-07 09:07:51,996 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca7b861e-ca2e-4b6d-8c63-89fe0aa0cceb
2025-05-07 09:07:55,301 - 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 1023ms')
2025-05-07 09:07:55,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80538815-03616378 failed!
2025-05-07 09:07:55,364 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80538815:ctest-vn-74342994 is 170.221.163.65 and allocation pool is NOT set
2025-05-07 09:07:57,433 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 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.145/3.645/5.146/1.500 ms')
2025-05-07 09:07:57,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80538815-03616378 passed
2025-05-07 09:07:57,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 09:07:57,620 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80538815-03616378, IP 170.221.163.67, Port 22
2025-05-07 09:07:57,816 - DEBUG - VM ctest-TestRoutersBasic-80538815-03616378 is ready for SSH connections
2025-05-07 09:07:57,817 - INFO - Waiting for VM ctest-TestRoutersBasic-80538815-29738420 to be up..
2025-05-07 09:07:57,989 - DEBUG - VM is in ACTIVE state now
2025-05-07 09:07:57,990 - INFO - VM name : ctest-TestRoutersBasic-80538815-29738420
2025-05-07 09:07:58,130 - DEBUG - VM ctest-TestRoutersBasic-80538815-29738420 ID is b510b120-6bf0-4f09-8904-49520ba04c3c
2025-05-07 09:07:58,130 - DEBUG - VM ctest-TestRoutersBasic-80538815-29738420 launched on Node cn-jenkins-deploy-platform-ansible-os-3282-1
2025-05-07 09:07:58,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b510b120-6bf0-4f09-8904-49520ba04c3c
2025-05-07 09:07:58,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc77f334-06e9-4832-afe1-46d84f4628cf
2025-05-07 09:07:59,586 - 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=6.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=5.46 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 = 5.458/6.035/6.613/0.577 ms')
2025-05-07 09:07:59,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80538815-29738420 passed
2025-05-07 09:07:59,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 09:07:59,756 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80538815-29738420, IP 155.127.40.67, Port 22
2025-05-07 09:07:59,961 - DEBUG - VM ctest-TestRoutersBasic-80538815-29738420 is ready for SSH connections
2025-05-07 09:07:59,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 09:07:59,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.127.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-07 09:07:59,962 - DEBUG - ping -s 56 -c 3 -W 1 155.127.40.67
2025-05-07 09:08:04,020 - DEBUG - PING 155.127.40.67 (155.127.40.67): 56 data bytes
64 bytes from 155.127.40.67: seq=0 ttl=62 time=8.280 ms
64 bytes from 155.127.40.67: seq=1 ttl=62 time=1.517 ms
64 bytes from 155.127.40.67: seq=2 ttl=62 time=1.031 ms
--- 155.127.40.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.031/3.609/8.280 ms
2025-05-07 09:08:04,020 - INFO - Ping to IP 155.127.40.67 from VM ctest-TestRoutersBasic-80538815-03616378 passed
2025-05-07 09:08:04,020 - INFO - Deleting interface with subnet_id 7e06b2a3-8c54-4608-b7c1-b6bbc0dd3b0b, port_id None from router 994d69e4-ece3-4057-9ead-2c0b00e70259
2025-05-07 09:08:04,319 - INFO - Deleting VM ctest-TestRoutersBasic-80538815-29738420
2025-05-07 09:08:04,400 - INFO - Deleting VM ctest-TestRoutersBasic-80538815-03616378
2025-05-07 09:08:04,494 - INFO - Deleting VN ctest-ext_vn-36959619
2025-05-07 09:08:04,574 - DEBUG - VN f17066db-30bd-4129-9bd6-fa91ec344907 still in use: Unable to complete operation on network f17066db-30bd-4129-9bd6-fa91ec344907. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bb555ad3-fbee-4ff5-b834-cbacece88f10']
2025-05-07 09:08:04,575 - WARNING - Deleting VN ctest-ext_vn-36959619 failed..Will retry
2025-05-07 09:08:06,859 - DEBUG - Response for deleting network ()
2025-05-07 09:08:06,859 - INFO - Deleting VN ctest-vn-74342994
2025-05-07 09:08:07,019 - DEBUG - Response for deleting network ()
2025-05-07 09:08:07,329 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 09:08:07,330 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-05-07 09:08:07,330 - INFO - --------------------------------------------------------------------------------
2025-05-07 09:08:08,220 - INFO - Deleted project: ctest-TestRoutersBasic-80538815, ID : d589a1f9-c37d-45fb-a078-dccca6dc2642