2025-05-03 13:37:46,026 - INFO - Domain Default found not creating
2025-05-03 13:37:46,144 - INFO - Project ctest-TestRoutersBasic-16524746 not found, creating it
2025-05-03 13:37:46,610 - INFO - Created Project:ctest-TestRoutersBasic-16524746, ID : f085758e-f42d-46f8-bc90-812b6f0883d5
2025-05-03 13:37:47,950 - INFO - ================================================================================
2025-05-03 13:37:47,950 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-03 13:37:47,950 - 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-03 13:37:48,207 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-03 13:37:48,207 - INFO - Initial checks done. Running the testcase now
2025-05-03 13:37:48,207 - INFO -
2025-05-03 13:37:48,888 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16524746
2025-05-03 13:37:48,982 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16524746
2025-05-03 13:37:49,302 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16524746', 'default']}
2025-05-03 13:37:49,580 - DEBUG - Response for create_network : {'network': {'id': 'c42c3050-44cd-4e1b-896e-5cb3079667c5', 'name': 'ctest-vn-86400279', 'tenant_id': 'f085758ef42d46f8bc90812b6f0883d5', 'project_id': 'f085758ef42d46f8bc90812b6f0883d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16524746', 'ctest-vn-86400279'], 'port_security_enabled': True, 'description': ''}}
2025-05-03 13:37:49,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d7e71dd-d158-454a-acad-416685d5df86', 'name': '', 'tenant_id': 'f085758ef42d46f8bc90812b6f0883d5', 'network_id': 'c42c3050-44cd-4e1b-896e-5cb3079667c5', 'ip_version': 4, 'cidr': '136.245.89.128/26', 'allocation_pools': [{'start': '136.245.89.130', 'end': '136.245.89.190'}], 'gateway_ip': '136.245.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.245.89.130', 'tags': [], 'project_id': 'f085758ef42d46f8bc90812b6f0883d5'}}
2025-05-03 13:37:49,755 - INFO - Created VN ctest-vn-86400279
2025-05-03 13:37:49,806 - DEBUG - VN ctest-vn-86400279 UUID is c42c3050-44cd-4e1b-896e-5cb3079667c5
2025-05-03 13:37:50,136 - DEBUG - Response for create_network : {'network': {'id': '3957e927-9e0b-4d5e-9d17-7911927a0a5e', 'name': 'ctest-ext_vn-28820645', 'tenant_id': 'f085758ef42d46f8bc90812b6f0883d5', 'project_id': 'f085758ef42d46f8bc90812b6f0883d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16524746', 'ctest-ext_vn-28820645'], 'port_security_enabled': True, 'description': ''}}
2025-05-03 13:37:50,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8df1f3b-ae3e-4daa-aadc-ddd5e1f576ba', 'name': '', 'tenant_id': 'f085758ef42d46f8bc90812b6f0883d5', 'network_id': '3957e927-9e0b-4d5e-9d17-7911927a0a5e', 'ip_version': 4, 'cidr': '45.153.228.128/26', 'allocation_pools': [{'start': '45.153.228.130', 'end': '45.153.228.190'}], 'gateway_ip': '45.153.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.153.228.130', 'tags': [], 'project_id': 'f085758ef42d46f8bc90812b6f0883d5'}}
2025-05-03 13:37:50,285 - INFO - Created VN ctest-ext_vn-28820645
2025-05-03 13:37:50,338 - DEBUG - VN ctest-ext_vn-28820645 UUID is 3957e927-9e0b-4d5e-9d17-7911927a0a5e
2025-05-03 13:37:50,531 - DEBUG - Services list from nova: [, , ]
2025-05-03 13:37:51,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1)
2025-05-03 13:37:52,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1)
2025-05-03 13:37:52,796 - INFO - Setting gateway for router 2ca72320-3fd4-47ab-a5a5-948576d07210 to network 3957e927-9e0b-4d5e-9d17-7911927a0a5e
2025-05-03 13:37:52,852 - INFO - Adding interface with subnet_id 8d7e71dd-d158-454a-acad-416685d5df86, port_id None to router 2ca72320-3fd4-47ab-a5a5-948576d07210
2025-05-03 13:37:53,275 - INFO - Waiting for VM ctest-TestRoutersBasic-16524746-04953758 to be up..
2025-05-03 13:37:53,389 - DEBUG - VM is in ACTIVE state now
2025-05-03 13:37:53,389 - INFO - VM name : ctest-TestRoutersBasic-16524746-04953758
2025-05-03 13:37:53,511 - DEBUG - VM ctest-TestRoutersBasic-16524746-04953758 ID is 50624f7b-d024-484a-b37d-e84c575b4e49
2025-05-03 13:37:53,530 - DEBUG - VM ctest-TestRoutersBasic-16524746-04953758 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1
2025-05-03 13:37:53,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50624f7b-d024-484a-b37d-e84c575b4e49
2025-05-03 13:37:53,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50624f7b-d024-484a-b37d-e84c575b4e49
2025-05-03 13:37:53,986 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/58581457-7b9e-4442-a466-5efcaa8beff3
2025-05-03 13:37:57,272 - 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-05-03 13:37:57,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16524746-04953758 failed!
2025-05-03 13:37:57,326 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16524746:ctest-vn-86400279 is 136.245.89.129 and allocation pool is NOT set
2025-05-03 13:38:01,399 - 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 1007ms')
2025-05-03 13:38:01,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16524746-04953758 failed!
2025-05-03 13:38:01,454 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16524746:ctest-vn-86400279 is 136.245.89.129 and allocation pool is NOT set
2025-05-03 13:38:03,514 - 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=3.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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 = 1.807/2.811/3.815/1.004 ms')
2025-05-03 13:38:03,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16524746-04953758 passed
2025-05-03 13:38:03,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-03 13:38:03,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16524746-04953758, IP 136.245.89.131, Port 22
2025-05-03 13:38:03,822 - DEBUG - VM ctest-TestRoutersBasic-16524746-04953758 is ready for SSH connections
2025-05-03 13:38:03,822 - INFO - Waiting for VM ctest-TestRoutersBasic-16524746-50212372 to be up..
2025-05-03 13:38:03,893 - DEBUG - VM is in ACTIVE state now
2025-05-03 13:38:03,893 - INFO - VM name : ctest-TestRoutersBasic-16524746-50212372
2025-05-03 13:38:03,957 - DEBUG - VM ctest-TestRoutersBasic-16524746-50212372 ID is 653689d6-96e4-4924-b497-5a7c2142a894
2025-05-03 13:38:03,958 - DEBUG - VM ctest-TestRoutersBasic-16524746-50212372 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1
2025-05-03 13:38:04,025 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/653689d6-96e4-4924-b497-5a7c2142a894
2025-05-03 13:38:04,033 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/74854281-1674-455a-9c06-a3411bcd923f
2025-05-03 13:38:05,270 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.725 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.725/2.282/3.840/1.557 ms')
2025-05-03 13:38:05,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16524746-50212372 passed
2025-05-03 13:38:05,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-03 13:38:05,426 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16524746-50212372, IP 45.153.228.131, Port 22
2025-05-03 13:38:05,581 - DEBUG - VM ctest-TestRoutersBasic-16524746-50212372 is ready for SSH connections
2025-05-03 13:38:05,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-03 13:38:05,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.153.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-03 13:38:05,582 - DEBUG - ping -s 56 -c 3 -W 1 45.153.228.131
2025-05-03 13:38:09,408 - DEBUG - PING 45.153.228.131 (45.153.228.131): 56 data bytes
64 bytes from 45.153.228.131: seq=0 ttl=62 time=7.393 ms
64 bytes from 45.153.228.131: seq=1 ttl=62 time=0.831 ms
64 bytes from 45.153.228.131: seq=2 ttl=62 time=0.818 ms
--- 45.153.228.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.818/3.014/7.393 ms
2025-05-03 13:38:09,408 - INFO - Ping to IP 45.153.228.131 from VM ctest-TestRoutersBasic-16524746-04953758 passed
2025-05-03 13:38:09,408 - INFO - Deleting interface with subnet_id 8d7e71dd-d158-454a-acad-416685d5df86, port_id None from router 2ca72320-3fd4-47ab-a5a5-948576d07210
2025-05-03 13:38:09,584 - INFO - Deleting VM ctest-TestRoutersBasic-16524746-50212372
2025-05-03 13:38:09,640 - INFO - Deleting VM ctest-TestRoutersBasic-16524746-04953758
2025-05-03 13:38:09,704 - INFO - Deleting VN ctest-ext_vn-28820645
2025-05-03 13:38:09,777 - DEBUG - VN 3957e927-9e0b-4d5e-9d17-7911927a0a5e still in use: Unable to complete operation on network 3957e927-9e0b-4d5e-9d17-7911927a0a5e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-687ae4cd-b19f-49b0-9dfc-99268e141665']
2025-05-03 13:38:09,777 - WARNING - Deleting VN ctest-ext_vn-28820645 failed..Will retry
2025-05-03 13:38:11,866 - DEBUG - Response for deleting network ()
2025-05-03 13:38:11,866 - INFO - Deleting VN ctest-vn-86400279
2025-05-03 13:38:11,960 - DEBUG - Response for deleting network ()
2025-05-03 13:38:12,215 - DEBUG - No XMPP flaps were noticed during the test
2025-05-03 13:38:12,215 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-03 13:38:12,215 - INFO - --------------------------------------------------------------------------------
2025-05-03 13:38:12,864 - INFO - Deleted project: ctest-TestRoutersBasic-16524746, ID : f085758e-f42d-46f8-bc90-812b6f0883d5