2025-05-05 02:06:10,084 - INFO - Domain Default found not creating
2025-05-05 02:06:10,200 - INFO - Project ctest-TestRoutersBasic-44421301 not found, creating it
2025-05-05 02:06:10,612 - INFO - Created Project:ctest-TestRoutersBasic-44421301, ID : ff85e956-efac-4526-b009-9fef1a832af5
2025-05-05 02:06:11,903 - INFO - ================================================================================
2025-05-05 02:06:11,903 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-05 02:06:11,903 - 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-05 02:06:12,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-05-05 02:06:12,154 - INFO - Initial checks done. Running the testcase now
2025-05-05 02:06:12,154 - INFO -
2025-05-05 02:06:12,829 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44421301
2025-05-05 02:06:12,927 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44421301
2025-05-05 02:06:13,244 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44421301', 'default']}
2025-05-05 02:06:13,510 - DEBUG - Response for create_network : {'network': {'id': '1dbe7ec2-e203-4e3f-9e6e-fdbc77dfc75b', 'name': 'ctest-vn-54385863', 'tenant_id': 'ff85e956efac4526b0099fef1a832af5', 'project_id': 'ff85e956efac4526b0099fef1a832af5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44421301', 'ctest-vn-54385863'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:06:13,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '4476fa94-e3f2-4c91-a7e9-44082cdcf4bb', 'name': '', 'tenant_id': 'ff85e956efac4526b0099fef1a832af5', 'network_id': '1dbe7ec2-e203-4e3f-9e6e-fdbc77dfc75b', 'ip_version': 4, 'cidr': '138.49.151.0/26', 'allocation_pools': [{'start': '138.49.151.2', 'end': '138.49.151.62'}], 'gateway_ip': '138.49.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.49.151.2', 'tags': [], 'project_id': 'ff85e956efac4526b0099fef1a832af5'}}
2025-05-05 02:06:13,679 - INFO - Created VN ctest-vn-54385863
2025-05-05 02:06:13,728 - DEBUG - VN ctest-vn-54385863 UUID is 1dbe7ec2-e203-4e3f-9e6e-fdbc77dfc75b
2025-05-05 02:06:14,070 - DEBUG - Response for create_network : {'network': {'id': '9651fb96-ea16-4be3-8610-4c957ee97de2', 'name': 'ctest-ext_vn-02372720', 'tenant_id': 'ff85e956efac4526b0099fef1a832af5', 'project_id': 'ff85e956efac4526b0099fef1a832af5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44421301', 'ctest-ext_vn-02372720'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:06:14,230 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8da34bf-d46d-487e-b962-bec8a57588a8', 'name': '', 'tenant_id': 'ff85e956efac4526b0099fef1a832af5', 'network_id': '9651fb96-ea16-4be3-8610-4c957ee97de2', 'ip_version': 4, 'cidr': '94.36.199.64/26', 'allocation_pools': [{'start': '94.36.199.66', 'end': '94.36.199.126'}], 'gateway_ip': '94.36.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.36.199.66', 'tags': [], 'project_id': 'ff85e956efac4526b0099fef1a832af5'}}
2025-05-05 02:06:14,247 - INFO - Created VN ctest-ext_vn-02372720
2025-05-05 02:06:14,300 - DEBUG - VN ctest-ext_vn-02372720 UUID is 9651fb96-ea16-4be3-8610-4c957ee97de2
2025-05-05 02:06:14,487 - DEBUG - Services list from nova: [, , ]
2025-05-05 02:06:15,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3266-1)
2025-05-05 02:06:16,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3266-1)
2025-05-05 02:06:16,590 - INFO - Setting gateway for router 704d6c7a-1ab5-42bf-a23a-411c579cbf44 to network 9651fb96-ea16-4be3-8610-4c957ee97de2
2025-05-05 02:06:16,658 - INFO - Adding interface with subnet_id 4476fa94-e3f2-4c91-a7e9-44082cdcf4bb, port_id None to router 704d6c7a-1ab5-42bf-a23a-411c579cbf44
2025-05-05 02:06:17,024 - INFO - Waiting for VM ctest-TestRoutersBasic-44421301-28805610 to be up..
2025-05-05 02:06:17,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-05 02:06:22,266 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:06:22,266 - INFO - VM name : ctest-TestRoutersBasic-44421301-28805610
2025-05-05 02:06:22,331 - DEBUG - VM ctest-TestRoutersBasic-44421301-28805610 ID is 0dd60b7a-8d3f-45ac-bc00-77c6aa218db7
2025-05-05 02:06:22,350 - DEBUG - VM ctest-TestRoutersBasic-44421301-28805610 launched on Node cn-jenkins-deploy-platform-ansible-os-3266-1
2025-05-05 02:06:22,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0dd60b7a-8d3f-45ac-bc00-77c6aa218db7
2025-05-05 02:06:22,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0dd60b7a-8d3f-45ac-bc00-77c6aa218db7
2025-05-05 02:06:22,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80443cd3-849f-4641-8dc4-6e146502e629
2025-05-05 02:06:25,976 - 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 1004ms')
2025-05-05 02:06:25,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44421301-28805610 failed!
2025-05-05 02:06:26,032 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44421301:ctest-vn-54385863 is 138.49.151.1 and allocation pool is NOT set
2025-05-05 02:06:28,089 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/6.656/12.926/6.270 ms')
2025-05-05 02:06:28,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44421301-28805610 passed
2025-05-05 02:06:28,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:06:28,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44421301-28805610, IP 138.49.151.3, Port 22
2025-05-05 02:06:28,392 - DEBUG - VM ctest-TestRoutersBasic-44421301-28805610 is ready for SSH connections
2025-05-05 02:06:28,392 - INFO - Waiting for VM ctest-TestRoutersBasic-44421301-92163582 to be up..
2025-05-05 02:06:28,462 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:06:28,462 - INFO - VM name : ctest-TestRoutersBasic-44421301-92163582
2025-05-05 02:06:28,528 - DEBUG - VM ctest-TestRoutersBasic-44421301-92163582 ID is 787a69e4-ef5e-4217-83c3-6c3de44087b1
2025-05-05 02:06:28,528 - DEBUG - VM ctest-TestRoutersBasic-44421301-92163582 launched on Node cn-jenkins-deploy-platform-ansible-os-3266-1
2025-05-05 02:06:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/787a69e4-ef5e-4217-83c3-6c3de44087b1
2025-05-05 02:06:28,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96527feb-7dff-4578-bb43-135823972ecd
2025-05-05 02:06:29,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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.269 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.269/1.602/2.936/1.333 ms')
2025-05-05 02:06:29,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44421301-92163582 passed
2025-05-05 02:06:29,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:06:29,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44421301-92163582, IP 94.36.199.67, Port 22
2025-05-05 02:06:30,139 - DEBUG - VM ctest-TestRoutersBasic-44421301-92163582 is ready for SSH connections
2025-05-05 02:06:30,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:06:30,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.36.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-05 02:06:30,140 - DEBUG - ping -s 56 -c 3 -W 1 94.36.199.67
2025-05-05 02:06:33,799 - DEBUG - PING 94.36.199.67 (94.36.199.67): 56 data bytes
64 bytes from 94.36.199.67: seq=0 ttl=62 time=4.970 ms
64 bytes from 94.36.199.67: seq=1 ttl=62 time=0.705 ms
64 bytes from 94.36.199.67: seq=2 ttl=62 time=0.970 ms
--- 94.36.199.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.705/2.215/4.970 ms
2025-05-05 02:06:33,799 - INFO - Ping to IP 94.36.199.67 from VM ctest-TestRoutersBasic-44421301-28805610 passed
2025-05-05 02:06:33,799 - INFO - Deleting interface with subnet_id 4476fa94-e3f2-4c91-a7e9-44082cdcf4bb, port_id None from router 704d6c7a-1ab5-42bf-a23a-411c579cbf44
2025-05-05 02:06:33,965 - INFO - Deleting VM ctest-TestRoutersBasic-44421301-92163582
2025-05-05 02:06:34,019 - INFO - Deleting VM ctest-TestRoutersBasic-44421301-28805610
2025-05-05 02:06:34,095 - INFO - Deleting VN ctest-ext_vn-02372720
2025-05-05 02:06:34,148 - DEBUG - VN 9651fb96-ea16-4be3-8610-4c957ee97de2 still in use: Unable to complete operation on network 9651fb96-ea16-4be3-8610-4c957ee97de2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e40a7ff5-d28e-4256-a520-6f6d893590b4']
2025-05-05 02:06:34,148 - WARNING - Deleting VN ctest-ext_vn-02372720 failed..Will retry
2025-05-05 02:06:36,237 - DEBUG - Response for deleting network ()
2025-05-05 02:06:36,237 - INFO - Deleting VN ctest-vn-54385863
2025-05-05 02:06:36,319 - DEBUG - Response for deleting network ()
2025-05-05 02:06:36,578 - DEBUG - No XMPP flaps were noticed during the test
2025-05-05 02:06:36,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-05 02:06:36,578 - INFO - --------------------------------------------------------------------------------
2025-05-05 02:06:37,218 - INFO - Deleted project: ctest-TestRoutersBasic-44421301, ID : ff85e956-efac-4526-b009-9fef1a832af5