2025-04-24 11:38:36,628 - INFO - Domain Default found not creating
2025-04-24 11:38:36,746 - INFO - Project ctest-TestRoutersBasic-73981568 not found, creating it
2025-04-24 11:38:37,174 - INFO - Created Project:ctest-TestRoutersBasic-73981568, ID : 1ef0bffa-e33d-496a-b11a-dd23a2c4fdb7
2025-04-24 11:38:38,483 - INFO - ================================================================================
2025-04-24 11:38:38,483 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-24 11:38:38,483 - 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-24 11:38:38,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-04-24 11:38:38,736 - INFO - Initial checks done. Running the testcase now
2025-04-24 11:38:38,736 - INFO -
2025-04-24 11:38:39,411 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73981568
2025-04-24 11:38:39,506 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73981568
2025-04-24 11:38:39,838 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73981568', 'default']}
2025-04-24 11:38:40,139 - DEBUG - Response for create_network : {'network': {'id': '5dbfa032-f533-4f20-853a-b059400223b7', 'name': 'ctest-vn-39278751', 'tenant_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'project_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73981568', 'ctest-vn-39278751'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 11:38:40,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '8424c22f-5fc0-4f3c-bee6-bb31ad44735d', 'name': '', 'tenant_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'network_id': '5dbfa032-f533-4f20-853a-b059400223b7', 'ip_version': 4, 'cidr': '223.45.13.64/26', 'allocation_pools': [{'start': '223.45.13.66', 'end': '223.45.13.126'}], 'gateway_ip': '223.45.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.45.13.66', 'tags': [], 'project_id': '1ef0bffae33d496ab11add23a2c4fdb7'}}
2025-04-24 11:38:40,295 - INFO - Created VN ctest-vn-39278751
2025-04-24 11:38:40,346 - DEBUG - VN ctest-vn-39278751 UUID is 5dbfa032-f533-4f20-853a-b059400223b7
2025-04-24 11:38:40,676 - DEBUG - Response for create_network : {'network': {'id': '1e2bba28-f8aa-408f-a429-1f3c7a20a9e3', 'name': 'ctest-ext_vn-96776298', 'tenant_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'project_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73981568', 'ctest-ext_vn-96776298'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 11:38:40,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '7789914b-6225-4412-ab2d-6da18d554da3', 'name': '', 'tenant_id': '1ef0bffae33d496ab11add23a2c4fdb7', 'network_id': '1e2bba28-f8aa-408f-a429-1f3c7a20a9e3', 'ip_version': 4, 'cidr': '6.162.158.64/26', 'allocation_pools': [{'start': '6.162.158.66', 'end': '6.162.158.126'}], 'gateway_ip': '6.162.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.162.158.66', 'tags': [], 'project_id': '1ef0bffae33d496ab11add23a2c4fdb7'}}
2025-04-24 11:38:40,839 - INFO - Created VN ctest-ext_vn-96776298
2025-04-24 11:38:40,890 - DEBUG - VN ctest-ext_vn-96776298 UUID is 1e2bba28-f8aa-408f-a429-1f3c7a20a9e3
2025-04-24 11:38:41,079 - DEBUG - Services list from nova: [, , ]
2025-04-24 11:38:42,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3203-1)
2025-04-24 11:38:43,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3203-1)
2025-04-24 11:38:43,250 - INFO - Setting gateway for router 98aabd3f-ec92-4873-86e2-888251f4bc44 to network 1e2bba28-f8aa-408f-a429-1f3c7a20a9e3
2025-04-24 11:38:43,304 - INFO - Adding interface with subnet_id 8424c22f-5fc0-4f3c-bee6-bb31ad44735d, port_id None to router 98aabd3f-ec92-4873-86e2-888251f4bc44
2025-04-24 11:38:43,572 - INFO - Waiting for VM ctest-TestRoutersBasic-73981568-96940577 to be up..
2025-04-24 11:38:43,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 11:38:48,832 - DEBUG - VM is in ACTIVE state now
2025-04-24 11:38:48,832 - INFO - VM name : ctest-TestRoutersBasic-73981568-96940577
2025-04-24 11:38:48,902 - DEBUG - VM ctest-TestRoutersBasic-73981568-96940577 ID is 9786a58e-1d3a-472d-9dde-6cdb8a58fb91
2025-04-24 11:38:48,919 - DEBUG - VM ctest-TestRoutersBasic-73981568-96940577 launched on Node cn-jenkins-deploy-platform-ansible-os-3203-1
2025-04-24 11:38:48,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9786a58e-1d3a-472d-9dde-6cdb8a58fb91
2025-04-24 11:38:49,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9786a58e-1d3a-472d-9dde-6cdb8a58fb91
2025-04-24 11:38:49,294 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/145fb460-8478-47ed-a129-687c454e3d74
2025-04-24 11:38:52,559 - 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-04-24 11:38:52,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73981568-96940577 failed!
2025-04-24 11:38:52,614 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73981568:ctest-vn-39278751 is 223.45.13.65 and allocation pool is NOT set
2025-04-24 11:38:54,683 - 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=0.880 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.316 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 0.316/0.598/0.880/0.282 ms')
2025-04-24 11:38:54,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73981568-96940577 passed
2025-04-24 11:38:54,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 11:38:54,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73981568-96940577, IP 223.45.13.67, Port 22
2025-04-24 11:38:54,990 - DEBUG - VM ctest-TestRoutersBasic-73981568-96940577 is ready for SSH connections
2025-04-24 11:38:54,990 - INFO - Waiting for VM ctest-TestRoutersBasic-73981568-98767219 to be up..
2025-04-24 11:38:55,056 - DEBUG - VM is in ACTIVE state now
2025-04-24 11:38:55,056 - INFO - VM name : ctest-TestRoutersBasic-73981568-98767219
2025-04-24 11:38:55,119 - DEBUG - VM ctest-TestRoutersBasic-73981568-98767219 ID is 6452db0d-43f8-4882-bd29-243b192bf2b8
2025-04-24 11:38:55,119 - DEBUG - VM ctest-TestRoutersBasic-73981568-98767219 launched on Node cn-jenkins-deploy-platform-ansible-os-3203-1
2025-04-24 11:38:55,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6452db0d-43f8-4882-bd29-243b192bf2b8
2025-04-24 11:38:55,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/270bb16f-2603-49f2-82cc-87adca905eae
2025-04-24 11:38:56,419 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.608/2.827/1.218 ms')
2025-04-24 11:38:56,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73981568-98767219 passed
2025-04-24 11:38:56,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 11:38:56,571 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73981568-98767219, IP 6.162.158.67, Port 22
2025-04-24 11:38:56,721 - DEBUG - VM ctest-TestRoutersBasic-73981568-98767219 is ready for SSH connections
2025-04-24 11:38:56,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 11:38:56,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.162.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 11:38:56,722 - DEBUG - ping -s 56 -c 3 -W 1 6.162.158.67
2025-04-24 11:39:00,394 - DEBUG - PING 6.162.158.67 (6.162.158.67): 56 data bytes
64 bytes from 6.162.158.67: seq=0 ttl=62 time=6.380 ms
64 bytes from 6.162.158.67: seq=1 ttl=62 time=0.689 ms
64 bytes from 6.162.158.67: seq=2 ttl=62 time=0.703 ms
--- 6.162.158.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.689/2.590/6.380 ms
2025-04-24 11:39:00,394 - INFO - Ping to IP 6.162.158.67 from VM ctest-TestRoutersBasic-73981568-96940577 passed
2025-04-24 11:39:00,394 - INFO - Deleting interface with subnet_id 8424c22f-5fc0-4f3c-bee6-bb31ad44735d, port_id None from router 98aabd3f-ec92-4873-86e2-888251f4bc44
2025-04-24 11:39:00,559 - INFO - Deleting VM ctest-TestRoutersBasic-73981568-98767219
2025-04-24 11:39:00,614 - INFO - Deleting VM ctest-TestRoutersBasic-73981568-96940577
2025-04-24 11:39:00,672 - INFO - Deleting VN ctest-ext_vn-96776298
2025-04-24 11:39:00,736 - DEBUG - VN 1e2bba28-f8aa-408f-a429-1f3c7a20a9e3 still in use: Unable to complete operation on network 1e2bba28-f8aa-408f-a429-1f3c7a20a9e3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-39957b6c-9651-42a8-bf3c-d4830448c339']
2025-04-24 11:39:00,737 - WARNING - Deleting VN ctest-ext_vn-96776298 failed..Will retry
2025-04-24 11:39:02,822 - DEBUG - Response for deleting network ()
2025-04-24 11:39:02,822 - INFO - Deleting VN ctest-vn-39278751
2025-04-24 11:39:02,912 - DEBUG - Response for deleting network ()
2025-04-24 11:39:03,163 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 11:39:03,163 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-24 11:39:03,163 - INFO - --------------------------------------------------------------------------------
2025-04-24 11:39:03,788 - INFO - Deleted project: ctest-TestRoutersBasic-73981568, ID : 1ef0bffa-e33d-496a-b11a-dd23a2c4fdb7