2025-04-03 16:02:51,744 - INFO - Domain Default found not creating
2025-04-03 16:02:51,926 - INFO - Project ctest-TestRoutersBasic-43074523 not found, creating it
2025-04-03 16:02:52,428 - INFO - Created Project:ctest-TestRoutersBasic-43074523, ID : 1cfbd115-5862-4e28-86a9-06dc6b4fb43f
2025-04-03 16:02:54,155 - INFO - ================================================================================
2025-04-03 16:02:54,155 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-03 16:02:54,155 - 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-03 16:02:54,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with
2025-04-03 16:02:54,411 - INFO - Initial checks done. Running the testcase now
2025-04-03 16:02:54,411 - INFO -
2025-04-03 16:02:55,217 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43074523
2025-04-03 16:02:55,315 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43074523
2025-04-03 16:02:55,651 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43074523', 'default']}
2025-04-03 16:02:55,964 - DEBUG - Response for create_network : {'network': {'id': '11305ff4-6caf-48a5-befa-105ed8af1d03', 'name': 'ctest-vn-18597257', 'tenant_id': '1cfbd11558624e2886a906dc6b4fb43f', 'project_id': '1cfbd11558624e2886a906dc6b4fb43f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43074523', 'ctest-vn-18597257'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 16:02:56,124 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abf864a6-7228-4629-9d83-35bbe47219b5', 'name': '', 'tenant_id': '1cfbd11558624e2886a906dc6b4fb43f', 'network_id': '11305ff4-6caf-48a5-befa-105ed8af1d03', 'ip_version': 4, 'cidr': '79.65.128.0/26', 'allocation_pools': [{'start': '79.65.128.2', 'end': '79.65.128.62'}], 'gateway_ip': '79.65.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.65.128.2', 'tags': [], 'project_id': '1cfbd11558624e2886a906dc6b4fb43f'}}
2025-04-03 16:02:56,144 - INFO - Created VN ctest-vn-18597257
2025-04-03 16:02:56,199 - DEBUG - VN ctest-vn-18597257 UUID is 11305ff4-6caf-48a5-befa-105ed8af1d03
2025-04-03 16:02:56,554 - DEBUG - Response for create_network : {'network': {'id': '97931ebf-502c-46b3-b045-c4c7baf258e2', 'name': 'ctest-ext_vn-98597944', 'tenant_id': '1cfbd11558624e2886a906dc6b4fb43f', 'project_id': '1cfbd11558624e2886a906dc6b4fb43f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43074523', 'ctest-ext_vn-98597944'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 16:02:56,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '3eb6b0f8-8896-4694-947c-8d4dfa4df5b8', 'name': '', 'tenant_id': '1cfbd11558624e2886a906dc6b4fb43f', 'network_id': '97931ebf-502c-46b3-b045-c4c7baf258e2', 'ip_version': 4, 'cidr': '94.97.162.0/26', 'allocation_pools': [{'start': '94.97.162.2', 'end': '94.97.162.62'}], 'gateway_ip': '94.97.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.97.162.2', 'tags': [], 'project_id': '1cfbd11558624e2886a906dc6b4fb43f'}}
2025-04-03 16:02:56,832 - INFO - Created VN ctest-ext_vn-98597944
2025-04-03 16:02:56,887 - DEBUG - VN ctest-ext_vn-98597944 UUID is 97931ebf-502c-46b3-b045-c4c7baf258e2
2025-04-03 16:02:57,062 - DEBUG - Services list from nova: [, , ]
2025-04-03 16:02:58,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3027-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3027-1)
2025-04-03 16:02:59,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3027-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3027-1)
2025-04-03 16:02:59,707 - INFO - Setting gateway for router 82a1b64a-2674-4247-8795-45370867ea43 to network 97931ebf-502c-46b3-b045-c4c7baf258e2
2025-04-03 16:02:59,790 - INFO - Adding interface with subnet_id abf864a6-7228-4629-9d83-35bbe47219b5, port_id None to router 82a1b64a-2674-4247-8795-45370867ea43
2025-04-03 16:03:00,561 - INFO - Waiting for VM ctest-TestRoutersBasic-43074523-91153620 to be up..
2025-04-03 16:03:00,732 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:03:00,732 - INFO - VM name : ctest-TestRoutersBasic-43074523-91153620
2025-04-03 16:03:00,847 - DEBUG - VM ctest-TestRoutersBasic-43074523-91153620 ID is 2488f335-bac8-4b1d-bd9c-f72bf98a5f92
2025-04-03 16:03:00,871 - DEBUG - VM ctest-TestRoutersBasic-43074523-91153620 launched on Node cn-jenkins-deploy-platform-ansible-os-3027-1
2025-04-03 16:03:01,009 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2488f335-bac8-4b1d-bd9c-f72bf98a5f92
2025-04-03 16:03:01,373 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2488f335-bac8-4b1d-bd9c-f72bf98a5f92
2025-04-03 16:03:01,425 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/ba25bd2d-8949-4d34-a184-2a3e65e0ccf3
2025-04-03 16:03:04,728 - 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 1013ms')
2025-04-03 16:03:04,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43074523-91153620 failed!
2025-04-03 16:03:04,787 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43074523:ctest-vn-18597257 is 79.65.128.1 and allocation pool is NOT set
2025-04-03 16:03:08,859 - 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 1010ms')
2025-04-03 16:03:08,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43074523-91153620 failed!
2025-04-03 16:03:08,915 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43074523:ctest-vn-18597257 is 79.65.128.1 and allocation pool is NOT set
2025-04-03 16:03:10,979 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.21 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.213/3.214/3.215/0.001 ms')
2025-04-03 16:03:10,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43074523-91153620 passed
2025-04-03 16:03:11,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:03:11,135 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43074523-91153620, IP 79.65.128.3, Port 22
2025-04-03 16:03:11,301 - DEBUG - VM ctest-TestRoutersBasic-43074523-91153620 is ready for SSH connections
2025-04-03 16:03:11,301 - INFO - Waiting for VM ctest-TestRoutersBasic-43074523-34681735 to be up..
2025-04-03 16:03:11,400 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:03:11,400 - INFO - VM name : ctest-TestRoutersBasic-43074523-34681735
2025-04-03 16:03:11,489 - DEBUG - VM ctest-TestRoutersBasic-43074523-34681735 ID is 121bcab1-0e06-4184-9766-d1358e9c7edf
2025-04-03 16:03:11,489 - DEBUG - VM ctest-TestRoutersBasic-43074523-34681735 launched on Node cn-jenkins-deploy-platform-ansible-os-3027-1
2025-04-03 16:03:11,571 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/121bcab1-0e06-4184-9766-d1358e9c7edf
2025-04-03 16:03:11,582 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a117ba40-37a0-410c-b8c1-38124c2e132c
2025-04-03 16:03:12,832 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.737 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.737/2.118/3.499/1.381 ms')
2025-04-03 16:03:12,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43074523-34681735 passed
2025-04-03 16:03:12,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:03:12,995 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43074523-34681735, IP 94.97.162.3, Port 22
2025-04-03 16:03:13,151 - DEBUG - VM ctest-TestRoutersBasic-43074523-34681735 is ready for SSH connections
2025-04-03 16:03:13,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:03:13,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.97.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-04-03 16:03:13,151 - DEBUG - ping -s 56 -c 3 -W 1 94.97.162.3
2025-04-03 16:03:17,356 - DEBUG - PING 94.97.162.3 (94.97.162.3): 56 data bytes
64 bytes from 94.97.162.3: seq=0 ttl=62 time=6.662 ms
64 bytes from 94.97.162.3: seq=1 ttl=62 time=0.919 ms
64 bytes from 94.97.162.3: seq=2 ttl=62 time=0.960 ms
--- 94.97.162.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.919/2.847/6.662 ms
2025-04-03 16:03:17,357 - INFO - Ping to IP 94.97.162.3 from VM ctest-TestRoutersBasic-43074523-91153620 passed
2025-04-03 16:03:17,357 - INFO - Deleting interface with subnet_id abf864a6-7228-4629-9d83-35bbe47219b5, port_id None from router 82a1b64a-2674-4247-8795-45370867ea43
2025-04-03 16:03:17,588 - INFO - Deleting VM ctest-TestRoutersBasic-43074523-34681735
2025-04-03 16:03:17,691 - INFO - Deleting VM ctest-TestRoutersBasic-43074523-91153620
2025-04-03 16:03:17,793 - INFO - Deleting VN ctest-ext_vn-98597944
2025-04-03 16:03:17,883 - DEBUG - VN 97931ebf-502c-46b3-b045-c4c7baf258e2 still in use: Unable to complete operation on network 97931ebf-502c-46b3-b045-c4c7baf258e2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-34921a96-3280-40ad-a17e-778db8389111']
2025-04-03 16:03:17,883 - WARNING - Deleting VN ctest-ext_vn-98597944 failed..Will retry
2025-04-03 16:03:20,001 - DEBUG - Response for deleting network ()
2025-04-03 16:03:20,001 - INFO - Deleting VN ctest-vn-18597257
2025-04-03 16:03:20,153 - DEBUG - Response for deleting network ()
2025-04-03 16:03:20,418 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 16:03:20,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-03 16:03:20,418 - INFO - --------------------------------------------------------------------------------
2025-04-03 16:03:21,188 - INFO - Deleted project: ctest-TestRoutersBasic-43074523, ID : 1cfbd115-5862-4e28-86a9-06dc6b4fb43f