2025-07-15 19:13:06,453 - INFO - Domain Default found not creating
2025-07-15 19:13:06,619 - INFO - Project ctest-TestRoutersBasic-68376342 not found, creating it
2025-07-15 19:13:07,092 - INFO - Created Project:ctest-TestRoutersBasic-68376342, ID : b4482ecd-2594-4611-bdd2-538b8d77845f
2025-07-15 19:13:08,565 - INFO - ================================================================================
2025-07-15 19:13:08,565 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-15 19:13:08,565 - 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-07-15 19:13:08,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-15 19:13:08,828 - INFO - Initial checks done. Running the testcase now
2025-07-15 19:13:08,828 - INFO -
2025-07-15 19:13:09,565 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68376342
2025-07-15 19:13:09,674 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68376342
2025-07-15 19:13:10,009 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68376342', 'default']}
2025-07-15 19:13:10,363 - DEBUG - Response for create_network : {'network': {'id': 'e86b7137-2028-402e-bb35-edb9336a9d8f', 'name': 'ctest-vn-07620988', 'tenant_id': 'b4482ecd25944611bdd2538b8d77845f', 'project_id': 'b4482ecd25944611bdd2538b8d77845f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68376342', 'ctest-vn-07620988'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 19:13:10,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '85a9da10-32a7-493c-9078-00a3d7905b62', 'name': '', 'tenant_id': 'b4482ecd25944611bdd2538b8d77845f', 'network_id': 'e86b7137-2028-402e-bb35-edb9336a9d8f', 'ip_version': 4, 'cidr': '171.234.125.192/26', 'allocation_pools': [{'start': '171.234.125.194', 'end': '171.234.125.254'}], 'gateway_ip': '171.234.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.234.125.194', 'tags': [], 'project_id': 'b4482ecd25944611bdd2538b8d77845f'}}
2025-07-15 19:13:10,584 - INFO - Created VN ctest-vn-07620988
2025-07-15 19:13:10,637 - DEBUG - VN ctest-vn-07620988 UUID is e86b7137-2028-402e-bb35-edb9336a9d8f
2025-07-15 19:13:11,452 - DEBUG - Response for create_network : {'network': {'id': 'b8a7e7a0-1245-4b78-ba04-f9f3c33e0367', 'name': 'ctest-ext_vn-41443362', 'tenant_id': 'b4482ecd25944611bdd2538b8d77845f', 'project_id': 'b4482ecd25944611bdd2538b8d77845f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68376342', 'ctest-ext_vn-41443362'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 19:13:11,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '4af28649-e6f1-4a47-9f76-1dd7a29c769a', 'name': '', 'tenant_id': 'b4482ecd25944611bdd2538b8d77845f', 'network_id': 'b8a7e7a0-1245-4b78-ba04-f9f3c33e0367', 'ip_version': 4, 'cidr': '52.106.24.0/26', 'allocation_pools': [{'start': '52.106.24.2', 'end': '52.106.24.62'}], 'gateway_ip': '52.106.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.106.24.2', 'tags': [], 'project_id': 'b4482ecd25944611bdd2538b8d77845f'}}
2025-07-15 19:13:11,731 - INFO - Created VN ctest-ext_vn-41443362
2025-07-15 19:13:11,793 - DEBUG - VN ctest-ext_vn-41443362 UUID is b8a7e7a0-1245-4b78-ba04-f9f3c33e0367
2025-07-15 19:13:11,991 - DEBUG - Services list from nova: [, , ]
2025-07-15 19:13:13,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3642-1)
2025-07-15 19:13:14,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3642-1)
2025-07-15 19:13:14,421 - INFO - Setting gateway for router 3c2257fc-6fba-4860-866a-7330e61fedc3 to network b8a7e7a0-1245-4b78-ba04-f9f3c33e0367
2025-07-15 19:13:14,521 - INFO - Adding interface with subnet_id 85a9da10-32a7-493c-9078-00a3d7905b62, port_id None to router 3c2257fc-6fba-4860-866a-7330e61fedc3
2025-07-15 19:13:15,126 - INFO - Waiting for VM ctest-TestRoutersBasic-68376342-63565202 to be up..
2025-07-15 19:13:15,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-15 19:13:20,336 - DEBUG - VM is in ACTIVE state now
2025-07-15 19:13:20,336 - INFO - VM name : ctest-TestRoutersBasic-68376342-63565202
2025-07-15 19:13:20,418 - DEBUG - VM ctest-TestRoutersBasic-68376342-63565202 ID is e9b4a73e-2a6f-4afc-b6e6-c778f6699779
2025-07-15 19:13:20,439 - DEBUG - VM ctest-TestRoutersBasic-68376342-63565202 launched on Node cn-jenkins-deploy-platform-ansible-os-3642-1
2025-07-15 19:13:20,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9b4a73e-2a6f-4afc-b6e6-c778f6699779
2025-07-15 19:13:20,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9b4a73e-2a6f-4afc-b6e6-c778f6699779
2025-07-15 19:13:20,855 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/40b90b51-56aa-400c-8dad-082905b46156
2025-07-15 19:13:24,127 - 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 1019ms')
2025-07-15 19:13:24,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68376342-63565202 failed!
2025-07-15 19:13:24,185 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68376342:ctest-vn-07620988 is 171.234.125.193 and allocation pool is NOT set
2025-07-15 19:13:26,250 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.720/3.000/1.279 ms')
2025-07-15 19:13:26,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68376342-63565202 passed
2025-07-15 19:13:26,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 19:13:26,406 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68376342-63565202, IP 171.234.125.195, Port 22
2025-07-15 19:13:26,561 - DEBUG - VM ctest-TestRoutersBasic-68376342-63565202 is ready for SSH connections
2025-07-15 19:13:26,561 - INFO - Waiting for VM ctest-TestRoutersBasic-68376342-39047423 to be up..
2025-07-15 19:13:26,645 - DEBUG - VM is in ACTIVE state now
2025-07-15 19:13:26,645 - INFO - VM name : ctest-TestRoutersBasic-68376342-39047423
2025-07-15 19:13:26,727 - DEBUG - VM ctest-TestRoutersBasic-68376342-39047423 ID is 2785637c-cb9b-4257-aec6-0243572178b2
2025-07-15 19:13:26,727 - DEBUG - VM ctest-TestRoutersBasic-68376342-39047423 launched on Node cn-jenkins-deploy-platform-ansible-os-3642-1
2025-07-15 19:13:26,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2785637c-cb9b-4257-aec6-0243572178b2
2025-07-15 19:13:26,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6ac28339-f73a-4886-b8ee-f18a022f4d29
2025-07-15 19:13:28,086 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/1.568/2.647/1.078 ms')
2025-07-15 19:13:28,086 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68376342-39047423 passed
2025-07-15 19:13:28,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 19:13:28,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68376342-39047423, IP 52.106.24.3, Port 22
2025-07-15 19:13:28,397 - DEBUG - VM ctest-TestRoutersBasic-68376342-39047423 is ready for SSH connections
2025-07-15 19:13:28,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 19:13:28,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.106.24.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-15 19:13:28,397 - DEBUG - ping -s 56 -c 3 -W 1 52.106.24.3
2025-07-15 19:13:32,445 - DEBUG - PING 52.106.24.3 (52.106.24.3): 56 data bytes
64 bytes from 52.106.24.3: seq=0 ttl=62 time=4.748 ms
64 bytes from 52.106.24.3: seq=1 ttl=62 time=0.994 ms
64 bytes from 52.106.24.3: seq=2 ttl=62 time=1.487 ms
--- 52.106.24.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.994/2.409/4.748 ms
2025-07-15 19:13:32,445 - INFO - Ping to IP 52.106.24.3 from VM ctest-TestRoutersBasic-68376342-63565202 passed
2025-07-15 19:13:32,445 - INFO - Deleting interface with subnet_id 85a9da10-32a7-493c-9078-00a3d7905b62, port_id None from router 3c2257fc-6fba-4860-866a-7330e61fedc3
2025-07-15 19:13:32,740 - INFO - Deleting VM ctest-TestRoutersBasic-68376342-39047423
2025-07-15 19:13:32,842 - INFO - Deleting VM ctest-TestRoutersBasic-68376342-63565202
2025-07-15 19:13:32,974 - INFO - Deleting VN ctest-ext_vn-41443362
2025-07-15 19:13:33,056 - DEBUG - VN b8a7e7a0-1245-4b78-ba04-f9f3c33e0367 still in use: Unable to complete operation on network b8a7e7a0-1245-4b78-ba04-f9f3c33e0367. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-164ae44d-02b4-46c6-aa86-415bb797ebd9']
2025-07-15 19:13:33,056 - WARNING - Deleting VN ctest-ext_vn-41443362 failed..Will retry
2025-07-15 19:13:35,200 - DEBUG - Response for deleting network ()
2025-07-15 19:13:35,200 - INFO - Deleting VN ctest-vn-07620988
2025-07-15 19:13:35,327 - DEBUG - Response for deleting network ()
2025-07-15 19:13:35,588 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 19:13:35,589 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-15 19:13:35,589 - INFO - --------------------------------------------------------------------------------
2025-07-15 19:13:36,373 - INFO - Deleted project: ctest-TestRoutersBasic-68376342, ID : b4482ecd-2594-4611-bdd2-538b8d77845f