2025-01-04 17:10:40,240 - INFO - Domain Default found not creating
2025-01-04 17:10:40,402 - INFO - Project ctest-TestRoutersBasic-77363642 not found, creating it
2025-01-04 17:10:40,892 - INFO - Created Project:ctest-TestRoutersBasic-77363642, ID : 8df7bea8-42c4-4c23-b39e-cd7db73c0508
2025-01-04 17:10:42,492 - INFO - ================================================================================
2025-01-04 17:10:42,492 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-04 17:10:42,492 - 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-01-04 17:10:42,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with
2025-01-04 17:10:42,754 - INFO - Initial checks done. Running the testcase now
2025-01-04 17:10:42,755 - INFO -
2025-01-04 17:10:43,496 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77363642
2025-01-04 17:10:43,591 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77363642
2025-01-04 17:10:43,923 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77363642', 'default']}
2025-01-04 17:10:44,207 - DEBUG - Response for create_network : {'network': {'id': 'c066e883-f0d7-4fd1-b744-0a594f286fbd', 'name': 'ctest-vn-49923350', 'tenant_id': '8df7bea842c44c23b39ecd7db73c0508', 'project_id': '8df7bea842c44c23b39ecd7db73c0508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77363642', 'ctest-vn-49923350'], 'port_security_enabled': True, 'description': ''}}
2025-01-04 17:10:44,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cb462b7-6b1b-4efc-9adc-b906d700bf43', 'name': '', 'tenant_id': '8df7bea842c44c23b39ecd7db73c0508', 'network_id': 'c066e883-f0d7-4fd1-b744-0a594f286fbd', 'ip_version': 4, 'cidr': '44.87.141.128/26', 'allocation_pools': [{'start': '44.87.141.130', 'end': '44.87.141.190'}], 'gateway_ip': '44.87.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.87.141.130', 'tags': [], 'project_id': '8df7bea842c44c23b39ecd7db73c0508'}}
2025-01-04 17:10:44,391 - INFO - Created VN ctest-vn-49923350
2025-01-04 17:10:44,443 - DEBUG - VN ctest-vn-49923350 UUID is c066e883-f0d7-4fd1-b744-0a594f286fbd
2025-01-04 17:10:44,779 - DEBUG - Response for create_network : {'network': {'id': '290e695f-d71a-4905-aa12-66ae19f7c3cd', 'name': 'ctest-ext_vn-68518550', 'tenant_id': '8df7bea842c44c23b39ecd7db73c0508', 'project_id': '8df7bea842c44c23b39ecd7db73c0508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77363642', 'ctest-ext_vn-68518550'], 'port_security_enabled': True, 'description': ''}}
2025-01-04 17:10:44,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8a81fc2-3c02-4174-8b02-05df082c8c0a', 'name': '', 'tenant_id': '8df7bea842c44c23b39ecd7db73c0508', 'network_id': '290e695f-d71a-4905-aa12-66ae19f7c3cd', 'ip_version': 4, 'cidr': '194.86.6.64/26', 'allocation_pools': [{'start': '194.86.6.66', 'end': '194.86.6.126'}], 'gateway_ip': '194.86.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.86.6.66', 'tags': [], 'project_id': '8df7bea842c44c23b39ecd7db73c0508'}}
2025-01-04 17:10:44,996 - INFO - Created VN ctest-ext_vn-68518550
2025-01-04 17:10:45,047 - DEBUG - VN ctest-ext_vn-68518550 UUID is 290e695f-d71a-4905-aa12-66ae19f7c3cd
2025-01-04 17:10:45,243 - DEBUG - Services list from nova: [, , ]
2025-01-04 17:10:46,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1)
2025-01-04 17:10:47,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1)
2025-01-04 17:10:47,481 - INFO - Setting gateway for router b6c736d1-193c-4f0d-8e2e-b455f8da3f55 to network 290e695f-d71a-4905-aa12-66ae19f7c3cd
2025-01-04 17:10:47,558 - INFO - Adding interface with subnet_id 7cb462b7-6b1b-4efc-9adc-b906d700bf43, port_id None to router b6c736d1-193c-4f0d-8e2e-b455f8da3f55
2025-01-04 17:10:48,028 - INFO - Waiting for VM ctest-TestRoutersBasic-77363642-67897857 to be up..
2025-01-04 17:10:48,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-04 17:10:53,270 - DEBUG - VM is in ACTIVE state now
2025-01-04 17:10:53,270 - INFO - VM name : ctest-TestRoutersBasic-77363642-67897857
2025-01-04 17:10:53,346 - DEBUG - VM ctest-TestRoutersBasic-77363642-67897857 ID is e2e14fc9-14a9-4477-b4b0-28ddb43f606d
2025-01-04 17:10:53,362 - DEBUG - VM ctest-TestRoutersBasic-77363642-67897857 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1
2025-01-04 17:10:53,436 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e2e14fc9-14a9-4477-b4b0-28ddb43f606d
2025-01-04 17:10:53,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e2e14fc9-14a9-4477-b4b0-28ddb43f606d
2025-01-04 17:10:53,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c3f0d81d-1f2d-4c7d-b585-79a15241175f
2025-01-04 17:10:57,041 - 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=2 ttl=63 time=13.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 13.187/13.187/13.187/0.000 ms')
2025-01-04 17:10:57,041 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77363642-67897857 passed
2025-01-04 17:10:57,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 17:10:57,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77363642-67897857, IP 44.87.141.131, Port 22
2025-01-04 17:10:57,354 - DEBUG - VM ctest-TestRoutersBasic-77363642-67897857 is ready for SSH connections
2025-01-04 17:10:57,354 - INFO - Waiting for VM ctest-TestRoutersBasic-77363642-60804540 to be up..
2025-01-04 17:10:57,430 - DEBUG - VM is in ACTIVE state now
2025-01-04 17:10:57,430 - INFO - VM name : ctest-TestRoutersBasic-77363642-60804540
2025-01-04 17:10:57,498 - DEBUG - VM ctest-TestRoutersBasic-77363642-60804540 ID is bcb072ff-c84d-4242-b12b-33192d3ee9aa
2025-01-04 17:10:57,499 - DEBUG - VM ctest-TestRoutersBasic-77363642-60804540 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1
2025-01-04 17:10:57,571 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bcb072ff-c84d-4242-b12b-33192d3ee9aa
2025-01-04 17:10:57,581 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/53a36e40-81ca-4142-a88d-65f4f5a28f05
2025-01-04 17:10:58,824 - 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=5.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.791 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.791/3.310/5.829/2.519 ms')
2025-01-04 17:10:58,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77363642-60804540 passed
2025-01-04 17:10:58,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 17:10:58,976 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77363642-60804540, IP 194.86.6.67, Port 22
2025-01-04 17:10:59,131 - DEBUG - VM ctest-TestRoutersBasic-77363642-60804540 is ready for SSH connections
2025-01-04 17:10:59,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 17:10:59,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.86.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-01-04 17:10:59,131 - DEBUG - ping -s 56 -c 3 -W 1 194.86.6.67
2025-01-04 17:11:02,803 - DEBUG - PING 194.86.6.67 (194.86.6.67): 56 data bytes
64 bytes from 194.86.6.67: seq=0 ttl=62 time=5.613 ms
64 bytes from 194.86.6.67: seq=1 ttl=62 time=1.238 ms
64 bytes from 194.86.6.67: seq=2 ttl=62 time=1.249 ms
--- 194.86.6.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.238/2.700/5.613 ms
2025-01-04 17:11:02,803 - INFO - Ping to IP 194.86.6.67 from VM ctest-TestRoutersBasic-77363642-67897857 passed
2025-01-04 17:11:02,803 - INFO - Deleting interface with subnet_id 7cb462b7-6b1b-4efc-9adc-b906d700bf43, port_id None from router b6c736d1-193c-4f0d-8e2e-b455f8da3f55
2025-01-04 17:11:02,997 - INFO - Deleting VM ctest-TestRoutersBasic-77363642-60804540
2025-01-04 17:11:03,067 - INFO - Deleting VM ctest-TestRoutersBasic-77363642-67897857
2025-01-04 17:11:03,139 - INFO - Deleting VN ctest-ext_vn-68518550
2025-01-04 17:11:03,201 - DEBUG - VN 290e695f-d71a-4905-aa12-66ae19f7c3cd still in use: Unable to complete operation on network 290e695f-d71a-4905-aa12-66ae19f7c3cd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-29d08802-af29-4447-8c5a-99298882918a']
2025-01-04 17:11:03,201 - WARNING - Deleting VN ctest-ext_vn-68518550 failed..Will retry
2025-01-04 17:11:05,301 - DEBUG - Response for deleting network ()
2025-01-04 17:11:05,301 - INFO - Deleting VN ctest-vn-49923350
2025-01-04 17:11:05,402 - DEBUG - Response for deleting network ()
2025-01-04 17:11:05,656 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 17:11:05,656 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-01-04 17:11:05,656 - INFO - --------------------------------------------------------------------------------
2025-01-04 17:11:06,338 - INFO - Deleted project: ctest-TestRoutersBasic-77363642, ID : 8df7bea8-42c4-4c23-b39e-cd7db73c0508