2025-04-17 02:27:46,603 - INFO - Domain Default found not creating
2025-04-17 02:27:46,743 - INFO - Project ctest-TestRoutersBasic-16402714 not found, creating it
2025-04-17 02:27:47,196 - INFO - Created Project:ctest-TestRoutersBasic-16402714, ID : d3e66669-a1a5-4ba8-99fa-97de384fc14a
2025-04-17 02:27:48,579 - INFO - ================================================================================
2025-04-17 02:27:48,580 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-17 02:27:48,580 - 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-04-17 02:27:48,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with
2025-04-17 02:27:48,836 - INFO - Initial checks done. Running the testcase now
2025-04-17 02:27:48,836 - INFO -
2025-04-17 02:27:49,527 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16402714
2025-04-17 02:27:49,625 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16402714
2025-04-17 02:27:49,949 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16402714', 'default']}
2025-04-17 02:27:50,242 - DEBUG - Response for create_network : {'network': {'id': '19550a5a-5bef-487f-97e9-01b00240e35c', 'name': 'ctest-vn-21369006', 'tenant_id': 'd3e66669a1a54ba899fa97de384fc14a', 'project_id': 'd3e66669a1a54ba899fa97de384fc14a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16402714', 'ctest-vn-21369006'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 02:27:50,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '351a1f8e-88ba-4566-a61c-517050b2bfdf', 'name': '', 'tenant_id': 'd3e66669a1a54ba899fa97de384fc14a', 'network_id': '19550a5a-5bef-487f-97e9-01b00240e35c', 'ip_version': 4, 'cidr': '211.185.56.128/26', 'allocation_pools': [{'start': '211.185.56.130', 'end': '211.185.56.190'}], 'gateway_ip': '211.185.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.185.56.130', 'tags': [], 'project_id': 'd3e66669a1a54ba899fa97de384fc14a'}}
2025-04-17 02:27:50,409 - INFO - Created VN ctest-vn-21369006
2025-04-17 02:27:50,461 - DEBUG - VN ctest-vn-21369006 UUID is 19550a5a-5bef-487f-97e9-01b00240e35c
2025-04-17 02:27:50,839 - DEBUG - Response for create_network : {'network': {'id': '6b059f33-9a95-4e11-9116-137d513516d1', 'name': 'ctest-ext_vn-96363964', 'tenant_id': 'd3e66669a1a54ba899fa97de384fc14a', 'project_id': 'd3e66669a1a54ba899fa97de384fc14a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16402714', 'ctest-ext_vn-96363964'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 02:27:51,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '445d63d6-dc2b-4756-bd27-9870fe974231', 'name': '', 'tenant_id': 'd3e66669a1a54ba899fa97de384fc14a', 'network_id': '6b059f33-9a95-4e11-9116-137d513516d1', 'ip_version': 4, 'cidr': '33.237.225.192/26', 'allocation_pools': [{'start': '33.237.225.194', 'end': '33.237.225.254'}], 'gateway_ip': '33.237.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.237.225.194', 'tags': [], 'project_id': 'd3e66669a1a54ba899fa97de384fc14a'}}
2025-04-17 02:27:51,068 - INFO - Created VN ctest-ext_vn-96363964
2025-04-17 02:27:51,121 - DEBUG - VN ctest-ext_vn-96363964 UUID is 6b059f33-9a95-4e11-9116-137d513516d1
2025-04-17 02:27:51,322 - DEBUG - Services list from nova: [, , ]
2025-04-17 02:27:52,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1)
2025-04-17 02:27:53,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1)
2025-04-17 02:27:53,518 - INFO - Setting gateway for router dd2bfa38-a314-4610-90a4-b4e79f568064 to network 6b059f33-9a95-4e11-9116-137d513516d1
2025-04-17 02:27:53,599 - INFO - Adding interface with subnet_id 351a1f8e-88ba-4566-a61c-517050b2bfdf, port_id None to router dd2bfa38-a314-4610-90a4-b4e79f568064
2025-04-17 02:27:53,995 - INFO - Waiting for VM ctest-TestRoutersBasic-16402714-31419029 to be up..
2025-04-17 02:27:54,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-17 02:27:59,258 - DEBUG - VM is in ACTIVE state now
2025-04-17 02:27:59,258 - INFO - VM name : ctest-TestRoutersBasic-16402714-31419029
2025-04-17 02:27:59,331 - DEBUG - VM ctest-TestRoutersBasic-16402714-31419029 ID is 5a685676-815e-4585-9adf-5641050b2a78
2025-04-17 02:27:59,352 - DEBUG - VM ctest-TestRoutersBasic-16402714-31419029 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1
2025-04-17 02:27:59,438 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5a685676-815e-4585-9adf-5641050b2a78
2025-04-17 02:27:59,743 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5a685676-815e-4585-9adf-5641050b2a78
2025-04-17 02:27:59,771 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ec9ef59e-9f59-44a9-8522-c570901cb542
2025-04-17 02:28:03,031 - 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 1025ms')
2025-04-17 02:28:03,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16402714-31419029 failed!
2025-04-17 02:28:03,089 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16402714:ctest-vn-21369006 is 211.185.56.129 and allocation pool is NOT set
2025-04-17 02:28:05,149 - 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=4.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/2.366/4.290/1.924 ms')
2025-04-17 02:28:05,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16402714-31419029 passed
2025-04-17 02:28:05,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 02:28:05,298 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16402714-31419029, IP 211.185.56.131, Port 22
2025-04-17 02:28:05,449 - DEBUG - VM ctest-TestRoutersBasic-16402714-31419029 is ready for SSH connections
2025-04-17 02:28:05,449 - INFO - Waiting for VM ctest-TestRoutersBasic-16402714-33892367 to be up..
2025-04-17 02:28:05,518 - DEBUG - VM is in ACTIVE state now
2025-04-17 02:28:05,518 - INFO - VM name : ctest-TestRoutersBasic-16402714-33892367
2025-04-17 02:28:05,589 - DEBUG - VM ctest-TestRoutersBasic-16402714-33892367 ID is cfb3c4a1-ca8a-4b13-998a-c571bc760565
2025-04-17 02:28:05,589 - DEBUG - VM ctest-TestRoutersBasic-16402714-33892367 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1
2025-04-17 02:28:05,659 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cfb3c4a1-ca8a-4b13-998a-c571bc760565
2025-04-17 02:28:05,667 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ed69ff58-d2a0-42d5-98dd-1d52c274093a
2025-04-17 02:28:06,909 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.244 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.244/2.051/3.858/1.807 ms')
2025-04-17 02:28:06,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16402714-33892367 passed
2025-04-17 02:28:07,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 02:28:07,066 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16402714-33892367, IP 33.237.225.195, Port 22
2025-04-17 02:28:07,221 - DEBUG - VM ctest-TestRoutersBasic-16402714-33892367 is ready for SSH connections
2025-04-17 02:28:07,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 02:28:07,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.237.225.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-04-17 02:28:07,221 - DEBUG - ping -s 56 -c 3 -W 1 33.237.225.195
2025-04-17 02:28:10,887 - DEBUG - PING 33.237.225.195 (33.237.225.195): 56 data bytes
64 bytes from 33.237.225.195: seq=0 ttl=62 time=6.197 ms
64 bytes from 33.237.225.195: seq=1 ttl=62 time=0.960 ms
64 bytes from 33.237.225.195: seq=2 ttl=62 time=1.115 ms
--- 33.237.225.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.960/2.757/6.197 ms
2025-04-17 02:28:10,887 - INFO - Ping to IP 33.237.225.195 from VM ctest-TestRoutersBasic-16402714-31419029 passed
2025-04-17 02:28:10,887 - INFO - Deleting interface with subnet_id 351a1f8e-88ba-4566-a61c-517050b2bfdf, port_id None from router dd2bfa38-a314-4610-90a4-b4e79f568064
2025-04-17 02:28:11,071 - INFO - Deleting VM ctest-TestRoutersBasic-16402714-33892367
2025-04-17 02:28:11,130 - INFO - Deleting VM ctest-TestRoutersBasic-16402714-31419029
2025-04-17 02:28:11,198 - INFO - Deleting VN ctest-ext_vn-96363964
2025-04-17 02:28:11,280 - DEBUG - VN 6b059f33-9a95-4e11-9116-137d513516d1 still in use: Unable to complete operation on network 6b059f33-9a95-4e11-9116-137d513516d1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7e3eded1-3560-4327-8c26-63a799add4eb']
2025-04-17 02:28:11,280 - WARNING - Deleting VN ctest-ext_vn-96363964 failed..Will retry
2025-04-17 02:28:13,380 - DEBUG - Response for deleting network ()
2025-04-17 02:28:13,380 - INFO - Deleting VN ctest-vn-21369006
2025-04-17 02:28:13,480 - DEBUG - Response for deleting network ()
2025-04-17 02:28:13,735 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 02:28:13,735 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-17 02:28:13,735 - INFO - --------------------------------------------------------------------------------
2025-04-17 02:28:14,420 - INFO - Deleted project: ctest-TestRoutersBasic-16402714, ID : d3e66669-a1a5-4ba8-99fa-97de384fc14a