2025-04-18 11:23:26,070 - INFO - Reading existing Domain with UUID 9e0d5218-6863-4f3b-af0c-1ff786d855f1
2025-04-18 11:23:26,083 - INFO - Using existing domain ['admin_domain'](9e0d5218-6863-4f3b-af0c-1ff786d855f1)
2025-04-18 11:23:26,324 - INFO - Project ctest-TestRoutersBasic-90805398 not found, creating it
2025-04-18 11:23:26,867 - INFO - Created Project:ctest-TestRoutersBasic-90805398, ID : e66a5d55-c028-4910-ae30-42c2dff85710
2025-04-18 11:23:28,830 - INFO - ================================================================================
2025-04-18 11:23:28,830 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-18 11:23:28,830 - 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-18 11:23:29,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with
2025-04-18 11:23:29,221 - INFO - Initial checks done. Running the testcase now
2025-04-18 11:23:29,221 - INFO -
2025-04-18 11:23:30,115 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90805398
2025-04-18 11:23:30,216 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90805398
2025-04-18 11:23:30,567 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90805398', 'default']}
2025-04-18 11:23:31,113 - DEBUG - Response for create_network : {'network': {'id': '1b5dd303-86bb-45d2-9e55-a80c54a01707', 'name': 'ctest-vn-77361689', 'tenant_id': 'e66a5d55c0284910ae3042c2dff85710', 'project_id': 'e66a5d55c0284910ae3042c2dff85710', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90805398', 'ctest-vn-77361689'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-18 11:23:31,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2041732-5c8d-47cc-81cd-f41713aedd64', 'name': '', 'tenant_id': 'e66a5d55c0284910ae3042c2dff85710', 'network_id': '1b5dd303-86bb-45d2-9e55-a80c54a01707', 'ip_version': 4, 'cidr': '65.24.223.64/26', 'allocation_pools': [{'start': '65.24.223.66', 'end': '65.24.223.126'}], 'gateway_ip': '65.24.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-18T11:23:31.250855', 'updated_at': '2025-04-18T11:23:31.250855', 'dns_server_address': '65.24.223.66', 'tags': [], 'project_id': 'e66a5d55c0284910ae3042c2dff85710'}}
2025-04-18 11:23:31,426 - INFO - Created VN ctest-vn-77361689
2025-04-18 11:23:31,488 - DEBUG - VN ctest-vn-77361689 UUID is 1b5dd303-86bb-45d2-9e55-a80c54a01707
2025-04-18 11:23:32,061 - DEBUG - Response for create_network : {'network': {'id': '620894de-175c-460f-b5c9-f0dd5823ccfd', 'name': 'ctest-ext_vn-89537314', 'tenant_id': 'e66a5d55c0284910ae3042c2dff85710', 'project_id': 'e66a5d55c0284910ae3042c2dff85710', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90805398', 'ctest-ext_vn-89537314'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-18 11:23:32,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '57a352cc-79a7-4444-90ed-beedecc6bc06', 'name': '', 'tenant_id': 'e66a5d55c0284910ae3042c2dff85710', 'network_id': '620894de-175c-460f-b5c9-f0dd5823ccfd', 'ip_version': 4, 'cidr': '9.105.237.64/26', 'allocation_pools': [{'start': '9.105.237.66', 'end': '9.105.237.126'}], 'gateway_ip': '9.105.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-18T11:23:32.198838', 'updated_at': '2025-04-18T11:23:32.198838', 'dns_server_address': '9.105.237.66', 'tags': [], 'project_id': 'e66a5d55c0284910ae3042c2dff85710'}}
2025-04-18 11:23:32,382 - INFO - Created VN ctest-ext_vn-89537314
2025-04-18 11:23:32,439 - DEBUG - VN ctest-ext_vn-89537314 UUID is 620894de-175c-460f-b5c9-f0dd5823ccfd
2025-04-18 11:23:32,742 - DEBUG - Services list from nova: [, , ]
2025-04-18 11:23:33,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-527-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-527-1)
2025-04-18 11:23:35,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-527-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-527-1)
2025-04-18 11:23:35,569 - INFO - Setting gateway for router fbc4dbd4-b06f-4d39-8b29-fa0a54a9dcfc to network 620894de-175c-460f-b5c9-f0dd5823ccfd
2025-04-18 11:23:35,737 - INFO - Adding interface with subnet_id d2041732-5c8d-47cc-81cd-f41713aedd64, port_id None to router fbc4dbd4-b06f-4d39-8b29-fa0a54a9dcfc
2025-04-18 11:23:36,518 - INFO - Waiting for VM ctest-TestRoutersBasic-90805398-61521111 to be up..
2025-04-18 11:23:36,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-18 11:23:41,852 - DEBUG - VM is in ACTIVE state now
2025-04-18 11:23:41,852 - INFO - VM name : ctest-TestRoutersBasic-90805398-61521111
2025-04-18 11:23:42,009 - DEBUG - VM ctest-TestRoutersBasic-90805398-61521111 ID is 688185a5-ea59-4544-b71c-6079c8163fc8
2025-04-18 11:23:42,038 - DEBUG - VM ctest-TestRoutersBasic-90805398-61521111 launched on Node cn-jenkins-deploy-platform-juju-os-527-1
2025-04-18 11:23:42,205 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/688185a5-ea59-4544-b71c-6079c8163fc8
2025-04-18 11:23:42,595 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/688185a5-ea59-4544-b71c-6079c8163fc8
2025-04-18 11:23:42,693 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/d7f67bf7-5de2-47e5-b751-9eb9da127a7a
2025-04-18 11:23:46,180 - 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-04-18 11:23:46,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90805398-61521111 failed!
2025-04-18 11:23:46,272 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-90805398:ctest-vn-77361689 is 65.24.223.65 and allocation pool is NOT set
2025-04-18 11:23:48,372 - 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=4.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.42 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 = 3.424/4.171/4.918/0.747 ms')
2025-04-18 11:23:48,372 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90805398-61521111 passed
2025-04-18 11:23:48,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-18 11:23:48,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90805398-61521111, IP 65.24.223.67, Port 22
2025-04-18 11:23:48,631 - 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-04-18 11:23:48,817 - DEBUG - VM ctest-TestRoutersBasic-90805398-61521111 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-18 11:23:53,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-18 11:23:53,818 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90805398-61521111, IP 65.24.223.67, Port 22
2025-04-18 11:23:54,034 - DEBUG - VM ctest-TestRoutersBasic-90805398-61521111 is ready for SSH connections
2025-04-18 11:23:54,034 - INFO - Waiting for VM ctest-TestRoutersBasic-90805398-62534030 to be up..
2025-04-18 11:23:54,182 - DEBUG - VM is in ACTIVE state now
2025-04-18 11:23:54,182 - INFO - VM name : ctest-TestRoutersBasic-90805398-62534030
2025-04-18 11:23:54,334 - DEBUG - VM ctest-TestRoutersBasic-90805398-62534030 ID is 9686ca04-60ef-4570-b853-bc891d12066d
2025-04-18 11:23:54,335 - DEBUG - VM ctest-TestRoutersBasic-90805398-62534030 launched on Node cn-jenkins-deploy-platform-juju-os-527-1
2025-04-18 11:23:54,486 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/9686ca04-60ef-4570-b853-bc891d12066d
2025-04-18 11:23:54,545 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/08bcb574-7086-4cef-b1da-0ebb990a04c0
2025-04-18 11:23:55,998 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/1.917/3.245/1.328 ms')
2025-04-18 11:23:55,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90805398-62534030 passed
2025-04-18 11:23:56,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-18 11:23:56,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90805398-62534030, IP 9.105.237.67, Port 22
2025-04-18 11:23:56,378 - DEBUG - VM ctest-TestRoutersBasic-90805398-62534030 is ready for SSH connections
2025-04-18 11:23:56,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-18 11:23:56,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.105.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-04-18 11:23:56,379 - DEBUG - ping -s 56 -c 3 -W 1 9.105.237.67
2025-04-18 11:24:00,535 - DEBUG - PING 9.105.237.67 (9.105.237.67): 56 data bytes
64 bytes from 9.105.237.67: seq=0 ttl=62 time=6.274 ms
64 bytes from 9.105.237.67: seq=1 ttl=62 time=1.201 ms
64 bytes from 9.105.237.67: seq=2 ttl=62 time=1.151 ms
--- 9.105.237.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.151/2.875/6.274 ms
2025-04-18 11:24:00,536 - INFO - Ping to IP 9.105.237.67 from VM ctest-TestRoutersBasic-90805398-61521111 passed
2025-04-18 11:24:00,536 - INFO - Deleting interface with subnet_id d2041732-5c8d-47cc-81cd-f41713aedd64, port_id None from router fbc4dbd4-b06f-4d39-8b29-fa0a54a9dcfc
2025-04-18 11:24:01,000 - INFO - Deleting VM ctest-TestRoutersBasic-90805398-62534030
2025-04-18 11:24:01,125 - INFO - Deleting VM ctest-TestRoutersBasic-90805398-61521111
2025-04-18 11:24:01,265 - INFO - Deleting VN ctest-ext_vn-89537314
2025-04-18 11:24:01,545 - DEBUG - VN 620894de-175c-460f-b5c9-f0dd5823ccfd still in use: Unable to complete operation on network 620894de-175c-460f-b5c9-f0dd5823ccfd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fb253684-a932-46db-b135-f46804e23be4']
2025-04-18 11:24:01,545 - WARNING - Deleting VN ctest-ext_vn-89537314 failed..Will retry
2025-04-18 11:24:03,750 - DEBUG - Response for deleting network ()
2025-04-18 11:24:03,751 - INFO - Deleting VN ctest-vn-77361689
2025-04-18 11:24:03,953 - DEBUG - Response for deleting network ()
2025-04-18 11:24:04,353 - DEBUG - No XMPP flaps were noticed during the test
2025-04-18 11:24:04,353 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2025-04-18 11:24:04,353 - INFO - --------------------------------------------------------------------------------
2025-04-18 11:24:05,177 - INFO - Deleted project: ctest-TestRoutersBasic-90805398, ID : e66a5d55-c028-4910-ae30-42c2dff85710