2025-05-08 13:00:32,110 - INFO - Domain Default found not creating
2025-05-08 13:00:32,450 - INFO - Project ctest-TestRoutersBasic-74929898 not found, creating it
2025-05-08 13:00:33,212 - INFO - Created Project:ctest-TestRoutersBasic-74929898, ID : d6e21ef0-4c55-4c5d-bb3f-0245d143f17e
2025-05-08 13:00:35,274 - INFO - ================================================================================
2025-05-08 13:00:35,274 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-08 13:00:35,275 - 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-08 13:00:35,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-08 13:00:35,599 - INFO - Initial checks done. Running the testcase now
2025-05-08 13:00:35,599 - INFO -
2025-05-08 13:00:36,502 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74929898
2025-05-08 13:00:36,627 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74929898
2025-05-08 13:00:37,070 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74929898', 'default']}
2025-05-08 13:00:37,585 - DEBUG - Response for create_network : {'network': {'id': 'e41cbe99-c87b-4247-882b-10744c151262', 'name': 'ctest-vn-06179188', 'tenant_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'project_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74929898', 'ctest-vn-06179188'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 13:00:37,842 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9e3b64a-056d-4858-a82f-2dfb7c470fdd', 'name': '', 'tenant_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'network_id': 'e41cbe99-c87b-4247-882b-10744c151262', 'ip_version': 4, 'cidr': '137.151.74.192/26', 'allocation_pools': [{'start': '137.151.74.194', 'end': '137.151.74.254'}], 'gateway_ip': '137.151.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.151.74.194', 'tags': [], 'project_id': 'd6e21ef04c554c5dbb3f0245d143f17e'}}
2025-05-08 13:00:37,864 - INFO - Created VN ctest-vn-06179188
2025-05-08 13:00:37,927 - DEBUG - VN ctest-vn-06179188 UUID is e41cbe99-c87b-4247-882b-10744c151262
2025-05-08 13:00:38,405 - DEBUG - Response for create_network : {'network': {'id': '572f68eb-065e-4c9f-9d79-ca36f392f7f6', 'name': 'ctest-ext_vn-02774958', 'tenant_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'project_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74929898', 'ctest-ext_vn-02774958'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 13:00:38,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bc8a168-549a-4114-b4f7-a1ca2c9f3a43', 'name': '', 'tenant_id': 'd6e21ef04c554c5dbb3f0245d143f17e', 'network_id': '572f68eb-065e-4c9f-9d79-ca36f392f7f6', 'ip_version': 4, 'cidr': '41.86.34.64/26', 'allocation_pools': [{'start': '41.86.34.66', 'end': '41.86.34.126'}], 'gateway_ip': '41.86.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.86.34.66', 'tags': [], 'project_id': 'd6e21ef04c554c5dbb3f0245d143f17e'}}
2025-05-08 13:00:38,605 - INFO - Created VN ctest-ext_vn-02774958
2025-05-08 13:00:38,666 - DEBUG - VN ctest-ext_vn-02774958 UUID is 572f68eb-065e-4c9f-9d79-ca36f392f7f6
2025-05-08 13:00:39,003 - DEBUG - Services list from nova: [, , ]
2025-05-08 13:00:40,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3289-1)
2025-05-08 13:00:42,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3289-1)
2025-05-08 13:00:42,111 - INFO - Setting gateway for router bbbfed5b-a755-4178-9292-8f2d2919fb2c to network 572f68eb-065e-4c9f-9d79-ca36f392f7f6
2025-05-08 13:00:42,179 - INFO - Adding interface with subnet_id e9e3b64a-056d-4858-a82f-2dfb7c470fdd, port_id None to router bbbfed5b-a755-4178-9292-8f2d2919fb2c
2025-05-08 13:00:42,565 - INFO - Waiting for VM ctest-TestRoutersBasic-74929898-58854441 to be up..
2025-05-08 13:00:42,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-08 13:00:47,851 - DEBUG - VM is in ACTIVE state now
2025-05-08 13:00:47,851 - INFO - VM name : ctest-TestRoutersBasic-74929898-58854441
2025-05-08 13:00:47,975 - DEBUG - VM ctest-TestRoutersBasic-74929898-58854441 ID is dcaf6e09-2548-4ba3-9ae1-500c3c124a0a
2025-05-08 13:00:48,002 - DEBUG - VM ctest-TestRoutersBasic-74929898-58854441 launched on Node cn-jenkins-deploy-platform-ansible-os-3289-1
2025-05-08 13:00:48,105 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dcaf6e09-2548-4ba3-9ae1-500c3c124a0a
2025-05-08 13:00:48,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dcaf6e09-2548-4ba3-9ae1-500c3c124a0a
2025-05-08 13:00:48,561 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/952a3d18-2e5d-46b5-b305-c5ea9f7cf389
2025-05-08 13:00:51,873 - 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 1026ms')
2025-05-08 13:00:51,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74929898-58854441 failed!
2025-05-08 13:00:51,950 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74929898:ctest-vn-06179188 is 137.151.74.193 and allocation pool is NOT set
2025-05-08 13:00:54,032 - 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=6.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.541/4.310/6.079/1.769 ms')
2025-05-08 13:00:54,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74929898-58854441 passed
2025-05-08 13:00:54,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 13:00:54,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74929898-58854441, IP 137.151.74.195, Port 22
2025-05-08 13:00:54,416 - DEBUG - VM ctest-TestRoutersBasic-74929898-58854441 is ready for SSH connections
2025-05-08 13:00:54,417 - INFO - Waiting for VM ctest-TestRoutersBasic-74929898-22583947 to be up..
2025-05-08 13:00:54,555 - DEBUG - VM is in ACTIVE state now
2025-05-08 13:00:54,555 - INFO - VM name : ctest-TestRoutersBasic-74929898-22583947
2025-05-08 13:00:54,681 - DEBUG - VM ctest-TestRoutersBasic-74929898-22583947 ID is 8b3b4e5d-26a6-4c8e-bc09-52233062ebfb
2025-05-08 13:00:54,681 - DEBUG - VM ctest-TestRoutersBasic-74929898-22583947 launched on Node cn-jenkins-deploy-platform-ansible-os-3289-1
2025-05-08 13:00:54,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8b3b4e5d-26a6-4c8e-bc09-52233062ebfb
2025-05-08 13:00:54,808 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f8d4cc5-a4e9-46d5-9074-402401c43a4b
2025-05-08 13:00:56,133 - 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=9.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.91 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 = 1.910/5.584/9.258/3.674 ms')
2025-05-08 13:00:56,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74929898-22583947 passed
2025-05-08 13:00:56,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 13:00:56,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74929898-22583947, IP 41.86.34.67, Port 22
2025-05-08 13:00:56,404 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-05-08 13:00:56,556 - DEBUG - VM ctest-TestRoutersBasic-74929898-22583947 is NOT ready for SSH connections, VM status: ACTIVE
2025-05-08 13:01:01,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 13:01:01,557 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74929898-22583947, IP 41.86.34.67, Port 22
2025-05-08 13:01:01,759 - DEBUG - VM ctest-TestRoutersBasic-74929898-22583947 is ready for SSH connections
2025-05-08 13:01:01,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 13:01:01,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.86.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-08 13:01:01,760 - DEBUG - ping -s 56 -c 3 -W 1 41.86.34.67
2025-05-08 13:01:05,778 - DEBUG - PING 41.86.34.67 (41.86.34.67): 56 data bytes
64 bytes from 41.86.34.67: seq=0 ttl=62 time=11.723 ms
64 bytes from 41.86.34.67: seq=1 ttl=62 time=2.711 ms
64 bytes from 41.86.34.67: seq=2 ttl=62 time=3.353 ms
--- 41.86.34.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.711/5.929/11.723 ms
2025-05-08 13:01:05,778 - INFO - Ping to IP 41.86.34.67 from VM ctest-TestRoutersBasic-74929898-58854441 passed
2025-05-08 13:01:05,779 - INFO - Deleting interface with subnet_id e9e3b64a-056d-4858-a82f-2dfb7c470fdd, port_id None from router bbbfed5b-a755-4178-9292-8f2d2919fb2c
2025-05-08 13:01:06,155 - INFO - Deleting VM ctest-TestRoutersBasic-74929898-22583947
2025-05-08 13:01:06,243 - INFO - Deleting VM ctest-TestRoutersBasic-74929898-58854441
2025-05-08 13:01:06,351 - INFO - Deleting VN ctest-ext_vn-02774958
2025-05-08 13:01:06,446 - DEBUG - VN 572f68eb-065e-4c9f-9d79-ca36f392f7f6 still in use: Unable to complete operation on network 572f68eb-065e-4c9f-9d79-ca36f392f7f6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-06b3e67a-4646-453d-8a97-e68706520c43']
2025-05-08 13:01:06,447 - WARNING - Deleting VN ctest-ext_vn-02774958 failed..Will retry
2025-05-08 13:01:08,716 - DEBUG - Response for deleting network ()
2025-05-08 13:01:08,716 - INFO - Deleting VN ctest-vn-06179188
2025-05-08 13:01:08,874 - DEBUG - Response for deleting network ()
2025-05-08 13:01:09,192 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 13:01:09,192 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-05-08 13:01:09,193 - INFO - --------------------------------------------------------------------------------
2025-05-08 13:01:10,047 - INFO - Deleted project: ctest-TestRoutersBasic-74929898, ID : d6e21ef0-4c55-4c5d-bb3f-0245d143f17e