2025-07-23 13:33:55,109 - INFO - Domain Default found not creating
2025-07-23 13:33:55,302 - INFO - Project ctest-TestRoutersBasic-34852473 not found, creating it
2025-07-23 13:33:55,826 - INFO - Created Project:ctest-TestRoutersBasic-34852473, ID : c2a14eed-f6a6-4b4e-8d03-bb08035975d2
2025-07-23 13:33:57,421 - INFO - ================================================================================
2025-07-23 13:33:57,421 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-23 13:33:57,421 - 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-23 13:33:57,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with
2025-07-23 13:33:57,698 - INFO - Initial checks done. Running the testcase now
2025-07-23 13:33:57,698 - INFO -
2025-07-23 13:33:58,462 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34852473
2025-07-23 13:33:58,562 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34852473
2025-07-23 13:33:58,906 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34852473', 'default']}
2025-07-23 13:33:59,247 - DEBUG - Response for create_network : {'network': {'id': 'f8ca3869-b4d3-48e6-9975-bffcfb742f23', 'name': 'ctest-vn-62352792', 'tenant_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'project_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34852473', 'ctest-vn-62352792'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:33:59,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '36136ce5-8bd0-4359-9466-d25b0338c4ef', 'name': '', 'tenant_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'network_id': 'f8ca3869-b4d3-48e6-9975-bffcfb742f23', 'ip_version': 4, 'cidr': '204.214.19.64/26', 'allocation_pools': [{'start': '204.214.19.66', 'end': '204.214.19.126'}], 'gateway_ip': '204.214.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.214.19.66', 'tags': [], 'project_id': 'c2a14eedf6a64b4e8d03bb08035975d2'}}
2025-07-23 13:33:59,522 - INFO - Created VN ctest-vn-62352792
2025-07-23 13:33:59,578 - DEBUG - VN ctest-vn-62352792 UUID is f8ca3869-b4d3-48e6-9975-bffcfb742f23
2025-07-23 13:33:59,987 - DEBUG - Response for create_network : {'network': {'id': 'f7ba8385-54aa-4347-a67a-2b9b6e62f9a4', 'name': 'ctest-ext_vn-94253489', 'tenant_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'project_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34852473', 'ctest-ext_vn-94253489'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:34:00,196 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfb3d837-9713-4dbd-9dc2-e79b1f87263e', 'name': '', 'tenant_id': 'c2a14eedf6a64b4e8d03bb08035975d2', 'network_id': 'f7ba8385-54aa-4347-a67a-2b9b6e62f9a4', 'ip_version': 4, 'cidr': '41.65.179.192/26', 'allocation_pools': [{'start': '41.65.179.194', 'end': '41.65.179.254'}], 'gateway_ip': '41.65.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.65.179.194', 'tags': [], 'project_id': 'c2a14eedf6a64b4e8d03bb08035975d2'}}
2025-07-23 13:34:00,222 - INFO - Created VN ctest-ext_vn-94253489
2025-07-23 13:34:00,282 - DEBUG - VN ctest-ext_vn-94253489 UUID is f7ba8385-54aa-4347-a67a-2b9b6e62f9a4
2025-07-23 13:34:00,504 - DEBUG - Services list from nova: [, , ]
2025-07-23 13:34:01,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1)
2025-07-23 13:34:03,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1)
2025-07-23 13:34:03,238 - INFO - Setting gateway for router 0eb0b36d-bb29-4b10-a8eb-5adcf0be946b to network f7ba8385-54aa-4347-a67a-2b9b6e62f9a4
2025-07-23 13:34:03,356 - INFO - Adding interface with subnet_id 36136ce5-8bd0-4359-9466-d25b0338c4ef, port_id None to router 0eb0b36d-bb29-4b10-a8eb-5adcf0be946b
2025-07-23 13:34:03,908 - INFO - Waiting for VM ctest-TestRoutersBasic-34852473-42245027 to be up..
2025-07-23 13:34:04,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 13:34:09,313 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:34:09,313 - INFO - VM name : ctest-TestRoutersBasic-34852473-42245027
2025-07-23 13:34:09,486 - DEBUG - VM ctest-TestRoutersBasic-34852473-42245027 ID is 9227d0f0-373f-499e-9348-437d82660c12
2025-07-23 13:34:09,508 - DEBUG - VM ctest-TestRoutersBasic-34852473-42245027 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1
2025-07-23 13:34:09,610 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9227d0f0-373f-499e-9348-437d82660c12
2025-07-23 13:34:09,926 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9227d0f0-373f-499e-9348-437d82660c12
2025-07-23 13:34:09,968 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/bb1c5c26-2ec6-457c-8c92-9c736a5532bb
2025-07-23 13:34:13,267 - 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 1031ms')
2025-07-23 13:34:13,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34852473-42245027 failed!
2025-07-23 13:34:13,330 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34852473:ctest-vn-62352792 is 204.214.19.65 and allocation pool is NOT set
2025-07-23 13:34:15,394 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.836 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.836/2.301/3.767/1.465 ms')
2025-07-23 13:34:15,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34852473-42245027 passed
2025-07-23 13:34:15,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:34:15,562 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34852473-42245027, IP 204.214.19.67, Port 22
2025-07-23 13:34:15,634 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 13:34:15,739 - DEBUG - VM ctest-TestRoutersBasic-34852473-42245027 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 13:34:20,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:34:20,739 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34852473-42245027, IP 204.214.19.67, Port 22
2025-07-23 13:34:20,898 - DEBUG - VM ctest-TestRoutersBasic-34852473-42245027 is ready for SSH connections
2025-07-23 13:34:20,898 - INFO - Waiting for VM ctest-TestRoutersBasic-34852473-18497218 to be up..
2025-07-23 13:34:20,997 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:34:20,997 - INFO - VM name : ctest-TestRoutersBasic-34852473-18497218
2025-07-23 13:34:21,111 - DEBUG - VM ctest-TestRoutersBasic-34852473-18497218 ID is d0c6e2b6-6d0d-4092-a20b-1a0890b0bf9a
2025-07-23 13:34:21,111 - DEBUG - VM ctest-TestRoutersBasic-34852473-18497218 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1
2025-07-23 13:34:21,203 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d0c6e2b6-6d0d-4092-a20b-1a0890b0bf9a
2025-07-23 13:34:21,215 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/98e439a5-6c7b-43cf-aec1-cc6184c87208
2025-07-23 13:34:22,481 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.588 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.588/2.254/3.920/1.666 ms')
2025-07-23 13:34:22,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34852473-18497218 passed
2025-07-23 13:34:22,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:34:22,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34852473-18497218, IP 41.65.179.195, Port 22
2025-07-23 13:34:22,812 - DEBUG - VM ctest-TestRoutersBasic-34852473-18497218 is ready for SSH connections
2025-07-23 13:34:22,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:34:22,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.65.179.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-07-23 13:34:22,812 - DEBUG - ping -s 56 -c 3 -W 1 41.65.179.195
2025-07-23 13:34:26,576 - DEBUG - PING 41.65.179.195 (41.65.179.195): 56 data bytes
64 bytes from 41.65.179.195: seq=0 ttl=62 time=7.969 ms
64 bytes from 41.65.179.195: seq=1 ttl=62 time=1.241 ms
64 bytes from 41.65.179.195: seq=2 ttl=62 time=1.301 ms
--- 41.65.179.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.241/3.503/7.969 ms
2025-07-23 13:34:26,576 - INFO - Ping to IP 41.65.179.195 from VM ctest-TestRoutersBasic-34852473-42245027 passed
2025-07-23 13:34:26,576 - INFO - Deleting interface with subnet_id 36136ce5-8bd0-4359-9466-d25b0338c4ef, port_id None from router 0eb0b36d-bb29-4b10-a8eb-5adcf0be946b
2025-07-23 13:34:26,832 - INFO - Deleting VM ctest-TestRoutersBasic-34852473-18497218
2025-07-23 13:34:26,927 - INFO - Deleting VM ctest-TestRoutersBasic-34852473-42245027
2025-07-23 13:34:27,030 - INFO - Deleting VN ctest-ext_vn-94253489
2025-07-23 13:34:27,128 - DEBUG - VN f7ba8385-54aa-4347-a67a-2b9b6e62f9a4 still in use: Unable to complete operation on network f7ba8385-54aa-4347-a67a-2b9b6e62f9a4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2bc7813f-3138-4a0f-a8c4-1ae6f56a0149']
2025-07-23 13:34:27,128 - WARNING - Deleting VN ctest-ext_vn-94253489 failed..Will retry
2025-07-23 13:34:29,262 - DEBUG - Response for deleting network ()
2025-07-23 13:34:29,262 - INFO - Deleting VN ctest-vn-62352792
2025-07-23 13:34:29,394 - DEBUG - Response for deleting network ()
2025-07-23 13:34:29,656 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:34:29,656 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-07-23 13:34:29,656 - INFO - --------------------------------------------------------------------------------
2025-07-23 13:34:30,382 - INFO - Deleted project: ctest-TestRoutersBasic-34852473, ID : c2a14eed-f6a6-4b4e-8d03-bb08035975d2